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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/align-items-overflow-change.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/align-items-overflow-change.html --> 1 <!-- Based on fast/repaint/align-items-overflow-change.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 "LayoutBlockFlow DIV",
7 "LayoutBlockFlow DIV class='item1'",
8 "LayoutBlockFlow DIV",
9 "LayoutBlockFlow DIV class='item2'",
10 "LayoutGrid DIV id='container'",
11 "LayoutBlockFlow BODY",
12 "LayoutGrid DIV id='container'",
13 "LayoutBlockFlow DIV class='item1'",
14 "LayoutBlockFlow DIV",
15 "LayoutBlockFlow DIV class='item2'",
16 "LayoutBlockFlow DIV",
17 ];
18 function paintInvalidationTest() { 5 function paintInvalidationTest() {
19 document.getElementById('container').style.alignItems = 'end safe'; 6 document.getElementById('container').style.alignItems = 'end safe';
20 } 7 }
21 onload = runPaintInvalidationTest; 8 onload = runPaintInvalidationTest;
22 </script> 9 </script>
23 <style> 10 <style>
24 body { 11 body {
25 margin: 0; 12 margin: 0;
26 } 13 }
27 #container { 14 #container {
(...skipping 17 matching lines...) Expand all
45 </style> 32 </style>
46 <p style="height: 20px">Tests invalidation on align-items style change (just ove rflow). Passes if there is no red.</p> 33 <p style="height: 20px">Tests invalidation on align-items style change (just ove rflow). Passes if there is no red.</p>
47 <div id="container"> 34 <div id="container">
48 <div class="item1"> 35 <div class="item1">
49 <div style="height: 200px"></div> 36 <div style="height: 200px"></div>
50 </div> 37 </div>
51 <div class="item2"> 38 <div class="item2">
52 <div style="height: 100px"></div> 39 <div style="height: 100px"></div>
53 </div> 40 </div>
54 </div> 41 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698