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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/align-items-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-change.html --> 1 <!-- Based on fast/repaint/align-items-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='item'",
8 "LayoutBlockFlow DIV",
9 "LayoutBlockFlow DIV class='item'",
10 "LayoutFlexibleBox DIV id='container'",
11 "LayoutFlexibleBox DIV id='container'",
12 "LayoutBlockFlow DIV class='item'",
13 "LayoutBlockFlow DIV",
14 "LayoutBlockFlow DIV class='item'",
15 "LayoutBlockFlow DIV",
16 ];
17 function paintInvalidationTest() { 5 function paintInvalidationTest() {
18 document.getElementById('container').style.alignItems = 'stretch'; 6 document.getElementById('container').style.alignItems = 'stretch';
19 } 7 }
20 onload = runPaintInvalidationTest; 8 onload = runPaintInvalidationTest;
21 </script> 9 </script>
22 <style> 10 <style>
23 body { 11 body {
24 margin: 0; 12 margin: 0;
25 } 13 }
26 #container { 14 #container {
(...skipping 11 matching lines...) Expand all
38 </style> 26 </style>
39 <p style="height: 20px">Tests invalidation on align-items style change. Passes i f there is no red.</p> 27 <p style="height: 20px">Tests invalidation on align-items style change. Passes i f there is no red.</p>
40 <div id="container"> 28 <div id="container">
41 <div class="item"> 29 <div class="item">
42 <div style="height: 100px"></div> 30 <div style="height: 100px"></div>
43 </div> 31 </div>
44 <div class="item"> 32 <div class="item">
45 <div style="height: 150px"></div> 33 <div style="height: 150px"></div>
46 </div> 34 </div>
47 </div> 35 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698