Index: LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html |
diff --git a/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f2936f9c6a06795a2870f83c8bab9084a59e685 |
--- /dev/null |
+++ b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html |
@@ -0,0 +1,37 @@ |
+<!DOCTYPE html> |
+<style> |
+#container { |
+ overflow: scroll; |
+ width: 400px; |
+ height: 300px; |
+} |
+ |
+#clipping { |
+ overflow: hidden; |
+ height: 1000px; |
+ |
+ position: relative; |
+ z-index: 0; |
+} |
+ |
+#clipped { |
+ height: 10px; |
+ border: solid 1px black; |
+ transform: translateZ(0); |
+} |
+</style> |
+<div id="container"> |
+ <div id="clipping"> |
+ <div>Lorem ipsum</div> |
+ <div id="clipped"></div> |
+ </div> |
+</div> |
+<script> |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.displayAsyncThen(function() { |
+ document.getElementById('container').scrollTop = 1000; |
+ testRunner.notifyDone(); |
+ }); |
+ } |
+</script> |