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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/scrollbar-invalidation-on-resize-with-border.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (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 <!-- Based on fast/repaint/scrollbar-invalidation-on-resize-with-border.html --> 1 <!-- Based on fast/repaint/scrollbar-invalidation-on-resize-with-border.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "HorizontalScrollbar",
7 "VerticalScrollbar",
8 "VerticalScrollbar",
9 "HorizontalScrollbar",
10 "HorizontalScrollbar",
11 "LayoutBlockFlow (positioned) DIV id='scrollable'",
12 ];
13 function paintInvalidationTest() { 5 function paintInvalidationTest() {
14 document.getElementById('scrollable').style.width = '300px'; 6 document.getElementById('scrollable').style.width = '300px';
15 } 7 }
16 onload = runPaintInvalidationTest; 8 onload = runPaintInvalidationTest;
17 </script> 9 </script>
18 <style> 10 <style>
19 #scrollable { 11 #scrollable {
20 overflow: scroll; 12 overflow: scroll;
21 position: absolute; 13 position: absolute;
22 top: 50px; 14 top: 50px;
23 width: 100px; 15 width: 100px;
24 height: 100px; 16 height: 100px;
25 border: solid 10px green; 17 border: solid 10px green;
26 } 18 }
27 </style> 19 </style>
28 When a scrollable area is resized, the invalidation area should cover non-compos ited scrollbars. 20 When a scrollable area is resized, the invalidation area should cover non-compos ited scrollbars.
29 <div id="scrollable"></div> 21 <div id="scrollable"></div>
30 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698