OLD | NEW |
1 Test that setting and getting grid-template-columns and grid-template-rows works
as expected | 1 Test that setting and getting grid-template-columns and grid-template-rows works
as expected |
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 grid-template-columns and grid-template-rows set through CSS | 6 Test getting grid-template-columns and grid-template-rows set through CSS |
7 PASS window.getComputedStyle(gridWithNoneElement, '').getPropertyValue('grid-tem
plate-columns') is "none" | 7 PASS window.getComputedStyle(gridWithNoneElement, '').getPropertyValue('grid-tem
plate-columns') is "none" |
8 PASS window.getComputedStyle(gridWithNoneElement, '').getPropertyValue('grid-tem
plate-rows') is "none" | 8 PASS window.getComputedStyle(gridWithNoneElement, '').getPropertyValue('grid-tem
plate-rows') is "none" |
9 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "10px" | 9 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "10px" |
10 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "15px" | 10 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "15px" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"18px" | 133 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"18px" |
134 PASS element.style.gridTemplateColumns is "18px" | 134 PASS element.style.gridTemplateColumns is "18px" |
135 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "66
px" | 135 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "66
px" |
136 PASS element.style.gridTemplateRows is "66px" | 136 PASS element.style.gridTemplateRows is "66px" |
137 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"none" | 137 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"none" |
138 PASS element.style.gridTemplateColumns is "none" | 138 PASS element.style.gridTemplateColumns is "none" |
139 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no
ne" | 139 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no
ne" |
140 PASS element.style.gridTemplateRows is "none" | 140 PASS element.style.gridTemplateRows is "none" |
141 | 141 |
142 Test setting grid-template-columns and grid-template-rows to 'inherit' through J
S | 142 Test setting grid-template-columns and grid-template-rows to 'inherit' through J
S |
143 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'50px (last)' | 143 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'50px [last]' |
144 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is '(f
irst) 101%' | 144 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is '[f
irst] 101%' |
145 | 145 |
146 Test setting grid-template-columns and grid-template-rows to 'initial' through J
S | 146 Test setting grid-template-columns and grid-template-rows to 'initial' through J
S |
147 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'150% (last)' | 147 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'150% [last]' |
148 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is '(f
irst) 1fr' | 148 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is '[f
irst] 1fr' |
149 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' | 149 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' |
150 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' | 150 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' |
151 PASS successfullyParsed is true | 151 PASS successfullyParsed is true |
152 | 152 |
153 TEST COMPLETE | 153 TEST COMPLETE |
154 | 154 |
OLD | NEW |