Index: LayoutTests/paint/invalidation/spv2/negative-shadow-box-expand.html |
diff --git a/LayoutTests/paint/invalidation/spv2/negative-shadow-box-expand.html b/LayoutTests/paint/invalidation/spv2/negative-shadow-box-expand.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d5bc40219aa44a3a4deab544467e541ab75066e |
--- /dev/null |
+++ b/LayoutTests/paint/invalidation/spv2/negative-shadow-box-expand.html |
@@ -0,0 +1,19 @@ |
+<!-- Based on fast/box-shadow/negative-shadow-box-expand.html --> |
+<!DOCTYPE html> |
+<script src="resources/paint-invalidation-test.js"></script> |
+<script> |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV id='outer'", |
+ "LayoutBlockFlow DIV id='inner2'", |
+ ]; |
+ function paintInvalidationTest() |
+ { |
+ document.getElementById('inner2').style.display = 'block'; |
+ } |
+</script> |
+<body style="margin: 100px" onload="runPaintInvalidationTest()"> |
+ <div id="outer" style="box-shadow: 40px -40px #F00;"> |
+ <div id="inner1" style="height: 100px; background-color: blue"></div> |
+ <div id="inner2" style="display: none; height: 100px; background-color: green"></div> |
+ </div> |
+</body> |