| Index: LayoutTests/compositing/squashing/subpixel-rounding.html
|
| diff --git a/LayoutTests/compositing/squashing/subpixel-rounding.html b/LayoutTests/compositing/squashing/subpixel-rounding.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b595a52fff93cd071a4e5a2b50c719836c273346
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/squashing/subpixel-rounding.html
|
| @@ -0,0 +1,7 @@
|
| +<!doctype HTML>
|
| +
|
| +<!-- The second div squashes into the first, and had a fractional position greater than 0.5. This tests that pixel snapping for squashed layers
|
| + matches that of non-squashed layers -->
|
| +<div style="position: absolute; width: 200px; height: 200px; left: 0px; top: 0px; transform: translateZ(0); background-color: lightgreen"></div>
|
| +<div style="position: absolute; width: 1px; height: 1px; left: 0px; top:0.6px; background-color: lightgray"></div>
|
| +
|
|
|