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> | 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 #gridWithSingleStringTemplate { | 10 #gridWithSingleStringTemplate { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // Empty rows. | 112 // Empty rows. |
113 element.style.gridTemplate = "'' ''"; | 113 element.style.gridTemplate = "'' ''"; |
114 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr
id-template')", "none") | 114 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr
id-template')", "none") |
115 | 115 |
116 debug(""); | 116 debug(""); |
117 debug("FIXME: We currently don't validate that the named grid areas are <
indent>."); | 117 debug("FIXME: We currently don't validate that the named grid areas are <
indent>."); |
118 // <ident> only allows a leading '-'. | 118 // <ident> only allows a leading '-'. |
119 element.style.gridTemplate = '"nav-up"'; | 119 element.style.gridTemplate = '"nav-up"'; |
120 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr
id-template')", "none") | 120 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr
id-template')", "none") |
121 </script> | 121 </script> |
122 <script src="../js/resources/js-test-post.js"></script> | |
123 </body> | 122 </body> |
124 </html> | 123 </html> |
OLD | NEW |