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