Index: LayoutTests/paint/invalidation/spv2/justify-items-change.html |
diff --git a/LayoutTests/fast/repaint/justify-items-change.html b/LayoutTests/paint/invalidation/spv2/justify-items-change.html |
similarity index 56% |
copy from LayoutTests/fast/repaint/justify-items-change.html |
copy to LayoutTests/paint/invalidation/spv2/justify-items-change.html |
index 42b069c89c58f6e22edce02e4cc9a98ae33bcd56..d589bf93b1ed29e40eea08be6db7a57e2dd589bd 100644 |
--- a/LayoutTests/fast/repaint/justify-items-change.html |
+++ b/LayoutTests/paint/invalidation/spv2/justify-items-change.html |
@@ -1,10 +1,19 @@ |
+<!-- Based on fast/repaint/justify-items-change.html --> |
<!DOCTYPE HTML> |
-<script src="resources/text-based-repaint.js"></script> |
+<script src="resources/paint-invalidation-test.js"></script> |
<script> |
-function repaintTest() { |
+window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV", |
+ "LayoutBlockFlow DIV class='item'", |
+ "LayoutGrid DIV id='container'", |
+ "LayoutGrid DIV id='container'", |
+ "LayoutBlockFlow DIV class='item'", |
+ "LayoutBlockFlow DIV", |
+]; |
+function paintInvalidationTest() { |
document.getElementById('container').style.justifyItems = 'start'; |
} |
-onload = runRepaintTest; |
+onload = runPaintInvalidationTest; |
</script> |
<style> |
body { |