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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/overflow/interest-rect-change-scroll-down.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/run-after-layout-and-paint.js"></script> 2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <style> 3 <style>
4 body { 4 body {
5 margin: 0; 5 margin: 0;
6 } 6 }
7 7 div {
8 #big-black-box { 8 position: relative;
9 background-color: black; 9 top: 10000px;
10 background-clip: padding-box; 10 width: 100px;
11 height: 10000px; 11 height: 100px;
12 background-color: green;
12 } 13 }
13
14 ::-webkit-scrollbar { 14 ::-webkit-scrollbar {
15 width: 0px; 15 width: 0px;
16 height: 0px; 16 height: 0px;
17 } 17 }
18 </style> 18 </style>
19 <div id="big-black-box"></div> 19 <div></div>
20 <script> 20 <script>
21 runAfterLayoutAndPaint(function() { 21 runAfterLayoutAndPaint(function() {
22 window.scrollTo(0, 10000); 22 window.scrollTo(0, 10000);
23 }, true); 23 }, true);
24 </script> 24 </script>
25 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698