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 25 matching lines...) Expand all Loading... |
36 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-areas') is "\"a b c\" \"d e f\" \"g
h i\"" | 36 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRowsAnd
Columns, '').getPropertyValue('grid-template-areas') is "\"a b c\" \"d e f\" \"g
h i\"" |
37 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-columns') is "10px" | 37 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-columns') is "10px" |
38 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-rows') is "0px" | 38 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-rows') is "0px" |
39 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-areas') is "\"a\"" | 39 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal
ue('grid-template-areas') is "\"a\"" |
40 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-columns') is "none" | 40 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-columns') is "none" |
41 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-rows') is "0px" | 41 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-rows') is "0px" |
42 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-areas') is "\"a\"" | 42 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa
lue('grid-template-areas') is "\"a\"" |
43 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-columns') is "none" | 43 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-columns') is "none" |
44 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-rows') is "[first] 0px" | 44 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-rows') is "[first] 0px" |
45 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-areas') is "\"a\"" | 45 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames,
'').getPropertyValue('grid-template-areas') is "\"a\"" |
| 46 PASS window.getComputedStyle(gridTemplateConsecutiveAreas, '').getPropertyValue(
'grid-template-columns') is "10px" |
| 47 PASS window.getComputedStyle(gridTemplateConsecutiveAreas, '').getPropertyValue(
'grid-template-rows') is "0px 0px" |
| 48 PASS window.getComputedStyle(gridTemplateConsecutiveAreas, '').getPropertyValue(
'grid-template-areas') is "\"a\" \"a\"" |
46 | 49 |
47 Test getting wrong values for grid-template shorthand through CSS (they should r
esolve to the default: 'none') | 50 Test getting wrong values for grid-template shorthand through CSS (they should r
esolve to the default: 'none') |
48 PASS window.getComputedStyle(gridTemplateMultipleSlash, '').getPropertyValue('gr
id-template-columns') is "none" | 51 PASS window.getComputedStyle(gridTemplateMultipleSlash, '').getPropertyValue('gr
id-template-columns') is "none" |
49 PASS window.getComputedStyle(gridTemplateMultipleSlash, '').getPropertyValue('gr
id-template-rows') is "none" | 52 PASS window.getComputedStyle(gridTemplateMultipleSlash, '').getPropertyValue('gr
id-template-rows') is "none" |
50 PASS window.getComputedStyle(gridTemplateMultipleSlash, '').getPropertyValue('gr
id-template-areas') is "none" | 53 PASS window.getComputedStyle(gridTemplateMultipleSlash, '').getPropertyValue('gr
id-template-areas') is "none" |
51 PASS window.getComputedStyle(gridTemplateSimpleFormJustColumns, '').getPropertyV
alue('grid-template-columns') is "none" | 54 PASS window.getComputedStyle(gridTemplateSimpleFormJustColumns, '').getPropertyV
alue('grid-template-columns') is "none" |
52 PASS window.getComputedStyle(gridTemplateSimpleFormJustColumns, '').getPropertyV
alue('grid-template-rows') is "none" | 55 PASS window.getComputedStyle(gridTemplateSimpleFormJustColumns, '').getPropertyV
alue('grid-template-rows') is "none" |
53 PASS window.getComputedStyle(gridTemplateSimpleFormJustColumns, '').getPropertyV
alue('grid-template-areas') is "none" | 56 PASS window.getComputedStyle(gridTemplateSimpleFormJustColumns, '').getPropertyV
alue('grid-template-areas') is "none" |
54 PASS window.getComputedStyle(gridTemplateSimpleFormNoRows, '').getPropertyValue(
'grid-template-columns') is "none" | 57 PASS window.getComputedStyle(gridTemplateSimpleFormNoRows, '').getPropertyValue(
'grid-template-columns') is "none" |
55 PASS window.getComputedStyle(gridTemplateSimpleFormNoRows, '').getPropertyValue(
'grid-template-rows') is "none" | 58 PASS window.getComputedStyle(gridTemplateSimpleFormNoRows, '').getPropertyValue(
'grid-template-rows') is "none" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 173 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
171 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 174 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
172 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 175 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
173 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" | 176 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
174 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" | 177 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
175 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" | 178 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas'
) is "none" |
176 PASS successfullyParsed is true | 179 PASS successfullyParsed is true |
177 | 180 |
178 TEST COMPLETE | 181 TEST COMPLETE |
179 | 182 |
OLD | NEW |