OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <link href="resources/grid.css" rel="stylesheet"> |
| 5 <style> |
| 6 body { |
| 7 margin: 0; |
| 8 } |
| 9 |
| 10 .container { |
| 11 position: relative; |
| 12 } |
| 13 |
| 14 .fixedWidth { |
| 15 width: 150px; |
| 16 } |
| 17 |
| 18 .fixedHeight { |
| 19 height: 150px; |
| 20 } |
| 21 |
| 22 .block { |
| 23 background-color: grey; |
| 24 font: 10px/1 Ahem; |
| 25 align-items: start; |
| 26 justify-items: start; |
| 27 } |
| 28 </style> |
| 29 </head> |
| 30 <body> |
| 31 |
| 32 <p>This test checks that grid sizing works as expected with orthogonal flows.</p
> |
| 33 |
| 34 <div class="container"> |
| 35 <p>HORIZONTAL-TB container with VERTICAL-RL items.</p> |
| 36 <div class="block fixedWidth"> |
| 37 <div class="verticalRL firstRowFirstColumn">X X X X X X X X X X X X X</d
iv> |
| 38 </div> |
| 39 </div> |
| 40 |
| 41 <div class="container"> |
| 42 <p>VERTICAL-RL container with HORIZONTAL-TB items.</p> |
| 43 <div class="block fixedHeight verticalLR"> |
| 44 <div class="firstRowFirstColumn horizontalTB">X X X X X X X X X X X X X<
/div> |
| 45 </div> |
| 46 </div> |
| 47 |
| 48 </body> |
| 49 </html> |
OLD | NEW |