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

Side by Side Diff: LayoutTests/fast/repaint/justify-items-legacy-change.html

Issue 1130843004: [CSS Grid Layout] New alignment related repaint layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Anohter test expected to fail added to TestExpectations. Created 5 years, 7 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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() { 4 function repaintTest() {
5 document.getElementById('parentContainer').style.justifyItems = 'legacy center '; 5 document.getElementById('parentContainer').style.justifyItems = 'legacy center ';
6 } 6 }
7 onload = runRepaintTest; 7 onload = runRepaintTest;
8 </script> 8 </script>
9 <style> 9 <style>
10 body { 10 body {
(...skipping 20 matching lines...) Expand all
31 border: solid thin blue; 31 border: solid thin blue;
32 width: 50px; 32 width: 50px;
33 } 33 }
34 .item2 { 34 .item2 {
35 grid-row: 1; 35 grid-row: 1;
36 grid-column: 2; 36 grid-column: 2;
37 background-color: green; 37 background-color: green;
38 border: solid thin blue; 38 border: solid thin blue;
39 width: 50px; 39 width: 50px;
40 </style> 40 </style>
41 <p style="height: 20px">Tests invalidation on justify-items style change. Passes if there is no red.</p> 41 <p style="height: 20px">Tests invalidation on justify-items style change (legacy value). Passes if green bars are centerd inside their red container.</p>
42 <div id="parentContainer"> 42 <div id="parentContainer">
43 <div id="container"> 43 <div id="container">
44 <div class="item1"> 44 <div class="item1">
45 <div style="height: 50px"></div> 45 <div style="height: 50px"></div>
46 </div> 46 </div>
47 <div class="item2"> 47 <div class="item2">
48 <div style="height: 50px"></div> 48 <div style="height: 50px"></div>
49 </div> 49 </div>
50 </div> 50 </div>
51 </div> 51 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698