Index: LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants-on-overflow-change.html |
diff --git a/LayoutTests/compositing/repaint/should-not-repaint-composited-descendants-on-overflow-change.html b/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants-on-overflow-change.html |
similarity index 79% |
copy from LayoutTests/compositing/repaint/should-not-repaint-composited-descendants-on-overflow-change.html |
copy to LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants-on-overflow-change.html |
index ead0e81396bbf8909d02a104b83f2fa28aeaf3f8..02600b134390265239475e5ab3bdd2475b5e4592 100644 |
--- a/LayoutTests/compositing/repaint/should-not-repaint-composited-descendants-on-overflow-change.html |
+++ b/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants-on-overflow-change.html |
@@ -1,11 +1,15 @@ |
<!DOCTYPE html> |
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<script src="resources/paint-invalidation-test.js"></script> |
<script> |
-function repaintTest() { |
+window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV id='overflow1'", |
+ "LayoutBlockFlow DIV id='overflow2'", |
+]; |
+function paintInvalidationTest() { |
document.getElementById('overflow1').style.overflow = "visible"; |
document.getElementById('overflow2').style.overflow = "hidden"; |
} |
-onload = runRepaintAndPixelTest; |
+onload = runPaintInvalidationTest; |
</script> |
<style> |
body { |