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

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

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/scrollbar-invalidation-on-resize-with-border.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></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() {
14 document.getElementById('scrollable').style.width = '300px';
15 }
16 onload = runPaintInvalidationTest;
17 </script>
18 <style>
19 #scrollable {
20 overflow: scroll;
21 position: absolute;
22 top: 50px;
23 width: 100px;
24 height: 100px;
25 border: solid 10px green;
26 }
27 </style>
28 When a scrollable area is resized, the invalidation area should cover non-compos ited scrollbars.
29 <div id="scrollable"></div>
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698