Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-composited.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-composited.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-composited.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7179197ce88887c6eb4410cded42177894aed542 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-composited.html |
@@ -0,0 +1,30 @@ |
+<!DOCTYPE html> |
+<style> |
+::-webkit-scrollbar { |
+ display: none; |
+} |
+#container { |
+ overflow: scroll; |
+ will-change: transform; |
+ 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> |