Index: third_party/WebKit/LayoutTests/paint/overflow/interest-rect-change-scroll-up.html |
diff --git a/third_party/WebKit/LayoutTests/paint/overflow/interest-rect-change-scroll-up.html b/third_party/WebKit/LayoutTests/paint/overflow/interest-rect-change-scroll-up.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8a2e367edce8586bc79597faad4a59102774be42 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/overflow/interest-rect-change-scroll-up.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<style> |
+body { |
+ margin: 0; |
+ height: 20000px; |
+} |
+div { |
+ width: 100px; |
+ height: 100px; |
+ background-color: green; |
+} |
+::-webkit-scrollbar { |
+ width: 0px; |
+ height: 0px; |
+} |
+</style> |
+<div></div> |
+<script> |
+if (window.testRunner) |
+ testrunner.waitUntilDone(); |
+runAfterLayoutAndPaint(function() { |
+ window.scrollTo(0, 10000); |
+ runAfterLayoutAndPaint(function() { |
+ window.scrollTo(0, 0); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+}); |
+</script> |
+ |