OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <head> | 2 <head> |
3 <script src="../../resources/run-after-display.js"></script> | 3 <script src="../../resources/run-after-display.js"></script> |
4 <style> | 4 <style> |
5 .composited { | 5 .composited { |
6 -webkit-transform: translatez(0); | 6 transform: translatez(0); |
7 } | 7 } |
8 | 8 |
9 .box { | 9 .box { |
10 width: 100px; | 10 width: 100px; |
11 height: 100px; | 11 height: 100px; |
12 } | 12 } |
13 | 13 |
14 .behind { | 14 .behind { |
15 position: absolute; | 15 position: absolute; |
16 z-index: 1; | 16 z-index: 1; |
17 top: 100px; | 17 top: 100px; |
18 left: 100px; | 18 left: 100px; |
19 background-color: blue; | 19 background-color: blue; |
20 } | 20 } |
21 | 21 |
22 .middle { | 22 .middle { |
23 position: absolute; | 23 position: absolute; |
24 z-index: 1; | 24 z-index: 1; |
25 top: 20px; | 25 top: 20px; |
26 left: 20px; | 26 left: 20px; |
27 background-color: lime; | 27 background-color: lime; |
28 -webkit-transform: rotate(45deg); | 28 transform: rotate(45deg); |
29 } | 29 } |
30 | 30 |
31 .top { | 31 .top { |
32 position: absolute; | 32 position: absolute; |
33 z-index: 1; | 33 z-index: 1; |
34 top: 180px; | 34 top: 180px; |
35 left: 180px; | 35 left: 180px; |
36 background-color: cyan; | 36 background-color: cyan; |
37 } | 37 } |
38 | 38 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 CASE 1, original layer tree | 120 CASE 1, original layer tree |
121 <pre id="Case1"></pre> | 121 <pre id="Case1"></pre> |
122 | 122 |
123 CASE 2, hovering over the outer div | 123 CASE 2, hovering over the outer div |
124 <pre id="Case2"></pre> | 124 <pre id="Case2"></pre> |
125 | 125 |
126 CASE 3, hovering over the inner div | 126 CASE 3, hovering over the inner div |
127 <pre id="Case3"></pre> | 127 <pre id="Case3"></pre> |
128 </div> | 128 </div> |
129 </body> | 129 </body> |
OLD | NEW |