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

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

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <style> 2 <style>
3 body { 3 body {
4 margin: 0; 4 margin: 0;
5 } 5 }
6 #parentContainer { 6 #parentContainer {
7 justify-items: legacy center; 7 justify-items: legacy center;
8 background-color: orange; 8 background-color: orange;
9 width: 300px; 9 width: 300px;
10 height: 400px; 10 height: 400px;
11 } 11 }
12 12
13 #container { 13 #container {
14 display: grid; 14 display: grid;
15 grid: 100px 100px / 150px 150px; 15 grid: 150px 150px / 100px 100px;
16 width: 200px; 16 width: 200px;
17 height: 300px; 17 height: 300px;
18 background-color: red; 18 background-color: red;
19 } 19 }
20 .item1 { 20 .item1 {
21 grid-row: 1; 21 grid-row: 1;
22 grid-column: 1; 22 grid-column: 1;
23 background-color: green; 23 background-color: green;
24 border: solid thin blue; 24 border: solid thin blue;
25 width: 50px; 25 width: 50px;
26 } 26 }
27 .item2 { 27 .item2 {
28 grid-row: 1; 28 grid-row: 1;
29 grid-column: 2; 29 grid-column: 2;
30 background-color: green; 30 background-color: green;
31 border: solid thin blue; 31 border: solid thin blue;
32 width: 50px; 32 width: 50px;
33 </style> 33 </style>
34 <p style="height: 20px">Tests invalidation on justify-items style change (legacy value). Passes if green bars are centerd inside their red container.</p> 34 <p style="height: 20px">Tests invalidation on justify-items style change (legacy value). Passes if green bars are centerd inside their red container.</p>
35 <div id="parentContainer"> 35 <div id="parentContainer">
36 <div id="container"> 36 <div id="container">
37 <div class="item1"> 37 <div class="item1">
38 <div style="height: 50px"></div> 38 <div style="height: 50px"></div>
39 </div> 39 </div>
40 <div class="item2"> 40 <div class="item2">
41 <div style="height: 50px"></div> 41 <div style="height: 50px"></div>
42 </div> 42 </div>
43 </div> 43 </div>
44 </div> 44 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698