OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 .container { | 6 .container { |
7 -webkit-transform: translateZ(0); | 7 transform: translateZ(0); |
8 background-color: silver; | 8 background-color: silver; |
9 width: 100px; | 9 width: 100px; |
10 height: 100px; | 10 height: 100px; |
11 } | 11 } |
12 | 12 |
13 /* create a render layer with no stacking context */ | 13 /* create a render layer with no stacking context */ |
14 .clip { | 14 .clip { |
15 position: absolute; | 15 position: absolute; |
16 top: 0px; | 16 top: 0px; |
17 left: 0px; | 17 left: 0px; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 <body> | 50 <body> |
51 <!-- the composited bounds of container should be 100px, not 200px --> | 51 <!-- the composited bounds of container should be 100px, not 200px --> |
52 <div class="container"> | 52 <div class="container"> |
53 <div class="clip"> | 53 <div class="clip"> |
54 <div class="box"></div> | 54 <div class="box"></div> |
55 </div> | 55 </div> |
56 </div> | 56 </div> |
57 <pre id="layertree"></pre> | 57 <pre id="layertree"></pre> |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |