Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1434)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt

Issue 1712503002: [css-grid] Rows track sizes are optional in grid-template shorthand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Applied suggested changes Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 PASS window.getComputedStyle(gridTemplateSimpleForm, '').getPropertyValue('grid- template-rows') is "15px" 11 PASS window.getComputedStyle(gridTemplateSimpleForm, '').getPropertyValue('grid- template-rows') is "15px"
12 PASS window.getComputedStyle(gridTemplateSimpleForm, '').getPropertyValue('grid- template-areas') is "none" 12 PASS window.getComputedStyle(gridTemplateSimpleForm, '').getPropertyValue('grid- template-areas') is "none"
13 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneColumns, '').getPrope rtyValue('grid-template-columns') is "none" 13 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneColumns, '').getPrope rtyValue('grid-template-columns') is "none"
14 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneColumns, '').getPrope rtyValue('grid-template-rows') is "15px" 14 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneColumns, '').getPrope rtyValue('grid-template-rows') is "15px"
15 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneColumns, '').getPrope rtyValue('grid-template-areas') is "none" 15 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneColumns, '').getPrope rtyValue('grid-template-areas') is "none"
16 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneRows, '').getProperty Value('grid-template-columns') is "10px" 16 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneRows, '').getProperty Value('grid-template-columns') is "10px"
17 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneRows, '').getProperty Value('grid-template-rows') is "none" 17 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneRows, '').getProperty Value('grid-template-rows') is "none"
18 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneRows, '').getProperty Value('grid-template-areas') is "none" 18 PASS window.getComputedStyle(gridTemplateSimpleFormWithNoneRows, '').getProperty Value('grid-template-areas') is "none"
19 PASS window.getComputedStyle(gridTemplateSimpleFormWithNone, '').getPropertyValu e('grid-template-columns') is "none" 19 PASS window.getComputedStyle(gridTemplateSimpleFormWithNone, '').getPropertyValu e('grid-template-columns') is "none"
20 PASS window.getComputedStyle(gridTemplateSimpleFormWithNone, '').getPropertyValu e('grid-template-rows') is "none" 20 PASS window.getComputedStyle(gridTemplateSimpleFormWithNone, '').getPropertyValu e('grid-template-rows') is "none"
21 PASS window.getComputedStyle(gridTemplateSimpleFormWithNone, '').getPropertyValu e('grid-template-areas') is "none" 21 PASS window.getComputedStyle(gridTemplateSimpleFormWithNone, '').getPropertyValu e('grid-template-areas') is "none"
22 PASS window.getComputedStyle(gridTemplateComplexForm, '').getPropertyValue('grid -template-columns') is "10px" 22 PASS window.getComputedStyle(gridTemplateComplexForm, '').getPropertyValue('grid -template-columns') is "10px"
23 PASS window.getComputedStyle(gridTemplateComplexForm, '').getPropertyValue('grid -template-rows') is "15px" 23 PASS window.getComputedStyle(gridTemplateComplexForm, '').getPropertyValue('grid -template-rows') is "15px"
24 PASS window.getComputedStyle(gridTemplateComplexForm, '').getPropertyValue('grid -template-areas') is "\"a\"" 24 PASS window.getComputedStyle(gridTemplateComplexForm, '').getPropertyValue('grid -template-areas') is "\"a\""
25 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNames, '').getProper tyValue('grid-template-columns') is "10px" 25 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNames, '').getProper tyValue('grid-template-columns') is "10px"
26 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNames, '').getProper tyValue('grid-template-rows') is "[head] 15px [tail]" 26 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNames, '').getProper tyValue('grid-template-rows') is "[head] 15px [tail]"
27 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNames, '').getProper tyValue('grid-template-areas') is "\"a\"" 27 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNames, '').getProper tyValue('grid-template-areas') is "\"a\""
28 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesWithoutRowSize, '').getPropertyValue('grid-template-columns') is "10px"
29 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesWithoutRowSize, '').getPropertyValue('grid-template-rows') is "[head] 0px [tail]"
30 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesWithoutRowSize, '').getPropertyValue('grid-template-areas') is "\"a\""
28 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns , '').getPropertyValue('grid-template-columns') is "10px" 31 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns , '').getPropertyValue('grid-template-columns') is "10px"
29 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns , '').getPropertyValue('grid-template-rows') is "[head] 15px [tail]" 32 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleColumns , '').getPropertyValue('grid-template-rows') is "[head] 15px [tail]"
30 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"
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\""
31 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, ' ').getPropertyValue('grid-template-columns') is "10px" 37 PASS window.getComputedStyle(gridTemplateComplexFormWithLineNamesMultipleRows, ' ').getPropertyValue('grid-template-columns') is "10px"
32 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]"
33 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"
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\""
34 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 nav2] 15px"
35 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]"
36 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"
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\""
37 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal ue('grid-template-columns') is "10px" 49 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal ue('grid-template-columns') is "10px"
38 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal ue('grid-template-rows') is "0px" 50 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal ue('grid-template-rows') is "0px"
39 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal ue('grid-template-areas') is "\"a\"" 51 PASS window.getComputedStyle(gridTemplateComplexFormWithAuto, '').getPropertyVal ue('grid-template-areas') is "\"a\""
40 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa lue('grid-template-columns') is "none" 52 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa lue('grid-template-columns') is "none"
41 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa lue('grid-template-rows') is "0px" 53 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa lue('grid-template-rows') is "0px"
42 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa lue('grid-template-areas') is "\"a\"" 54 PASS window.getComputedStyle(gridTemplateComplexFormOnlyAreas, '').getPropertyVa lue('grid-template-areas') is "\"a\""
43 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames, '').getPropertyValue('grid-template-columns') is "none" 55 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames, '').getPropertyValue('grid-template-columns') is "none"
44 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames, '').getPropertyValue('grid-template-rows') is "[first] 0px" 56 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames, '').getPropertyValue('grid-template-rows') is "[first] 0px"
45 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames, '').getPropertyValue('grid-template-areas') is "\"a\"" 57 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithEmptyTrailingLineNames, '').getPropertyValue('grid-template-areas') is "\"a\""
46 PASS window.getComputedStyle(gridTemplateConsecutiveAreas, '').getPropertyValue( 'grid-template-columns') is "10px" 58 PASS window.getComputedStyle(gridTemplateConsecutiveAreas, '').getPropertyValue( 'grid-template-columns') is "10px"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 PASS window.getComputedStyle(griTemplateComplexFormdWithFitAvailable, '').getPro pertyValue('grid-template-areas') is "none" 104 PASS window.getComputedStyle(griTemplateComplexFormdWithFitAvailable, '').getPro pertyValue('grid-template-areas') is "none"
93 PASS window.getComputedStyle(gridTemplateComplexFormNoColumnSize, '').getPropert yValue('grid-template-columns') is "none" 105 PASS window.getComputedStyle(gridTemplateComplexFormNoColumnSize, '').getPropert yValue('grid-template-columns') is "none"
94 PASS window.getComputedStyle(gridTemplateComplexFormNoColumnSize, '').getPropert yValue('grid-template-rows') is "none" 106 PASS window.getComputedStyle(gridTemplateComplexFormNoColumnSize, '').getPropert yValue('grid-template-rows') is "none"
95 PASS window.getComputedStyle(gridTemplateComplexFormNoColumnSize, '').getPropert yValue('grid-template-areas') is "none" 107 PASS window.getComputedStyle(gridTemplateComplexFormNoColumnSize, '').getPropert yValue('grid-template-areas') is "none"
96 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize1, '').getP ropertyValue('grid-template-columns') is "none" 108 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize1, '').getP ropertyValue('grid-template-columns') is "none"
97 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize1, '').getP ropertyValue('grid-template-rows') is "none" 109 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize1, '').getP ropertyValue('grid-template-rows') is "none"
98 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize1, '').getP ropertyValue('grid-template-areas') is "none" 110 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize1, '').getP ropertyValue('grid-template-areas') is "none"
99 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize2, '').getP ropertyValue('grid-template-columns') is "none" 111 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize2, '').getP ropertyValue('grid-template-columns') is "none"
100 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize2, '').getP ropertyValue('grid-template-rows') is "none" 112 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize2, '').getP ropertyValue('grid-template-rows') is "none"
101 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize2, '').getP ropertyValue('grid-template-areas') is "none" 113 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize2, '').getP ropertyValue('grid-template-areas') is "none"
114 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize3, '').getP ropertyValue('grid-template-columns') is "none"
115 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize3, '').getP ropertyValue('grid-template-rows') is "none"
116 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize3, '').getP ropertyValue('grid-template-areas') is "none"
117 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize4, '').getP ropertyValue('grid-template-columns') is "none"
118 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize4, '').getP ropertyValue('grid-template-rows') is "none"
119 PASS window.getComputedStyle(gridTemplateComplexFormMisplacedRowsSize4, '').getP ropertyValue('grid-template-areas') is "none"
102 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing1, '').getP ropertyValue('grid-template-columns') is "none" 120 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing1, '').getP ropertyValue('grid-template-columns') is "none"
103 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing1, '').getP ropertyValue('grid-template-rows') is "none" 121 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing1, '').getP ropertyValue('grid-template-rows') is "none"
104 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing1, '').getP ropertyValue('grid-template-areas') is "none" 122 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing1, '').getP ropertyValue('grid-template-areas') is "none"
105 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP ropertyValue('grid-template-columns') is "none" 123 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP ropertyValue('grid-template-columns') is "none"
106 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP ropertyValue('grid-template-rows') is "none" 124 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP ropertyValue('grid-template-rows') is "none"
107 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP ropertyValue('grid-template-areas') is "none" 125 PASS window.getComputedStyle(gridTemplateComplexFormColumnsNotParsing2, '').getP ropertyValue('grid-template-areas') is "none"
108 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp ertyValue('grid-template-columns') is "none" 126 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp ertyValue('grid-template-columns') is "none"
109 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp ertyValue('grid-template-rows') is "none" 127 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp ertyValue('grid-template-rows') is "none"
110 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp ertyValue('grid-template-areas') is "none" 128 PASS window.getComputedStyle(gridTemplateComplexFormWithNoneColumns, '').getProp ertyValue('grid-template-areas') is "none"
111 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam es, '').getPropertyValue('grid-template-columns') is "none" 129 PASS window.getComputedStyle(gridTemplateNoColumnsRowWithTwoEmptyTrailingLineNam es, '').getPropertyValue('grid-template-columns') is "none"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column s') is "none" 191 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column s') is "none"
174 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none" 192 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none"
175 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas' ) is "none" 193 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas' ) is "none"
176 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column s') is "none" 194 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column s') is "none"
177 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none" 195 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none"
178 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas' ) is "none" 196 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas' ) is "none"
179 PASS successfullyParsed is true 197 PASS successfullyParsed is true
180 198
181 TEST COMPLETE 199 TEST COMPLETE
182 200
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698