| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
| 4 <style> | 4 <style> |
| 5 | 5 |
| 6 .grid { | 6 .grid { |
| 7 margin: 1px; | 7 margin: 1px; |
| 8 width: 50px; | 8 width: 50px; |
| 9 height: 25px; | 9 height: 25px; |
| 10 grid: 100% / 100%; |
| 10 padding: 5px 10px 15px 20px; | 11 padding: 5px 10px 15px 20px; |
| 11 /* Ensures that the grid container is the containing block of the grid child
ren. */ | 12 /* Ensures that the grid container is the containing block of the grid child
ren. */ |
| 12 position: relative; | 13 position: relative; |
| 13 } | 14 } |
| 14 | 15 |
| 15 .absolute { | 16 .absolute { |
| 16 position: absolute; | 17 position: absolute; |
| 17 } | 18 } |
| 18 | 19 |
| 19 .onlyFirstRowOnlyFirstColumn { | 20 .onlyFirstRowOnlyFirstColumn { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div> | 72 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div> |
| 72 </div> | 73 </div> |
| 73 | 74 |
| 74 <div class="grid horizontalBT directionRTL"> | 75 <div class="grid horizontalBT directionRTL"> |
| 75 <div class="sizedToGridArea red"></div> | 76 <div class="sizedToGridArea red"></div> |
| 76 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div> | 77 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div> |
| 77 </div> | 78 </div> |
| 78 | 79 |
| 79 </body> | 80 </body> |
| 80 </html> | 81 </html> |
| OLD | NEW |