Index: LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html |
diff --git a/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1cb42ec1f8c82bb07e920cf54bdab1ae582c2fb8 |
--- /dev/null |
+++ b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+<style> |
+#container { |
+ overflow: scroll; |
+ width: 400px; |
+ height: 300px; |
+ background: linear-gradient(black, white); |
+ background-attachment: local; |
+} |
+ |
+#bloat { |
+ height: 1000px; |
+ transform: translateZ(0); |
+} |
+</style> |
+<div id="container"> |
+ <div id="bloat"></div> |
+</div> |
+<script> |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.displayAsyncThen(function() { |
+ document.getElementById('container').scrollTop = 1000; |
+ testRunner.notifyDone(); |
+ }); |
+ } |
+</script> |