<!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> | |