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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <style>
4 body {
5 margin: 0;
6 height: 20000px;
7 }
8 div {
9 width: 100px;
10 height: 100px;
11 background-color: green;
12 }
13 ::-webkit-scrollbar {
14 width: 0px;
15 height: 0px;
16 }
17 </style>
18 <div></div>
19 <script>
20 if (window.testRunner)
21 testrunner.waitUntilDone();
22 runAfterLayoutAndPaint(function() {
23 window.scrollTo(0, 10000);
24 runAfterLayoutAndPaint(function() {
25 window.scrollTo(0, 0);
26 if (window.testRunner)
27 testRunner.notifyDone();
28 });
29 });
30 </script>
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698