OLD | NEW |
1 Test that setting and getting grid-definition-columns and grid-definition-rows w
orks 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-definition-columns| and |grid-definition-rows| set through CS
S | 6 Test getting |grid-template-columns| and |grid-template-rows| set through CSS |
7 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-de
finition-columns') is "7px 11px" | 7 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "7px 11px" |
8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-de
finition-rows') is "17px 2px" | 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "17px 2px" |
9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
definition-columns') is "424px 792px" | 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "424px 792px" |
10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
definition-rows') is "162px 312px" | 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "162px 312px" |
11 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-definition-columns') is "7px 0px" | 11 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-columns') is "7px 0px" |
12 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-definition-rows') is "11px 0px" | 12 PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('g
rid-template-rows') is "11px 0px" |
13 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-def
inition-columns') is "0px 17px" | 13 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-columns') is "0px 17px" |
14 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-def
inition-rows') is "0px 3px" | 14 PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-tem
plate-rows') is "0px 3px" |
15 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-defin
ition-columns') is "100px 120px" | 15 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-templ
ate-columns') is "100px 120px" |
16 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-defin
ition-rows') is "150px 170px" | 16 PASS window.getComputedStyle(gridWithEMElement, '').getPropertyValue('grid-templ
ate-rows') is "150px 170px" |
17 PASS window.getComputedStyle(gridWithThreeItems, '').getPropertyValue('grid-defi
nition-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-defi
nition-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-definition-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-definition-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-definition-columns') is "none" | 21 PASS window.getComputedStyle(gridWithFitContentAndFitAvailable, '').getPropertyV
alue('grid-template-columns') is "none" |
22 PASS window.getComputedStyle(gridWithFitContentAndFitAvailable, '').getPropertyV
alue('grid-definition-rows') is "none" | 22 PASS window.getComputedStyle(gridWithFitContentAndFitAvailable, '').getPropertyV
alue('grid-template-rows') is "none" |
23 PASS window.getComputedStyle(gridWithMinMaxContent, '').getPropertyValue('grid-d
efinition-columns') is "0px 0px" | 23 PASS window.getComputedStyle(gridWithMinMaxContent, '').getPropertyValue('grid-t
emplate-columns') is "0px 0px" |
24 PASS window.getComputedStyle(gridWithMinMaxContent, '').getPropertyValue('grid-d
efinition-rows') is "0px 0px" | 24 PASS window.getComputedStyle(gridWithMinMaxContent, '').getPropertyValue('grid-t
emplate-rows') is "0px 0px" |
25 PASS window.getComputedStyle(gridWithMinMaxContentWithChildrenElement, '').getPr
opertyValue('grid-definition-columns') is "7px 17px" | 25 PASS window.getComputedStyle(gridWithMinMaxContentWithChildrenElement, '').getPr
opertyValue('grid-template-columns') is "7px 17px" |
26 PASS window.getComputedStyle(gridWithMinMaxContentWithChildrenElement, '').getPr
opertyValue('grid-definition-rows') is "11px 3px" | 26 PASS window.getComputedStyle(gridWithMinMaxContentWithChildrenElement, '').getPr
opertyValue('grid-template-rows') is "11px 3px" |
27 PASS window.getComputedStyle(gridWithMinMaxAndFixed, '').getPropertyValue('grid-
definition-columns') is "240px 15px" | 27 PASS window.getComputedStyle(gridWithMinMaxAndFixed, '').getPropertyValue('grid-
template-columns') is "240px 15px" |
28 PASS window.getComputedStyle(gridWithMinMaxAndFixed, '').getPropertyValue('grid-
definition-rows') is "120px 210px" | 28 PASS window.getComputedStyle(gridWithMinMaxAndFixed, '').getPropertyValue('grid-
template-rows') is "120px 210px" |
29 PASS window.getComputedStyle(gridWithMinMaxAndMinMaxContent, '').getPropertyValu
e('grid-definition-columns') is "240px 15px" | 29 PASS window.getComputedStyle(gridWithMinMaxAndMinMaxContent, '').getPropertyValu
e('grid-template-columns') is "240px 15px" |
30 PASS window.getComputedStyle(gridWithMinMaxAndMinMaxContent, '').getPropertyValu
e('grid-definition-rows') is "120px 210px" | 30 PASS window.getComputedStyle(gridWithMinMaxAndMinMaxContent, '').getPropertyValu
e('grid-template-rows') is "120px 210px" |
31 PASS window.getComputedStyle(gridWithFractionFraction, '').getPropertyValue('gri
d-definition-columns') is "320px 480px" | 31 PASS window.getComputedStyle(gridWithFractionFraction, '').getPropertyValue('gri
d-template-columns') is "320px 480px" |
32 PASS window.getComputedStyle(gridWithFractionFraction, '').getPropertyValue('gri
d-definition-rows') is "225px 375px" | 32 PASS window.getComputedStyle(gridWithFractionFraction, '').getPropertyValue('gri
d-template-rows') is "225px 375px" |
33 PASS window.getComputedStyle(gridWithFractionMinMax, '').getPropertyValue('grid-
definition-columns') is "45px 755px" | 33 PASS window.getComputedStyle(gridWithFractionMinMax, '').getPropertyValue('grid-
template-columns') is "45px 755px" |
34 PASS window.getComputedStyle(gridWithFractionMinMax, '').getPropertyValue('grid-
definition-rows') is "586px 14px" | 34 PASS window.getComputedStyle(gridWithFractionMinMax, '').getPropertyValue('grid-
template-rows') is "586px 14px" |
35 PASS window.getComputedStyle(gridWithCalcCalc, '').getPropertyValue('grid-defini
tion-columns') is "200px 100px" | 35 PASS window.getComputedStyle(gridWithCalcCalc, '').getPropertyValue('grid-templa
te-columns') is "200px 100px" |
36 PASS window.getComputedStyle(gridWithCalcCalc, '').getPropertyValue('grid-defini
tion-rows') is "150px 75px" | 36 PASS window.getComputedStyle(gridWithCalcCalc, '').getPropertyValue('grid-templa
te-rows') is "150px 75px" |
37 PASS window.getComputedStyle(gridWithCalcAndFixed, '').getPropertyValue('grid-de
finition-columns') is "400px 80px" | 37 PASS window.getComputedStyle(gridWithCalcAndFixed, '').getPropertyValue('grid-te
mplate-columns') is "400px 80px" |
38 PASS window.getComputedStyle(gridWithCalcAndFixed, '').getPropertyValue('grid-de
finition-rows') is "88px 150px" | 38 PASS window.getComputedStyle(gridWithCalcAndFixed, '').getPropertyValue('grid-te
mplate-rows') is "88px 150px" |
39 PASS window.getComputedStyle(gridWithCalcAndMinMax, '').getPropertyValue('grid-d
efinition-columns') is "190px 80px" | 39 PASS window.getComputedStyle(gridWithCalcAndMinMax, '').getPropertyValue('grid-t
emplate-columns') is "190px 80px" |
40 PASS window.getComputedStyle(gridWithCalcAndMinMax, '').getPropertyValue('grid-d
efinition-rows') is "150px 53px" | 40 PASS window.getComputedStyle(gridWithCalcAndMinMax, '').getPropertyValue('grid-t
emplate-rows') is "150px 53px" |
41 PASS window.getComputedStyle(gridWithCalcInsideMinMax, '').getPropertyValue('gri
d-definition-columns') is "400px 120px" | 41 PASS window.getComputedStyle(gridWithCalcInsideMinMax, '').getPropertyValue('gri
d-template-columns') is "400px 120px" |
42 PASS window.getComputedStyle(gridWithCalcInsideMinMax, '').getPropertyValue('gri
d-definition-rows') is "150px 175px" | 42 PASS window.getComputedStyle(gridWithCalcInsideMinMax, '').getPropertyValue('gri
d-template-rows') is "150px 175px" |
43 | 43 |
44 Test the initial value | 44 Test the initial value |
45 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s 'none' | 45 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' |
46 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is '
none' | 46 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' |
47 | 47 |
48 Test getting and setting grid-definition-rows and grid-definition-columns throug
h JS | 48 Test getting and setting grid-template-rows and grid-template-columns through JS |
49 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "18px 22px" | 49 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"18px 22px" |
50 PASS element.style.gridDefinitionColumns is "18px 22px" | 50 PASS element.style.gridTemplateColumns is "18px 22px" |
51 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
66px 70px" | 51 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "66
px 70px" |
52 PASS element.style.gridDefinitionRows is "66px 70px" | 52 PASS element.style.gridTemplateRows is "66px 70px" |
53 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "440px 640px" | 53 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"440px 640px" |
54 PASS element.style.gridDefinitionColumns is "55% 80%" | 54 PASS element.style.gridTemplateColumns is "55% 80%" |
55 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
240px 378px" | 55 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "24
0px 378px" |
56 PASS element.style.gridDefinitionRows is "40% 63%" | 56 PASS element.style.gridTemplateRows is "40% 63%" |
57 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "0px 0px" | 57 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"0px 0px" |
58 PASS element.style.gridDefinitionColumns is "auto auto" | 58 PASS element.style.gridTemplateColumns is "auto auto" |
59 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
0px 0px" | 59 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0p
x 0px" |
60 PASS element.style.gridDefinitionRows is "auto auto" | 60 PASS element.style.gridTemplateRows is "auto auto" |
61 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "0px 160px 22px" | 61 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"0px 160px 22px" |
62 PASS element.style.gridDefinitionColumns is "auto 16em 22px" | 62 PASS element.style.gridTemplateColumns is "auto 16em 22px" |
63 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
336px 100px 0px" | 63 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "33
6px 100px 0px" |
64 PASS element.style.gridDefinitionRows is "56% 10em auto" | 64 PASS element.style.gridTemplateRows is "56% 10em auto" |
65 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "160px 20px" | 65 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"160px 20px" |
66 PASS element.style.gridDefinitionColumns is "16em minmax(16px, 20px)" | 66 PASS element.style.gridTemplateColumns is "16em minmax(16px, 20px)" |
67 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
90px 0px" | 67 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "90
px 0px" |
68 PASS element.style.gridDefinitionRows is "minmax(10%, 15%) auto" | 68 PASS element.style.gridTemplateRows is "minmax(10%, 15%) auto" |
69 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "160px 640px" | 69 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"160px 640px" |
70 PASS element.style.gridDefinitionColumns is "16em 2fr" | 70 PASS element.style.gridTemplateColumns is "16em 2fr" |
71 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
600px 0px" | 71 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "60
0px 0px" |
72 PASS element.style.gridDefinitionRows is "14fr auto" | 72 PASS element.style.gridTemplateRows is "14fr auto" |
73 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "400px 96px" | 73 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"400px 96px" |
74 PASS element.style.gridDefinitionColumns is "50% 12vw" | 74 PASS element.style.gridTemplateColumns is "50% 12vw" |
75 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
30px 510px" | 75 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "30
px 510px" |
76 PASS element.style.gridDefinitionRows is "5% 85vh" | 76 PASS element.style.gridTemplateRows is "5% 85vh" |
77 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "25px 20px" | 77 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"25px 20px" |
78 PASS element.style.gridDefinitionColumns is "calc(25px) calc(2em)" | 78 PASS element.style.gridTemplateColumns is "calc(25px) calc(2em)" |
79 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
0px 60px" | 79 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0p
x 60px" |
80 PASS element.style.gridDefinitionRows is "auto calc(10%)" | 80 PASS element.style.gridTemplateRows is "auto calc(10%)" |
81 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s "345px 92px" | 81 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"345px 92px" |
82 PASS element.style.gridDefinitionColumns is "calc(25px + 40%) minmax(min-content
, calc(10% + 12px))" | 82 PASS element.style.gridTemplateColumns is "calc(25px + 40%) minmax(min-content,
calc(10% + 12px))" |
83 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is "
100px 0px" | 83 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "10
0px 0px" |
84 PASS element.style.gridDefinitionRows is "minmax(calc(75% - 350px), max-content)
auto" | 84 PASS element.style.gridTemplateRows is "minmax(calc(75% - 350px), max-content) a
uto" |
85 | 85 |
86 Test getting wrong values set from CSS | 86 Test getting wrong values set from CSS |
87 PASS getComputedStyle(gridWithNoneAndAuto, '').getPropertyValue('grid-definition
-columns') is 'none' | 87 PASS getComputedStyle(gridWithNoneAndAuto, '').getPropertyValue('grid-template-c
olumns') is 'none' |
88 PASS getComputedStyle(gridWithNoneAndAuto, '').getPropertyValue('grid-definition
-rows') is 'none' | 88 PASS getComputedStyle(gridWithNoneAndAuto, '').getPropertyValue('grid-template-r
ows') is 'none' |
89 PASS getComputedStyle(gridWithNoneAndFixed, '').getPropertyValue('grid-definitio
n-columns') is 'none' | 89 PASS getComputedStyle(gridWithNoneAndFixed, '').getPropertyValue('grid-template-
columns') is 'none' |
90 PASS getComputedStyle(gridWithNoneAndFixed, '').getPropertyValue('grid-definitio
n-rows') is 'none' | 90 PASS getComputedStyle(gridWithNoneAndFixed, '').getPropertyValue('grid-template-
rows') is 'none' |
91 | 91 |
92 Test setting and getting wrong values from JS | 92 Test setting and getting wrong values from JS |
93 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 93 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
94 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 94 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
95 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 95 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
96 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 96 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
97 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 97 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
98 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 98 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
99 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 99 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
100 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 100 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
101 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 101 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
102 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 102 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
103 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 103 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
104 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 104 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
105 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 105 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
106 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 106 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
107 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 107 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
108 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 108 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
109 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 109 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
110 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 110 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
111 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 111 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
112 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 112 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
113 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "none" | 113 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
114 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "none" | 114 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
115 | 115 |
116 Test setting grid-definition-columns and grid-definition-rows to 'inherit' throu
gh JS | 116 Test setting grid-template-columns and grid-template-rows to 'inherit' through J
S |
117 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "50px 750px (last)" | 117 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "50px 750px (last)" |
118 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "20px (middle) 45px" | 118 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "20px (middle) 45px" |
119 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "50px 0px (last)" | 119 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "50px 0px (last)" |
120 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "20px (middle) 45px" | 120 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "20px (middle) 45px" |
121 | 121 |
122 Test setting grid-definition-columns and grid-definition-rows to 'initial' throu
gh JS | 122 Test setting grid-template-columns and grid-template-rows to 'initial' through J
S |
123 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-colu
mns') is "1200px (middle) 55px" | 123 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "1200px (middle) 55px" |
124 PASS window.getComputedStyle(element, '').getPropertyValue('grid-definition-rows
') is "200px (line) 400px (line)" | 124 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "200px (line) 400px (line)" |
125 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-columns') i
s 'none' | 125 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
'none' |
126 PASS getComputedStyle(element, '').getPropertyValue('grid-definition-rows') is '
none' | 126 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is 'no
ne' |
127 PASS successfullyParsed is true | 127 PASS successfullyParsed is true |
128 | 128 |
129 TEST COMPLETE | 129 TEST COMPLETE |
130 | 130 |
OLD | NEW |