Index: LayoutTests/paint/invalidation/spv2/shadow-box-resize.html |
diff --git a/LayoutTests/fast/box-shadow/shadow-box-resize.html b/LayoutTests/paint/invalidation/spv2/shadow-box-resize.html |
similarity index 62% |
copy from LayoutTests/fast/box-shadow/shadow-box-resize.html |
copy to LayoutTests/paint/invalidation/spv2/shadow-box-resize.html |
index 6d781c480c42be4aa046ddfd51de2c5cdbbdf7a7..f740e70446982dfec8ee07213d5e04f7d369332d 100644 |
--- a/LayoutTests/fast/box-shadow/shadow-box-resize.html |
+++ b/LayoutTests/paint/invalidation/spv2/shadow-box-resize.html |
@@ -1,14 +1,21 @@ |
+<!-- Based on fast/box-shadow/shadow-box-resize.html --> |
<!DOCTYPE html> |
-<script src="../repaint/resources/text-based-repaint.js"></script> |
+<script src="resources/paint-invalidation-test.js"></script> |
<script> |
-function repaintTest() |
+window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow (positioned) DIV id='target1'", |
+ "LayoutBlockFlow (positioned) DIV id='target2'", |
+ "LayoutBlockFlow (positioned) DIV id='target3'", |
+ "LayoutBlockFlow (positioned) DIV id='target4'", |
+]; |
+function paintInvalidationTest() |
{ |
document.getElementById('target1').style.width = '150px'; |
document.getElementById('target2').style.width = '50px'; |
document.getElementById('target3').style.height = '150px'; |
document.getElementById('target4').style.height = '50px'; |
} |
-window.onload = runRepaintTest; |
+window.onload = runPaintInvalidationTest; |
</script> |
<style> |
body { |