| 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 <link href="resources/grid.css" rel="stylesheet"> | 4 <link href="resources/grid.css" rel="stylesheet"> |
| 5 <style> | 5 <style> |
| 6 .gridAutoFlowDense { | 6 .gridAutoFlowDense { |
| 7 grid-auto-flow: dense; | 7 grid-auto-flow: dense; |
| 8 } | 8 } |
| 9 .gridAutoFlowColumnDense { | 9 .gridAutoFlowColumnDense { |
| 10 grid-auto-flow: column dense; | 10 grid-auto-flow: column dense; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 checkGridAutoFlowSetCSSValue("gridAutoFlowDenseRowStack", "row"); | 104 checkGridAutoFlowSetCSSValue("gridAutoFlowDenseRowStack", "row"); |
| 105 | 105 |
| 106 debug(""); | 106 debug(""); |
| 107 debug("Test the initial value"); | 107 debug("Test the initial value"); |
| 108 checkGridAutoFlowSetJSValue("", "", "row"); | 108 checkGridAutoFlowSetJSValue("", "", "row"); |
| 109 | 109 |
| 110 debug("Test getting and setting grid-auto-flow through JS"); | 110 debug("Test getting and setting grid-auto-flow through JS"); |
| 111 checkGridAutoFlowSetJSValue("column", "column", "column"); | 111 checkGridAutoFlowSetJSValue("column", "column", "column"); |
| 112 checkGridAutoFlowSetJSValue("column dense", "column dense", "column dense"); | 112 checkGridAutoFlowSetJSValue("column dense", "column dense", "column dense"); |
| 113 checkGridAutoFlowSetJSValue("row dense", "row dense", "row dense"); | 113 checkGridAutoFlowSetJSValue("row dense", "row dense", "row dense"); |
| 114 checkGridAutoFlowSetJSValue("dense column", "dense column", "column dense"); | 114 checkGridAutoFlowSetJSValue("dense column", "column dense", "column dense"); |
| 115 checkGridAutoFlowSetJSValue("dense row", "dense row", "row dense"); | 115 checkGridAutoFlowSetJSValue("dense row", "row dense", "row dense"); |
| 116 checkGridAutoFlowSetJSValue("row", "row", "row"); | 116 checkGridAutoFlowSetJSValue("row", "row", "row"); |
| 117 | 117 |
| 118 debug(""); | 118 debug(""); |
| 119 debug("Test getting and setting bad values for grid-auto-flow through JS"); | 119 debug("Test getting and setting bad values for grid-auto-flow through JS"); |
| 120 checkGridAutoFlowSetJSValue("noone", "", "row"); | 120 checkGridAutoFlowSetJSValue("noone", "", "row"); |
| 121 checkGridAutoFlowSetJSValue("dense row dense", "", "row"); | 121 checkGridAutoFlowSetJSValue("dense row dense", "", "row"); |
| 122 checkGridAutoFlowSetJSValue("column column", "", "row"); | 122 checkGridAutoFlowSetJSValue("column column", "", "row"); |
| 123 checkGridAutoFlowSetJSValue("stack row", "", "row"); | 123 checkGridAutoFlowSetJSValue("stack row", "", "row"); |
| 124 checkGridAutoFlowSetJSValue("column stack", "", "row"); | 124 checkGridAutoFlowSetJSValue("column stack", "", "row"); |
| 125 checkGridAutoFlowSetJSValue("dense column dense", "", "row"); | 125 checkGridAutoFlowSetJSValue("dense column dense", "", "row"); |
| 126 checkGridAutoFlowSetJSValue("dense row stack", "", "row"); | 126 checkGridAutoFlowSetJSValue("dense row stack", "", "row"); |
| 127 | 127 |
| 128 debug(""); | 128 debug(""); |
| 129 debug("Test setting grid-auto-flow to 'initial' through JS"); | 129 debug("Test setting grid-auto-flow to 'initial' through JS"); |
| 130 // Reusing the value so that we can check that it is set back to its initial
value. | 130 // Reusing the value so that we can check that it is set back to its initial
value. |
| 131 checkGridAutoFlowSetJSValue("initial", "initial", "row"); | 131 checkGridAutoFlowSetJSValue("initial", "initial", "row"); |
| 132 </script> | 132 </script> |
| 133 </body> | 133 </body> |
| 134 </html> | 134 </html> |
| OLD | NEW |