| 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 "7px 11px" | 7 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "7px 11px" |
| 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "17px 2px" | 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "17px 2px" |
| 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "424px 792px" | 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "400px 800px" |
| 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "162px 312px" | 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "162px 312px" |
| 11 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-columns') is "7px 0px" | 11 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-columns') is "3.5px 7px" |
| 12 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-rows') is "11px 0px" | 12 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-rows') is "11px 0px" |
| 13 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-columns') is "0px 17px" | 13 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-columns') is "0px 17px" |
| 14 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-rows') is "0px 3px" | 14 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-rows') is "0px 3px" |
| 15 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-templ
ate-columns') is "100px 120px" | 15 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-templ
ate-columns') is "100px 120px" |
| 16 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-templ
ate-rows') is "150px 170px" | 16 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-templ
ate-rows') is "150px 170px" |
| 17 PASS window.getComputedStyle(gridWithThreeItems, '').getPropertyValue('grid-temp
late-columns') is "15px 0px 100px" | 17 PASS window.getComputedStyle(gridWithThreeItems, '').getPropertyValue('grid-temp
late-columns') is "15px 0px 100px" |
| 18 PASS window.getComputedStyle(gridWithThreeItems, '').getPropertyValue('grid-temp
late-rows') is "120px 18px 0px" | 18 PASS window.getComputedStyle(gridWithThreeItems, '').getPropertyValue('grid-temp
late-rows') is "120px 18px 0px" |
| 19 PASS window.getComputedStyle(gridWithPercentAndViewportPercent, '').getPropertyV
alue('grid-template-columns') is "400px 120px" | 19 PASS window.getComputedStyle(gridWithPercentAndViewportPercent, '').getPropertyV
alue('grid-template-columns') is "400px 120px" |
| 20 PASS window.getComputedStyle(gridWithPercentAndViewportPercent, '').getPropertyV
alue('grid-template-rows') is "210px 168px" | 20 PASS window.getComputedStyle(gridWithPercentAndViewportPercent, '').getPropertyV
alue('grid-template-rows') is "210px 168px" |
| 21 PASS window.getComputedStyle(gridWithFitContentAndFitAvailable, '').getPropertyV
alue('grid-template-columns') is "none" | 21 PASS window.getComputedStyle(gridWithFitContentAndFitAvailable, '').getPropertyV
alue('grid-template-columns') is "none" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 Test setting grid-template-columns and grid-template-rows to 'initial' through J
S | 126 Test setting grid-template-columns and grid-template-rows to 'initial' through J
S |
| 127 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "1200px [middle] 55px" | 127 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "1200px [middle] 55px" |
| 128 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "200px [line] 400px [line]" | 128 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "200px [line] 400px [line]" |
| 129 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' | 129 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' |
| 130 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' | 130 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' |
| 131 PASS successfullyParsed is true | 131 PASS successfullyParsed is true |
| 132 | 132 |
| 133 TEST COMPLETE | 133 TEST COMPLETE |
| 134 | 134 |
| OLD | NEW |