| 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(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "[first] 10px" | 7 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "[first] 10px" |
| 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "[first] 15px" | 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "[first] 15px" |
| 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "424px [last]" | 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "400px [last]" |
| 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "162px [last]" | 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "162px [last]" |
| 11 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-columns') is "0px [last]" | 11 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-columns') is "0px [last]" |
| 12 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-rows') is "0px [last]" | 12 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-rows') is "0px [last]" |
| 13 PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getProp
ertyValue('grid-template-columns') is "77px [last]" | 13 PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getProp
ertyValue('grid-template-columns') is "38.5px [last]" |
| 14 PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getProp
ertyValue('grid-template-rows') is "22px [last]" | 14 PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getProp
ertyValue('grid-template-rows') is "22px [last]" |
| 15 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-columns') is "[first] 0px" | 15 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-columns') is "[first] 0px" |
| 16 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-rows') is "0px [last]" | 16 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-rows') is "0px [last]" |
| 17 PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyVal
ue('grid-template-columns') is "[first] 77px" | 17 PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyVal
ue('grid-template-columns') is "[first] 77px" |
| 18 PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyVal
ue('grid-template-rows') is "22px [last]" | 18 PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyVal
ue('grid-template-rows') is "22px [last]" |
| 19 PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template
-columns') is "[first] 80px" | 19 PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template
-columns') is "[first] 80px" |
| 20 PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template
-rows') is "300px [last]" | 20 PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template
-rows') is "300px [last]" |
| 21 PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-t
emplate-columns') is "[first nav] 10px [last]" | 21 PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-t
emplate-columns') is "[first nav] 10px [last]" |
| 22 PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-t
emplate-rows') is "[first nav] 15px [last]" | 22 PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-t
emplate-rows') is "[first nav] 15px [last]" |
| 23 PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getP
ropertyValue('grid-template-columns') is "[first nav] 80px [nav] 120px [last]" | 23 PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getP
ropertyValue('grid-template-columns') is "[first nav] 80px [nav] 120px [last]" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 107 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 108 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 108 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 109 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 109 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 110 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 110 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 111 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 111 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 112 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 112 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 113 PASS successfullyParsed is true | 113 PASS successfullyParsed is true |
| 114 | 114 |
| 115 TEST COMPLETE | 115 TEST COMPLETE |
| 116 | 116 |
| OLD | NEW |