OLD | NEW |
---|---|
(Empty) | |
1 <!doctype HTML> | |
2 | |
3 <!-- The second div squashes into the first, and had a fractional position great er than 0.5. This tests that pixel snapping for squashed layers | |
4 matches that of non-squashed layers --> | |
5 <div style="position: absolute; width: 200px; height: 200px; left: 0px; top: 0px ; transform: translateZ(0); background-color: lightgreen"></div> | |
6 <div style="position: absolute; width: 1px; height: 1px; left: 0px; top:0.6px; b ackground-color: lightgray"></div> | |
7 | |
OLD | NEW |