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 transform: translatez(0); | 6 transform: translatez(0); |
7 } | 7 } |
8 | 8 |
9 .box { | 9 .box { |
10 width: 100px; | 10 width: 100px; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 div:hover { | 49 div:hover { |
50 background-color: green; | 50 background-color: green; |
51 } | 51 } |
52 | 52 |
53 .smallbox:hover { | 53 .smallbox:hover { |
54 background-color: lime; | 54 background-color: lime; |
55 } | 55 } |
56 | 56 |
57 </style> | 57 </style> |
58 <script> | 58 <script> |
59 if (window.internals) | |
60 internals.settings.setLayerSquashingEnabled(true); | |
61 if (window.testRunner) { | 59 if (window.testRunner) { |
62 testRunner.dumpAsText(); | 60 testRunner.dumpAsText(); |
63 testRunner.waitUntilDone(); | 61 testRunner.waitUntilDone(); |
64 } | 62 } |
65 | 63 |
66 function runTest() | 64 function runTest() |
67 { | 65 { |
68 runAfterDisplay(executeTestCases); | 66 runAfterDisplay(executeTestCases); |
69 } | 67 } |
70 | 68 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 CASE 1, original layer tree | 119 CASE 1, original layer tree |
122 <pre id="Case1"></pre> | 120 <pre id="Case1"></pre> |
123 | 121 |
124 CASE 2, hovering over the outer div | 122 CASE 2, hovering over the outer div |
125 <pre id="Case2"></pre> | 123 <pre id="Case2"></pre> |
126 | 124 |
127 CASE 3, hovering over the inner div | 125 CASE 3, hovering over the inner div |
128 <pre id="Case3"></pre> | 126 <pre id="Case3"></pre> |
129 </div> | 127 </div> |
130 </body> | 128 </body> |
OLD | NEW |