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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-respect-dom-order.html

Issue 2417853002: [css-grid] Implementing the grid's first line baseline. (Closed)
Patch Set: Patch rebased. Created 4 years, 1 month 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 <html> 2 <html>
3 <head> 3 <head>
4 <link href="resources/grid.css" rel="stylesheet"> 4 <link href="resources/grid.css" rel="stylesheet">
5 <style> 5 <style>
6 .grid { 6 .grid {
7 display: inline-grid; 7 display: grid;
8 grid-template-columns: 50px; 8 grid-template-columns: 50px;
9 grid-template-rows: 50px 50px; 9 grid-template-rows: 50px 50px;
10 width: 300px; 10 width: 300px;
11 height: 175px; 11 height: 175px;
12 background-color: transparent; 12 background-color: transparent;
13 float: left;
13 } 14 }
14 15
15 .item { 16 .item {
16 width: 100px; 17 width: 100px;
17 height: 100px; 18 height: 100px;
18 } 19 }
19 20
20 .grid :nth-child(1) { 21 .grid :nth-child(1) {
21 background-color: #CCC; 22 background-color: #CCC;
22 } 23 }
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 <div class="item bothRowFirstColumn"></div> 71 <div class="item bothRowFirstColumn"></div>
71 <div class="item secondRowFirstColumn"></div> 72 <div class="item secondRowFirstColumn"></div>
72 </div> 73 </div>
73 <div class="grid"> 74 <div class="grid">
74 <div class="item bothRowFirstColumn"></div> 75 <div class="item bothRowFirstColumn"></div>
75 <div class="item secondRowFirstColumn"></div> 76 <div class="item secondRowFirstColumn"></div>
76 <div class="item firstRowFirstColumn"></div> 77 <div class="item firstRowFirstColumn"></div>
77 </div> 78 </div>
78 </body> 79 </body>
79 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698