| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <script> | 2 <script> |
| 3 // Checks that when painting squashed layers, contents are clipped to the si
ze of the squashed layer. | 3 // Checks that when painting squashed layers, contents are clipped to the si
ze of the squashed layer. |
| 4 if (window.internals) | 4 if (window.internals) |
| 5 internals.settings.setLayerSquashingEnabled(true); | 5 internals.settings.setLayerSquashingEnabled(true); |
| 6 </script> | 6 </script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <div style=" width: 1px; height: 100px; -webkit-transform: translateZ(0px); po
sition:absolute; top:0px; background-color: lightgray"> | 9 <div style=" width: 1px; height: 100px; transform: translateZ(0px); position:a
bsolute; top:0px; background-color: lightgray"> |
| 10 </div> | 10 </div> |
| 11 <div style="width: 10px; height: 10px; overflow: hidden; position: absolute; l
eft: 0px; top: 0px; "> | 11 <div style="width: 10px; height: 10px; overflow: hidden; position: absolute; l
eft: 0px; top: 0px; "> |
| 12 <div style="height: 100px; width:100px; background-color:lightgreen" /> | 12 <div style="height: 100px; width:100px; background-color:lightgreen" /> |
| 13 </div> | 13 </div> |
| 14 </div> | 14 </div> |
| 15 <div style="left: 0px; height: 9px; width: 9px; position:absolute; top:99px; b
ackground-color: blue"> | 15 <div style="left: 0px; height: 9px; width: 9px; position:absolute; top:99px; b
ackground-color: blue"> |
| 16 </body> | 16 </body> |
| OLD | NEW |