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

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

Issue 333563003: [CSS Grid Layout] Update grid-auto-flow to the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attempt 2 to fix win_blink_rel Created 6 years, 5 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' shorthand is properly parsed and the longhand p roperties correctly assigned. 1 This test checks that the 'grid' shorthand is properly parsed and the longhand p roperties 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 the longhand values when shorthand is set through CSS. 6 Test getting the longhand values when shorthand is set through CSS.
7 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-c olumns') is "none" 7 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-c olumns') is "none"
8 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-r ows') is "none" 8 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-r ows') is "none"
9 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-a reas') is "none" 9 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-template-a reas') is "none"
10 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-flow' ) is "none" 10 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-flow' ) is "row"
11 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-colum ns') is "auto" 11 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-colum ns') is "auto"
12 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-rows' ) is "auto" 12 PASS window.getComputedStyle(gridWithNone, '').getPropertyValue('grid-auto-rows' ) is "auto"
13 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-templa te-columns') is "15px" 13 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-templa te-columns') is "15px"
14 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-templa te-rows') is "10px" 14 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-templa te-rows') is "10px"
15 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-templa te-areas') is "none" 15 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-templa te-areas') is "none"
16 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-auto-f low') is "none" 16 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-auto-f low') is "row"
17 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-auto-c olumns') is "auto" 17 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-auto-c olumns') is "auto"
18 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-auto-r ows') is "auto" 18 PASS window.getComputedStyle(gridWithTemplate, '').getPropertyValue('grid-auto-r ows') is "auto"
19 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-template-columns') is "none" 19 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-template-columns') is "none"
20 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-template-rows') is "none" 20 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-template-rows') is "none"
21 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-template-areas') is "none" 21 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-template-areas') is "none"
22 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-auto-flow') is "row" 22 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-auto-flow') is "column"
23 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-auto-columns') is "10px" 23 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-auto-columns') is "10px"
24 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-auto-rows') is "10px" 24 PASS window.getComputedStyle(gridWithAutoFlowAndColumns, '').getPropertyValue('g rid-auto-rows') is "10px"
25 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-te mplate-columns') is "none" 25 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-te mplate-columns') is "none"
26 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-te mplate-rows') is "none" 26 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-te mplate-rows') is "none"
27 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-te mplate-areas') is "none" 27 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-te mplate-areas') is "none"
28 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-au to-flow') is "none" 28 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-au to-flow') is "row"
29 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-au to-columns') is "10px" 29 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-au to-columns') is "auto"
30 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-au to-rows') is "10px" 30 PASS window.getComputedStyle(gridWithAutoFlowNone, '').getPropertyValue('grid-au to-rows') is "auto"
31 PASS window.getComputedStyle(gridWithAutoFlowColumnDense, '').getPropertyValue(' grid-template-columns') is "none"
32 PASS window.getComputedStyle(gridWithAutoFlowColumnDense, '').getPropertyValue(' grid-template-rows') is "none"
33 PASS window.getComputedStyle(gridWithAutoFlowColumnDense, '').getPropertyValue(' grid-template-areas') is "none"
34 PASS window.getComputedStyle(gridWithAutoFlowColumnDense, '').getPropertyValue(' grid-auto-flow') is "column dense"
35 PASS window.getComputedStyle(gridWithAutoFlowColumnDense, '').getPropertyValue(' grid-auto-columns') is "10px"
36 PASS window.getComputedStyle(gridWithAutoFlowColumnDense, '').getPropertyValue(' grid-auto-rows') is "10px"
37 PASS window.getComputedStyle(gridWithAutoFlowDenseRow, '').getPropertyValue('gri d-template-columns') is "none"
38 PASS window.getComputedStyle(gridWithAutoFlowDenseRow, '').getPropertyValue('gri d-template-rows') is "none"
39 PASS window.getComputedStyle(gridWithAutoFlowDenseRow, '').getPropertyValue('gri d-template-areas') is "none"
40 PASS window.getComputedStyle(gridWithAutoFlowDenseRow, '').getPropertyValue('gri d-auto-flow') is "row dense"
41 PASS window.getComputedStyle(gridWithAutoFlowDenseRow, '').getPropertyValue('gri d-auto-columns') is "10px"
42 PASS window.getComputedStyle(gridWithAutoFlowDenseRow, '').getPropertyValue('gri d-auto-rows') is "10px"
43 PASS window.getComputedStyle(gridWithAutoFlowStackColumn, '').getPropertyValue(' grid-template-columns') is "none"
44 PASS window.getComputedStyle(gridWithAutoFlowStackColumn, '').getPropertyValue(' grid-template-rows') is "none"
45 PASS window.getComputedStyle(gridWithAutoFlowStackColumn, '').getPropertyValue(' grid-template-areas') is "none"
46 PASS window.getComputedStyle(gridWithAutoFlowStackColumn, '').getPropertyValue(' grid-auto-flow') is "stack column"
47 PASS window.getComputedStyle(gridWithAutoFlowStackColumn, '').getPropertyValue(' grid-auto-columns') is "10px"
48 PASS window.getComputedStyle(gridWithAutoFlowStackColumn, '').getPropertyValue(' grid-auto-rows') is "10px"
49 PASS window.getComputedStyle(gridWithAutoFlowRowStack, '').getPropertyValue('gri d-template-columns') is "none"
50 PASS window.getComputedStyle(gridWithAutoFlowRowStack, '').getPropertyValue('gri d-template-rows') is "none"
51 PASS window.getComputedStyle(gridWithAutoFlowRowStack, '').getPropertyValue('gri d-template-areas') is "none"
52 PASS window.getComputedStyle(gridWithAutoFlowRowStack, '').getPropertyValue('gri d-auto-flow') is "stack row"
53 PASS window.getComputedStyle(gridWithAutoFlowRowStack, '').getPropertyValue('gri d-auto-columns') is "10px"
54 PASS window.getComputedStyle(gridWithAutoFlowRowStack, '').getPropertyValue('gri d-auto-rows') is "10px"
31 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-template-columns') is "none" 55 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-template-columns') is "none"
32 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-template-rows') is "none" 56 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-template-rows') is "none"
33 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-template-areas') is "none" 57 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-template-areas') is "none"
34 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-auto-flow') is "column" 58 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-auto-flow') is "column"
35 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-auto-columns') is "10px" 59 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-auto-columns') is "10px"
36 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-auto-rows') is "20px" 60 PASS window.getComputedStyle(gridWithAutoFlowAndColumnsAndRows, '').getPropertyV alue('grid-auto-rows') is "20px"
37 61
38 Test getting wrong values for 'grid' shorthand through CSS (they should resolve to the default: 'none') 62 Test getting wrong values for 'grid' shorthand through CSS (they should resolve to the default: 'none')
39 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-template-columns') is "none" 63 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-template-columns') is "none"
40 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-template-rows') is "none" 64 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-template-rows') is "none"
41 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-template-areas') is "none" 65 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-template-areas') is "none"
42 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-auto-flow') is "none" 66 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-auto-flow') is "row"
43 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-auto-columns') is "auto" 67 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-auto-columns') is "auto"
44 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-auto-rows') is "auto" 68 PASS window.getComputedStyle(gridWithExplicitAndImplicit, '').getPropertyValue(' grid-auto-rows') is "auto"
45 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- template-columns') is "none" 69 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- template-columns') is "none"
46 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- template-rows') is "none" 70 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- template-rows') is "none"
47 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- template-areas') is "none" 71 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- template-areas') is "none"
48 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- auto-flow') is "none" 72 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- auto-flow') is "row"
49 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- auto-columns') is "auto" 73 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- auto-columns') is "auto"
50 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- auto-rows') is "auto" 74 PASS window.getComputedStyle(gridWithMisplacedNone1, '').getPropertyValue('grid- auto-rows') is "auto"
51 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- template-columns') is "none" 75 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- template-columns') is "none"
52 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- template-rows') is "none" 76 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- template-rows') is "none"
53 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- template-areas') is "none" 77 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- template-areas') is "none"
54 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- auto-flow') is "none" 78 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- auto-flow') is "row"
55 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- auto-columns') is "auto" 79 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- auto-columns') is "auto"
56 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- auto-rows') is "auto" 80 PASS window.getComputedStyle(gridWithMisplacedNone2, '').getPropertyValue('grid- auto-rows') is "auto"
81 PASS window.getComputedStyle(gridWithMisplacedDense, '').getPropertyValue('grid- template-columns') is "none"
82 PASS window.getComputedStyle(gridWithMisplacedDense, '').getPropertyValue('grid- template-rows') is "none"
83 PASS window.getComputedStyle(gridWithMisplacedDense, '').getPropertyValue('grid- template-areas') is "none"
84 PASS window.getComputedStyle(gridWithMisplacedDense, '').getPropertyValue('grid- auto-flow') is "row"
85 PASS window.getComputedStyle(gridWithMisplacedDense, '').getPropertyValue('grid- auto-columns') is "auto"
86 PASS window.getComputedStyle(gridWithMisplacedDense, '').getPropertyValue('grid- auto-rows') is "auto"
87 PASS window.getComputedStyle(gridWithMisplacedStack, '').getPropertyValue('grid- template-columns') is "none"
88 PASS window.getComputedStyle(gridWithMisplacedStack, '').getPropertyValue('grid- template-rows') is "none"
89 PASS window.getComputedStyle(gridWithMisplacedStack, '').getPropertyValue('grid- template-areas') is "none"
90 PASS window.getComputedStyle(gridWithMisplacedStack, '').getPropertyValue('grid- auto-flow') is "row"
91 PASS window.getComputedStyle(gridWithMisplacedStack, '').getPropertyValue('grid- auto-columns') is "auto"
92 PASS window.getComputedStyle(gridWithMisplacedStack, '').getPropertyValue('grid- auto-rows') is "auto"
57 93
58 Test getting and setting 'grid' shorthand through JS 94 Test getting and setting 'grid' shorthand through JS
59 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "10px" 95 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "10px"
60 PASS element.style.gridTemplateColumns is "10px" 96 PASS element.style.gridTemplateColumns is "10px"
61 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "20 px" 97 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "20 px"
62 PASS element.style.gridTemplateRows is "20px" 98 PASS element.style.gridTemplateRows is "20px"
63 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one" 99 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one"
64 PASS element.style.gridTemplateAreas is "none" 100 PASS element.style.gridTemplateAreas is "none"
65 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "none" 101 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row"
66 PASS element.style.gridAutoFlow is "initial" 102 PASS element.style.gridAutoFlow is "initial"
67 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut o" 103 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut o"
68 PASS element.style.gridAutoColumns is "initial" 104 PASS element.style.gridAutoColumns is "initial"
69 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" 105 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto"
70 PASS element.style.gridAutoRows is "initial" 106 PASS element.style.gridAutoRows is "initial"
71 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "10px" 107 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "10px"
72 PASS element.style.gridTemplateColumns is "10px" 108 PASS element.style.gridTemplateColumns is "10px"
73 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(l ine) 20px" 109 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(l ine) 20px"
74 PASS element.style.gridTemplateRows is "(line) 20px" 110 PASS element.style.gridTemplateRows is "(line) 20px"
75 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "\ "a\"" 111 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "\ "a\""
76 PASS element.style.gridTemplateAreas is "\"a\"" 112 PASS element.style.gridTemplateAreas is "\"a\""
77 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "none" 113 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row"
78 PASS element.style.gridAutoFlow is "initial" 114 PASS element.style.gridAutoFlow is "initial"
79 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut o" 115 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut o"
80 PASS element.style.gridAutoColumns is "initial" 116 PASS element.style.gridAutoColumns is "initial"
81 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" 117 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto"
82 PASS element.style.gridAutoRows is "initial" 118 PASS element.style.gridAutoRows is "initial"
83 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none" 119 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
84 PASS element.style.gridTemplateColumns is "initial" 120 PASS element.style.gridTemplateColumns is "initial"
85 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne" 121 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne"
86 PASS element.style.gridTemplateRows is "initial" 122 PASS element.style.gridTemplateRows is "initial"
87 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one" 123 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one"
88 PASS element.style.gridTemplateAreas is "initial" 124 PASS element.style.gridTemplateAreas is "initial"
89 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row" 125 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row de nse"
90 PASS element.style.gridAutoFlow is "row" 126 PASS element.style.gridAutoFlow is "row dense"
91 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "20p x" 127 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "20p x"
92 PASS element.style.gridAutoColumns is "20px" 128 PASS element.style.gridAutoColumns is "20px"
93 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "20px" 129 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "20px"
94 PASS element.style.gridAutoRows is "20px" 130 PASS element.style.gridAutoRows is "20px"
95 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none" 131 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
96 PASS element.style.gridTemplateColumns is "initial" 132 PASS element.style.gridTemplateColumns is "initial"
97 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne" 133 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne"
98 PASS element.style.gridTemplateRows is "initial" 134 PASS element.style.gridTemplateRows is "initial"
99 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one" 135 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one"
100 PASS element.style.gridTemplateAreas is "initial" 136 PASS element.style.gridTemplateAreas is "initial"
101 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "column " 137 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "column "
102 PASS element.style.gridAutoFlow is "column" 138 PASS element.style.gridAutoFlow is "column"
103 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "20p x" 139 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "20p x"
104 PASS element.style.gridAutoColumns is "20px" 140 PASS element.style.gridAutoColumns is "20px"
105 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "10px" 141 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "10px"
106 PASS element.style.gridAutoRows is "10px" 142 PASS element.style.gridAutoRows is "10px"
107 143
108 Test the initial value 144 Test the initial value
109 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column s') is "none" 145 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column s') is "none"
110 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none" 146 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none"
111 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas' ) is "none" 147 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-areas' ) is "none"
112 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "none" 148 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row"
113 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "auto" 149 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "auto"
114 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" 150 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto"
115 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is 'none' 151 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is 'none'
116 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no ne' 152 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no ne'
117 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is 'n one' 153 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is 'n one'
118 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'none' 154 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
119 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut o' 155 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut o'
120 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' 156 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto'
121 157
122 Test setting grid-template-columns and grid-template-rows back to 'none' through JS 158 Test setting grid-template-columns and grid-template-rows back to 'none' through JS
123 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none" 159 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
124 PASS element.style.gridTemplateColumns is "initial" 160 PASS element.style.gridTemplateColumns is "initial"
125 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne" 161 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne"
126 PASS element.style.gridTemplateRows is "initial" 162 PASS element.style.gridTemplateRows is "initial"
127 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one" 163 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one"
128 PASS element.style.gridTemplateAreas is "initial" 164 PASS element.style.gridTemplateAreas is "initial"
129 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "column " 165 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "column "
130 PASS element.style.gridAutoFlow is "column" 166 PASS element.style.gridAutoFlow is "column"
131 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "10p x" 167 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "10p x"
132 PASS element.style.gridAutoColumns is "10px" 168 PASS element.style.gridAutoColumns is "10px"
133 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "20px" 169 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "20px"
134 PASS element.style.gridAutoRows is "20px" 170 PASS element.style.gridAutoRows is "20px"
135 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none" 171 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
136 PASS element.style.gridTemplateColumns is "none" 172 PASS element.style.gridTemplateColumns is "none"
137 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne" 173 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no ne"
138 PASS element.style.gridTemplateRows is "none" 174 PASS element.style.gridTemplateRows is "none"
139 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one" 175 PASS getComputedStyle(element, '').getPropertyValue('grid-template-areas') is "n one"
140 PASS element.style.gridTemplateAreas is "none" 176 PASS element.style.gridTemplateAreas is "none"
141 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "none" 177 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is "row"
142 PASS element.style.gridAutoFlow is "initial" 178 PASS element.style.gridAutoFlow is "initial"
143 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut o" 179 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut o"
144 PASS element.style.gridAutoColumns is "initial" 180 PASS element.style.gridAutoColumns is "initial"
145 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" 181 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto"
146 PASS element.style.gridAutoRows is "initial" 182 PASS element.style.gridAutoRows is "initial"
147 PASS successfullyParsed is true 183 PASS successfullyParsed is true
148 184
149 TEST COMPLETE 185 TEST COMPLETE
150 186
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698