Index: LayoutTests/paint/invalidation/spv2/tricky-element-removal-crash.html |
diff --git a/LayoutTests/compositing/squashing/tricky-element-removal-crash.html b/LayoutTests/paint/invalidation/spv2/tricky-element-removal-crash.html |
similarity index 57% |
copy from LayoutTests/compositing/squashing/tricky-element-removal-crash.html |
copy to LayoutTests/paint/invalidation/spv2/tricky-element-removal-crash.html |
index e8874210e20b99a98a7cee7cf1dbdf2f2273570d..dbee4dafe8f3d14e6dffe1909e0f295658ed7108 100644 |
--- a/LayoutTests/compositing/squashing/tricky-element-removal-crash.html |
+++ b/LayoutTests/paint/invalidation/spv2/tricky-element-removal-crash.html |
@@ -1,13 +1,17 @@ |
+<!-- Based on compositing/squashing/tricky-element-removal-crash.html --> |
<!DOCTYPE html> |
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<script src="resources/paint-invalidation-test.js"></script> |
<div style="width: 200px; height: 200px; transform: translateZ(0); background-color: salmon;"></div> |
<div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100px"> |
<div id="target" style="width: 100px; height: 100px; transform: translateZ(0); background-color: blue"> |
</div> |
<script> |
-function repaintTest() { |
+window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV id='target'", |
+]; |
+function paintInvalidationTest() { |
document.querySelector('#target').remove(); |
} |
-runRepaintTest(); |
+runPaintInvalidationTest(); |
</script> |