Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..86ba5d1a74bc63e91402ecea1b372504286ca744 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<style> |
+::-webkit-scrollbar { |
+ display: none; |
+} |
+#container { |
+ overflow: scroll; |
+ width: 400px; |
+ height: 400px; |
+ |
+ background-attachment: local; |
+ background-color: blue; |
+} |
+ |
+#child { |
+ height: 500px; |
+} |
+</style> |
+<div id="container"> |
+ <div id="child"></div> |
+</div> |
+<script src="../resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ child.style.height = '2000px'; |
+ container.scrollTop = 2000; |
+} |
+onload = runRepaintAndPixelTest; |
+</script> |