| Index: LayoutTests/compositing/squashing/squash-above-fixed-subpixel-1-expected.html
|
| diff --git a/LayoutTests/compositing/squashing/squash-above-fixed-subpixel-1-expected.html b/LayoutTests/compositing/squashing/squash-above-fixed-subpixel-1-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..233685d6cac135608902f7f46eab48ac1e5b32ae
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/squashing/squash-above-fixed-subpixel-1-expected.html
|
| @@ -0,0 +1,91 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<style>
|
| +.composited {
|
| + -webkit-transform: translateZ(0);
|
| +}
|
| +
|
| +.background {
|
| + position: fixed;
|
| + background-color: lightgray;
|
| + width: 300px;
|
| + height: 300px;
|
| + top: 150px;
|
| + left: 100px;
|
| +}
|
| +
|
| +.cyan {
|
| + background-color: cyan;
|
| +}
|
| +
|
| +.lime {
|
| + background-color: lime;
|
| +}
|
| +
|
| +.overlapping {
|
| + position: relative;
|
| + z-index: 1;
|
| + width: 200px;
|
| + height: 100.5px;
|
| +}
|
| +
|
| +.nonsubpixel {
|
| + position: relative;
|
| + z-index: 1;
|
| + width: 200px;
|
| + height: 100px;
|
| +}
|
| +
|
| +#description {
|
| + position: absolute;
|
| + top: 100px;
|
| + left: 450px;
|
| + width: 300px;
|
| +}
|
| +
|
| +#testResults {
|
| + display: none;
|
| +}
|
| +
|
| +body {
|
| + margin: 0px;
|
| +}
|
| +</style>
|
| +
|
| +<script>
|
| + if (window.internals) {
|
| + internals.settings.setLayerSquashingEnabled(false);
|
| + }
|
| +
|
| +</script>
|
| +</head>
|
| +
|
| +<body>
|
| +
|
| + <div id="description">
|
| + <p>This scenario tests that content is rendered correctly when the
|
| + squashing composited layer is itself at an integral position but contains
|
| + a render layer whose position is non-integral.</p>
|
| + </div>
|
| +
|
| + <div class="composited background"> </div>
|
| +
|
| + <div id="paragraph-a" class="nonsubpixel cyan"></div>
|
| + <div id="paragraph-b" class="overlapping lime"></div>
|
| + <div id="paragraph-c" class="overlapping cyan"></div>
|
| + <div id="paragraph-d" class="overlapping lime"></div>
|
| + <div id="paragraph-e" class="overlapping cyan"></div>
|
| + <div id="paragraph-f" class="overlapping lime"></div>
|
| + <div id="paragraph-g" class="overlapping cyan"></div>
|
| + <div id="paragraph-h" class="overlapping lime"></div>
|
| + <div id="paragraph-i" class="overlapping cyan"></div>
|
| + <div id="paragraph-j" class="overlapping lime"></div>
|
| + <div id="paragraph-k" class="overlapping cyan"></div>
|
| + <div id="paragraph-l" class="overlapping lime"></div>
|
| + <div id="paragraph-m" class="overlapping cyan"></div>
|
| + <div id="paragraph-n" class="overlapping lime"></div>
|
| +
|
| +</body>
|
| +
|
| +</html>
|
|
|