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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/justify-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/justify-items-change.html --> 1 <!-- Based on fast/repaint/justify-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 "LayoutGrid DIV id='container'",
9 "LayoutGrid DIV id='container'",
10 "LayoutBlockFlow DIV class='item'",
11 "LayoutBlockFlow DIV",
12 ];
13 function paintInvalidationTest() { 5 function paintInvalidationTest() {
14 document.getElementById('container').style.justifyItems = 'start'; 6 document.getElementById('container').style.justifyItems = 'start';
15 } 7 }
16 onload = runPaintInvalidationTest; 8 onload = runPaintInvalidationTest;
17 </script> 9 </script>
18 <style> 10 <style>
19 body { 11 body {
20 margin: 0; 12 margin: 0;
21 } 13 }
22 #container { 14 #container {
(...skipping 10 matching lines...) Expand all
33 background-color: green; 25 background-color: green;
34 width: 50px; 26 width: 50px;
35 } 27 }
36 </style> 28 </style>
37 <p style="height: 20px">Tests invalidation on justify-items style change. Passes if green bar is left aligned.</p> 29 <p style="height: 20px">Tests invalidation on justify-items style change. Passes if green bar is left aligned.</p>
38 <div id="container"> 30 <div id="container">
39 <div class="item"> 31 <div class="item">
40 <div style="height: 50px"></div> 32 <div style="height: 50px"></div>
41 </div> 33 </div>
42 </div> 34 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698