OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | 3 <script> |
4 if (window.testRunner) | 4 if (window.testRunner) |
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | 5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); |
6 </script> | 6 </script> |
7 <link href="resources/grid.css" rel="stylesheet"> | 7 <link href="resources/grid.css" rel="stylesheet"> |
8 <style> | 8 <style> |
9 .grid { | 9 .grid { |
10 grid-definition-columns: 40% 60%; | 10 grid-template-columns: 40% 60%; |
11 grid-definition-rows: 30% 70%; | 11 grid-template-rows: 30% 70%; |
12 width: 400px; | 12 width: 400px; |
13 height: 300px; | 13 height: 300px; |
14 } | 14 } |
15 | 15 |
16 .firstRowFirstColumn { | 16 .firstRowFirstColumn { |
17 width: 100%; | 17 width: 100%; |
18 height: 15px; | 18 height: 15px; |
19 } | 19 } |
20 | 20 |
21 .firstRowSecondColumn { | 21 .firstRowSecondColumn { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 <div class="grid" style="-webkit-writing-mode: vertical-lr;" data-expected-width
="400" data-expected-height="300"> | 69 <div class="grid" style="-webkit-writing-mode: vertical-lr;" data-expected-width
="400" data-expected-height="300"> |
70 <div class="firstRowFirstColumn" data-expected-width="120" data-expected-hei
ght="15"></div> | 70 <div class="firstRowFirstColumn" data-expected-width="120" data-expected-hei
ght="15"></div> |
71 <div class="firstRowSecondColumn" data-expected-width="15" data-expected-hei
ght="180"></div> | 71 <div class="firstRowSecondColumn" data-expected-width="15" data-expected-hei
ght="180"></div> |
72 <div class="secondRowFirstColumn" data-expected-width="140" data-expected-he
ight="60"></div> | 72 <div class="secondRowFirstColumn" data-expected-width="140" data-expected-he
ight="60"></div> |
73 <div class="secondRowSecondColumn" data-expected-width="280" data-expected-h
eight="180"></div> | 73 <div class="secondRowSecondColumn" data-expected-width="280" data-expected-h
eight="180"></div> |
74 </div> | 74 </div> |
75 </div> | 75 </div> |
76 | 76 |
77 </body> | 77 </body> |
78 </html> | 78 </html> |
OLD | NEW |