OLD | NEW |
1 This test checks that the 'grid' shorthand is properly parsed and the longhand p
roperties correctly assigned. | 1 This test checks that the 'grid' shorthand is properly parsed and the longhand p
roperties correctly assigned. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Test getting the longhand values when shorthand is set through CSS. | 6 Test getting the longhand values when shorthand is set through CSS. |
7 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-c
olumns') is "none" | 7 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-c
olumns') is "none" |
8 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-r
ows') is "none" | 8 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-r
ows') is "none" |
9 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-a
reas') is "none" | 9 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-a
reas') is "none" |
10 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-flow'
) is "row" | 10 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-flow'
) is "row" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n
one" | 93 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n
one" |
94 PASS element.style.gridTemplateAreas is "none" | 94 PASS element.style.gridTemplateAreas is "none" |
95 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" | 95 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" |
96 PASS element.style.gridAutoFlow is "initial" | 96 PASS element.style.gridAutoFlow is "initial" |
97 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" | 97 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
98 PASS element.style.gridAutoColumns is "initial" | 98 PASS element.style.gridAutoColumns is "initial" |
99 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" | 99 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
100 PASS element.style.gridAutoRows is "initial" | 100 PASS element.style.gridAutoRows is "initial" |
101 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"10px" | 101 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"10px" |
102 PASS element.style.gridTemplateColumns is "10px" | 102 PASS element.style.gridTemplateColumns is "10px" |
103 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(l
ine) 20px" | 103 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[l
ine] 20px" |
104 PASS element.style.gridTemplateRows is "(line) 20px" | 104 PASS element.style.gridTemplateRows is "[line] 20px" |
105 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "\
"a\"" | 105 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "\
"a\"" |
106 PASS element.style.gridTemplateAreas is "\"a\"" | 106 PASS element.style.gridTemplateAreas is "\"a\"" |
107 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" | 107 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" |
108 PASS element.style.gridAutoFlow is "initial" | 108 PASS element.style.gridAutoFlow is "initial" |
109 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" | 109 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
110 PASS element.style.gridAutoColumns is "initial" | 110 PASS element.style.gridAutoColumns is "initial" |
111 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" | 111 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
112 PASS element.style.gridAutoRows is "initial" | 112 PASS element.style.gridAutoRows is "initial" |
113 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"none" | 113 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"none" |
114 PASS element.style.gridTemplateColumns is "initial" | 114 PASS element.style.gridTemplateColumns is "initial" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" | 171 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" |
172 PASS element.style.gridAutoFlow is "initial" | 172 PASS element.style.gridAutoFlow is "initial" |
173 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" | 173 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
174 PASS element.style.gridAutoColumns is "initial" | 174 PASS element.style.gridAutoColumns is "initial" |
175 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" | 175 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
176 PASS element.style.gridAutoRows is "initial" | 176 PASS element.style.gridAutoRows is "initial" |
177 PASS successfullyParsed is true | 177 PASS successfullyParsed is true |
178 | 178 |
179 TEST COMPLETE | 179 TEST COMPLETE |
180 | 180 |
OLD | NEW |