OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | |
5 if (window.testRunner) | |
6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | |
7 </script> | |
8 <link href="resources/grid.css" rel="stylesheet"> | 4 <link href="resources/grid.css" rel="stylesheet"> |
9 <style> | 5 <style> |
10 .gridAutoFixedFixed { | 6 .gridAutoFixedFixed { |
11 grid-auto-rows: 30px; | 7 grid-auto-rows: 30px; |
12 grid-auto-columns: 50px; | 8 grid-auto-columns: 50px; |
13 } | 9 } |
14 | 10 |
15 .gridAutoMinMax { | 11 .gridAutoMinMax { |
16 grid-auto-rows: minmax(10%, 15px); | 12 grid-auto-rows: minmax(10%, 15px); |
17 grid-auto-columns: minmax(30%, 100px); | 13 grid-auto-columns: minmax(30%, 100px); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 shouldBe("getComputedStyle(element, '').getPropertyValue('grid-auto-rows')",
"'auto'"); | 149 shouldBe("getComputedStyle(element, '').getPropertyValue('grid-auto-rows')",
"'auto'"); |
154 | 150 |
155 document.body.removeChild(element); | 151 document.body.removeChild(element); |
156 } | 152 } |
157 debug(""); | 153 debug(""); |
158 debug("Test setting grid-auto-columns and grid-auto-rows to 'initial' through JS
"); | 154 debug("Test setting grid-auto-columns and grid-auto-rows to 'initial' through JS
"); |
159 testInitial(); | 155 testInitial(); |
160 </script> | 156 </script> |
161 </body> | 157 </body> |
162 </html> | 158 </html> |
OLD | NEW |