Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <link href="resources/grid.css" rel="stylesheet"> | |
| 3 <link rel="match" href="grid-paint-positioned-children-expected.html"> | |
| 4 <style> | |
| 5 .grid { | |
| 6 display: grid; | |
|
Manuel Rego
2016/12/19 11:56:07
Nit: You don't need this line.
| |
| 7 border: 2px solid black; | |
| 8 position: relative; | |
| 9 width: 100px; | |
| 10 | |
| 11 grid-template-columns: 10px 20px 30px 40px; | |
| 12 grid-auto-columns: 20px; | |
|
Manuel Rego
2016/12/19 11:56:07
I guess you don't need this line.
| |
| 13 | |
| 14 padding-top: 10px; | |
| 15 } | |
| 16 | |
| 17 .abs { height: 5px; position: absolute; width: 100%; } | |
|
Manuel Rego
2016/12/19 11:56:07
Nit: Why only 1 line here and not in the other?
| |
| 18 | |
| 19 #item { | |
| 20 width: 90px; | |
| 21 height: 30px; | |
|
Manuel Rego
2016/12/19 11:56:07
Nit: Indentation here doesn't match the rest of th
| |
| 22 } | |
| 23 | |
| 24 </style> | |
| 25 | |
|
Manuel Rego
2016/12/19 11:56:07
The ref-tests usually have a sentence explaining
h
| |
| 26 <div class="grid"> | |
| 27 <div id="item" style="grid-column: 1 / -1; background: cyan;"></div> | |
| 28 <div class="abs" style="grid-column: 1 / 2; background: purple;"></div> | |
| 29 <div class="abs" style="grid-column: 2 / 3; background: orange;"></div> | |
| 30 <div class="abs" style="grid-column: 3 / 4; background: yellow;"></div> | |
| 31 <div class="abs" style="grid-column: 4 / 5; background: magenta;"></div> | |
| 32 </div> | |
| OLD | NEW |