Index: LayoutTests/paint/overflow/fixed-background-scroll-window.html |
diff --git a/LayoutTests/paint/overflow/fixed-background-scroll-window.html b/LayoutTests/paint/overflow/fixed-background-scroll-window.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c6c66385eebc240b89ea21a4fdd26a4d7e49e10 |
--- /dev/null |
+++ b/LayoutTests/paint/overflow/fixed-background-scroll-window.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<style> |
+::-webkit-scrollbar { |
+ display: none; |
+} |
+</style> |
+<body style="height: 4000px; background: linear-gradient(red, blue); background-attachment: fixed"> |
+<p style="position: absolute; top: 1100px"> |
+Tests painting of fixed background content in scrolled container. |
+Passes if the background doesn't scroll. |
+</p> |
+<script> |
+onload = function() { |
+ window.scrollTo(0, 1000); |
+}; |
+</script> |