Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: third_party/WebKit/LayoutTests/paint/overflow/interest-rect-change-scroll-up.html

Issue 1428643004: Repaint on interest rect change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableSyncPaint
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
+

Powered by Google App Engine
This is Rietveld 408576698