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