Index: third_party/WebKit/LayoutTests/paint/invalidation/negative-shadow-box-expand.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/negative-shadow-box-expand.html b/third_party/WebKit/LayoutTests/paint/invalidation/negative-shadow-box-expand.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6daa9acee40ec385c1186e43e363d3989804217c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/negative-shadow-box-expand.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+ function repaintTest() |
+ { |
+ document.getElementById('inner2').style.display = 'block'; |
+ } |
+</script> |
+<body style="margin: 100px" onload="runRepaintAndPixelTest()"> |
+ <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> |