| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | 6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); |
| 7 </script> | 7 </script> |
| 8 <link href="resources/grid.css" rel="stylesheet"> | 8 <link href="resources/grid.css" rel="stylesheet"> |
| 9 <style> | 9 <style> |
| 10 .gridWithFixed { | 10 .gridWithFixed { |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 element.style.gridRows = "'foo' 'bar' auto 'foo' auto 'bar'"; | 140 element.style.gridRows = "'foo' 'bar' auto 'foo' auto 'bar'"; |
| 141 testValue(element, "foo bar auto foo auto bar", "foo bar auto foo auto bar")
; | 141 testValue(element, "foo bar auto foo auto bar", "foo bar auto foo auto bar")
; |
| 142 | 142 |
| 143 debug(""); | 143 debug(""); |
| 144 debug("Test getting and setting invalid grid-columns and grid-rows through J
S"); | 144 debug("Test getting and setting invalid grid-columns and grid-rows through J
S"); |
| 145 element = document.createElement("div"); | 145 element = document.createElement("div"); |
| 146 document.body.appendChild(element); | 146 document.body.appendChild(element); |
| 147 element.style.gridColumns = "'foo'"; | 147 element.style.gridColumns = "'foo'"; |
| 148 element.style.gridRows = "'bar"; | 148 element.style.gridRows = "'bar"; |
| 149 testValue(element, "none", "none"); | 149 testValue(element, "none", "none"); |
| 150 |
| 151 element = document.createElement("div"); |
| 152 document.body.appendChild(element); |
| 153 element.style.gridColumns = "'foo' 'bar'"; |
| 154 element.style.gridRows = "'bar' 'foo'"; |
| 155 testValue(element, "none", "none"); |
| 150 </script> | 156 </script> |
| 151 <script src="../js/resources/js-test-post.js"></script> | 157 <script src="../js/resources/js-test-post.js"></script> |
| 152 </body> | 158 </body> |
| 153 </html> | 159 </html> |
| OLD | NEW |