| OLD | NEW |
| 1 <!-- Based on compositing/squashing/tricky-element-removal-crash.html --> | 1 <!-- Based on compositing/squashing/tricky-element-removal-crash.html --> |
| 2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
| 3 <script src="resources/paint-invalidation-test.js"></script> | 3 <script src="resources/paint-invalidation-test.js"></script> |
| 4 <div style="width: 200px; height: 200px; transform: translateZ(0); background-co
lor: salmon;"></div> | 4 <div style="width: 200px; height: 200px; transform: translateZ(0); background-co
lor: salmon;"></div> |
| 5 <div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100p
x"> | 5 <div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100p
x"> |
| 6 <div id="target" style="width: 100px; height: 100px; transform: translateZ(0);
background-color: blue"> | 6 <div id="target" style="width: 100px; height: 100px; transform: translateZ(0);
background-color: blue"> |
| 7 </div> | 7 </div> |
| 8 <script> | 8 <script> |
| 9 window.expectedPaintInvalidationObjects = [ | |
| 10 "LayoutBlockFlow DIV id='target'", | |
| 11 ]; | |
| 12 function paintInvalidationTest() { | 9 function paintInvalidationTest() { |
| 13 document.querySelector('#target').remove(); | 10 document.querySelector('#target').remove(); |
| 14 } | 11 } |
| 15 | 12 |
| 16 runPaintInvalidationTest(); | 13 runPaintInvalidationTest(); |
| 17 </script> | 14 </script> |
| OLD | NEW |