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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/overflow/background-should-be-recorded-full.html

Issue 1416053003: Let synchronized painting generate correct paint invalidation rects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 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
8 #big-black-box { 8 #big-black-box {
9 background-color: black; 9 background-color: black;
10 background-clip: padding-box; 10 background-clip: padding-box;
11 height: 10000px; 11 height: 10000px;
12 } 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 id="big-black-box"></div>
20 <script> 20 <script>
21 runAfterLayoutAndPaint(function() { 21 runAfterLayoutAndPaint(function() {
22 console.log('x');
Xianzhu 2015/10/22 22:51:48 This will be removed in the next patch set after t
22 window.scrollTo(0, 10000); 23 window.scrollTo(0, 10000);
23 }, true); 24 }, true);
24 </script> 25 </script>
25 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698