| OLD | NEW |
| 1 This test checks that the 'grid-template' shorthand is properly parsed and the l
onghand properties correctly assigned. | 1 This test checks that the 'grid-template' shorthand is properly parsed and the l
onghand properties 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 grid-template-areas set through CSS. | 6 Test getting grid-template-areas set through CSS. |
| 7 PASS window.getComputedStyle(gridTemplateWithNone, '').getPropertyValue('grid-te
mplate-columns') is "none" | 7 PASS window.getComputedStyle(gridTemplateWithNone, '').getPropertyValue('grid-te
mplate-columns') is "none" |
| 8 PASS window.getComputedStyle(gridTemplateWithNone, '').getPropertyValue('grid-te
mplate-rows') is "none" | 8 PASS window.getComputedStyle(gridTemplateWithNone, '').getPropertyValue('grid-te
mplate-rows') is "none" |
| 9 PASS window.getComputedStyle(gridTemplateWithNone, '').getPropertyValue('grid-te
mplate-areas') is "none" | 9 PASS window.getComputedStyle(gridTemplateWithNone, '').getPropertyValue('grid-te
mplate-areas') is "none" |
| 10 PASS window.getComputedStyle(gridTemplateSimpleForm, '').getPropertyValue('grid-
template-columns') is "10px" | 10 PASS window.getComputedStyle(gridTemplateSimpleForm, '').getPropertyValue('grid-
template-columns') is "10px" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
, '').getPropertyValue('grid-template-areas') is "\"a b\"" | 33 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
, '').getPropertyValue('grid-template-areas') is "\"a b\"" |
| 34 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
WithoutRowSize, '').getPropertyValue('grid-template-columns') is "10px 20px" | 34 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
WithoutRowSize, '').getPropertyValue('grid-template-columns') is "10px 20px" |
| 35 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
WithoutRowSize, '').getPropertyValue('grid-template-rows') is "[head] 0px [tail]
" | 35 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
WithoutRowSize, '').getPropertyValue('grid-template-rows') is "[head] 0px [tail]
" |
| 36 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
WithoutRowSize, '').getPropertyValue('grid-template-areas') is "\"a b\"" | 36 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns
WithoutRowSize, '').getPropertyValue('grid-template-areas') is "\"a b\"" |
| 37 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, '
').getPropertyValue('grid-template-columns') is "10px" | 37 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, '
').getPropertyValue('grid-template-columns') is "10px" |
| 38 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, '
').getPropertyValue('grid-template-rows') is "[head1] 15px [tail1 head2] 20px [t
ail2]" | 38 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, '
').getPropertyValue('grid-template-rows') is "[head1] 15px [tail1 head2] 20px [t
ail2]" |
| 39 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, '
').getPropertyValue('grid-template-areas') is "\"a\" \"b\"" | 39 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, '
').getPropertyValue('grid-template-areas') is "\"a\" \"b\"" |
| 40 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsWit
houtRowsSizes, '').getPropertyValue('grid-template-columns') is "10px" | 40 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsWit
houtRowsSizes, '').getPropertyValue('grid-template-columns') is "10px" |
| 41 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsWit
houtRowsSizes, '').getPropertyValue('grid-template-rows') is "[head1] 0px [tail1
head2] 0px [tail2]" | 41 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsWit
houtRowsSizes, '').getPropertyValue('grid-template-rows') is "[head1] 0px [tail1
head2] 0px [tail2]" |
| 42 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsWit
houtRowsSizes, '').getPropertyValue('grid-template-areas') is "\"a\" \"b\"" | 42 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsWit
houtRowsSizes, '').getPropertyValue('grid-template-areas') is "\"a\" \"b\"" |
| 43 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-columns') is "[first] 10px [nav nav
2] 15px [nav nav2] 15px" | 43 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-columns') is "[first] 10px [nav nav
2] 15px [nav] 15px [last]" |
| 44 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-rows') is "100px [nav nav2] 25px [n
av nav2] 25px [last]" | 44 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-rows') is "100px [nav nav2] 25px [n
av nav2] 25px [last]" |
| 45 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-areas') is "\"a b c\" \"d e f\" \"g
h i\"" | 45 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-areas') is "\"a b c\" \"d e f\" \"g
h i\"" |
| 46 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
ColumnsWithoutRowsSizes, '').getPropertyValue('grid-template-columns') is "[firs
t] 10px [nav nav2] 15px [nav nav2] 15px" | 46 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
ColumnsWithoutRowsSizes, '').getPropertyValue('grid-template-columns') is "[firs
t] 10px [nav nav2] 15px [nav] 15px [last]" |
| 47 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
ColumnsWithoutRowsSizes, '').getPropertyValue('grid-template-rows') is "0px [nav
nav2] 0px [nav nav2] 0px [last]" | 47 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
ColumnsWithoutRowsSizes, '').getPropertyValue('grid-template-rows') is "0px [nav
nav2] 0px [nav nav2] 0px [last]" |
| 48 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
ColumnsWithoutRowsSizes, '').getPropertyValue('grid-template-areas') is "\"a b c
\" \"d e f\" \"g h i\"" | 48 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
ColumnsWithoutRowsSizes, '').getPropertyValue('grid-template-areas') is "\"a b c
\" \"d e f\" \"g h i\"" |
| 49 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-columns') is "10px" | 49 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-columns') is "10px" |
| 50 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-rows') is "0px" | 50 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-rows') is "0px" |
| 51 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-areas') is "\"a\"" | 51 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-areas') is "\"a\"" |
| 52 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-columns') is "0px" | 52 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-columns') is "0px" |
| 53 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-rows') is "0px" | 53 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-rows') is "0px" |
| 54 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-areas') is "\"a\"" | 54 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-areas') is "\"a\"" |
| 55 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-columns') is "0px" | 55 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-columns') is "0px" |
| 56 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-rows') is "[first] 0px" | 56 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-rows') is "[first] 0px" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP
ropertyValue('grid-template-areas') is "none" | 125 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP
ropertyValue('grid-template-areas') is "none" |
| 126 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp
ertyValue('grid-template-columns') is "none" | 126 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp
ertyValue('grid-template-columns') is "none" |
| 127 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp
ertyValue('grid-template-rows') is "none" | 127 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp
ertyValue('grid-template-rows') is "none" |
| 128 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp
ertyValue('grid-template-areas') is "none" | 128 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp
ertyValue('grid-template-areas') is "none" |
| 129 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam
es, '').getPropertyValue('grid-template-columns') is "none" | 129 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam
es, '').getPropertyValue('grid-template-columns') is "none" |
| 130 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam
es, '').getPropertyValue('grid-template-rows') is "none" | 130 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam
es, '').getPropertyValue('grid-template-rows') is "none" |
| 131 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam
es, '').getPropertyValue('grid-template-areas') is "none" | 131 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam
es, '').getPropertyValue('grid-template-areas') is "none" |
| 132 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNamesA
ndNonEmptyLeadingLineNames, '').getPropertyValue('grid-template-columns') is "no
ne" | 132 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNamesA
ndNonEmptyLeadingLineNames, '').getPropertyValue('grid-template-columns') is "no
ne" |
| 133 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNamesA
ndNonEmptyLeadingLineNames, '').getPropertyValue('grid-template-rows') is "none" | 133 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNamesA
ndNonEmptyLeadingLineNames, '').getPropertyValue('grid-template-rows') is "none" |
| 134 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNamesA
ndNonEmptyLeadingLineNames, '').getPropertyValue('grid-template-areas') is "none
" | 134 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNamesA
ndNonEmptyLeadingLineNames, '').getPropertyValue('grid-template-areas') is "none
" |
| 135 PASS window.getComputedStyle(gridTemplateRepeat, '').getPropertyValue('grid-temp
late-columns') is "none" |
| 136 PASS window.getComputedStyle(gridTemplateRepeat, '').getPropertyValue('grid-temp
late-rows') is "none" |
| 137 PASS window.getComputedStyle(gridTemplateRepeat, '').getPropertyValue('grid-temp
late-areas') is "none" |
| 138 PASS window.getComputedStyle(gridTemplateRepeatAutoFill, '').getPropertyValue('g
rid-template-columns') is "none" |
| 139 PASS window.getComputedStyle(gridTemplateRepeatAutoFill, '').getPropertyValue('g
rid-template-rows') is "none" |
| 140 PASS window.getComputedStyle(gridTemplateRepeatAutoFill, '').getPropertyValue('g
rid-template-areas') is "none" |
| 141 PASS window.getComputedStyle(gridTemplateRepeatAutoFit, '').getPropertyValue('gr
id-template-columns') is "none" |
| 142 PASS window.getComputedStyle(gridTemplateRepeatAutoFit, '').getPropertyValue('gr
id-template-rows') is "none" |
| 143 PASS window.getComputedStyle(gridTemplateRepeatAutoFit, '').getPropertyValue('gr
id-template-areas') is "none" |
| 135 | 144 |
| 136 Test the initial value | 145 Test the initial value |
| 137 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 146 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 138 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 147 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 139 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 148 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 140 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' | 149 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' |
| 141 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' | 150 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' |
| 142 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is 'n
one' | 151 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is 'n
one' |
| 143 | 152 |
| 144 Test setting grid-template-columns and grid-template-rows back to 'none' through
JS | 153 Test setting grid-template-columns and grid-template-rows back to 'none' through
JS |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 202 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 194 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 203 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 195 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 204 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 196 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 205 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 197 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 206 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 198 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 207 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 199 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 208 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 200 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 209 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 201 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 210 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 202 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 211 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 212 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 213 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 214 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 215 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 216 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 217 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 218 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 219 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 220 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
| 203 PASS successfullyParsed is true | 221 PASS successfullyParsed is true |
| 204 | 222 |
| 205 TEST COMPLETE | 223 TEST COMPLETE |
| 206 | 224 |
| OLD | NEW |