| OLD | NEW |
| 1 Test that setting and getting grid-auto-columns and grid-auto-rows works as expe
cted | 1 Test that setting and getting grid-auto-columns and grid-auto-rows works as expe
cted |
| 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-auto-columns and grid-auto-rows set through CSS | 6 Test getting grid-auto-columns and grid-auto-rows set through CSS |
| 7 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-auto
-rows') is "30px" | 7 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-auto
-rows') is "30px" |
| 8 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-auto
-columns') is "50px" | 8 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-auto
-columns') is "50px" |
| 9 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-auto-row
s') is "minmax(10%, 15px)" | 9 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-auto-row
s') is "minmax(10%, 15px)" |
| 10 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-auto-col
umns') is "minmax(30%, 100px)" | 10 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-auto-col
umns') is "minmax(30%, 100px)" |
| 11 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-a
uto-rows') is "min-content" | 11 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-a
uto-rows') is "min-content" |
| 12 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-a
uto-columns') is "max-content" | 12 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-a
uto-columns') is "max-content" |
| 13 PASS window.getComputedStyle(gridAutoAutoInMinMax, '').getPropertyValue('grid-au
to-rows') is "minmax(auto, 48px)" | 13 PASS window.getComputedStyle(gridAutoAutoInMinMax, '').getPropertyValue('grid-au
to-rows') is "minmax(auto, 48px)" |
| 14 PASS window.getComputedStyle(gridAutoAutoInMinMax, '').getPropertyValue('grid-au
to-columns') is "minmax(80px, auto)" | 14 PASS window.getComputedStyle(gridAutoAutoInMinMax, '').getPropertyValue('grid-au
to-columns') is "minmax(80px, auto)" |
| 15 | 15 |
| 16 Test that getting grid-template-columns and grid-template-rows set through CSS l
ists every track listed whether implicitly or explicitly created | 16 Test that getting grid-template-columns and grid-template-rows set through CSS l
ists every track listed whether implicitly or explicitly created |
| 17 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-auto-rows') is "30px" | 17 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-auto-rows') is "30px" |
| 18 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-auto-columns') is "50px" | 18 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-auto-columns') is "50px" |
| 19 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-template-columns') is "50px" | 19 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-template-columns') is "50px" |
| 20 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-template-rows') is "30px" | 20 PASS window.getComputedStyle(gridAutoFixedFixedWithChildren, '').getPropertyValu
e('grid-template-rows') is "30px" |
| 21 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-auto-rows') is "30px" | 21 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-auto-rows') is "30px" |
| 22 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-auto-columns') is "40px" | 22 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-auto-columns') is "40px" |
| 23 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-template-columns') is "20px 40px 40px" | 23 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-template-columns') is "20px 40px 40px" |
| 24 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-template-rows') is "15px 30px 30px" | 24 PASS window.getComputedStyle(gridAutoFixedFixedWithFixedFixedWithChildren, '').g
etPropertyValue('grid-template-rows') is "15px 30px 30px" |
| 25 PASS window.getComputedStyle(gridAutoMultipleTracks, '').getPropertyValue('grid-
template-columns') is "25px 50px 100px 25px" |
| 26 PASS window.getComputedStyle(gridAutoMultipleTracks, '').getPropertyValue('grid-
template-rows') is "10px 20px 30px 10px" |
| 27 PASS window.getComputedStyle(gridAutoMultipleTracksNegativeIndexes, '').getPrope
rtyValue('grid-template-columns') is "100px 25px 50px 100px" |
| 28 PASS window.getComputedStyle(gridAutoMultipleTracksNegativeIndexes, '').getPrope
rtyValue('grid-template-rows') is "30px 10px 20px 30px" |
| 25 | 29 |
| 26 Test that grid-template-* definitions are not affected by grid-auto-* definition
s | 30 Test that grid-template-* definitions are not affected by grid-auto-* definition
s |
| 27 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-temp
late-columns') is "none" | 31 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-temp
late-columns') is "none" |
| 28 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-temp
late-rows') is "none" | 32 PASS window.getComputedStyle(gridAutoFixedFixed, '').getPropertyValue('grid-temp
late-rows') is "none" |
| 29 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-template
-columns') is "none" | 33 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-template
-columns') is "none" |
| 30 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-template
-rows') is "none" | 34 PASS window.getComputedStyle(gridAutoMinMax, '').getPropertyValue('grid-template
-rows') is "none" |
| 31 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-t
emplate-columns') is "none" | 35 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-t
emplate-columns') is "none" |
| 32 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-t
emplate-rows') is "none" | 36 PASS window.getComputedStyle(gridAutoMinMaxContent, '').getPropertyValue('grid-t
emplate-rows') is "none" |
| 33 | 37 |
| 34 Test the initial value | 38 Test the initial value |
| 35 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' | 39 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' |
| 36 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' | 40 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' |
| 37 | 41 |
| 38 Test getting and setting grid-auto-columns and grid-auto-rows through JS | 42 Test getting and setting grid-auto-columns and grid-auto-rows through JS |
| 39 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is '180
px' | 43 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "180
px" |
| 40 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is '660px' | 44 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "660px" |
| 41 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'min
max(min-content, 48px)' | 45 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "min
max(min-content, 48px)" |
| 42 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'minmax
(80px, min-content)' | 46 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "minmax
(80px, min-content)" |
| 43 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'min
max(min-content, max-content)' | 47 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "min
max(min-content, max-content)" |
| 44 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'minmax
(max-content, min-content)' | 48 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "minmax
(max-content, min-content)" |
| 49 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "min
max(min-content, 10px) 48px 5%" |
| 50 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto 3
0px minmax(10%, 60%)" |
| 45 | 51 |
| 46 Test setting grid-auto-columns and grid-auto-rows to bad minmax value through JS | 52 Test setting grid-auto-columns and grid-auto-rows to bad minmax value through JS |
| 47 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' | 53 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
| 48 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' | 54 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
| 49 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' | 55 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
| 50 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' | 56 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
| 51 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' | 57 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
| 52 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' | 58 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
| 53 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' | 59 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
| 54 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' | 60 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
| 61 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
| 62 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
| 63 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is "aut
o" |
| 64 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is "auto" |
| 55 | 65 |
| 56 Test setting grid-auto-columns and grid-auto-rows to 'inherit' through JS | 66 Test setting grid-auto-columns and grid-auto-rows to 'inherit' through JS |
| 57 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is '50p
x' | 67 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is '50p
x' |
| 58 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is '101%' | 68 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is '101%' |
| 59 | 69 |
| 60 Test setting grid-auto-columns and grid-auto-rows to 'initial' through JS | 70 Test setting grid-auto-columns and grid-auto-rows to 'initial' through JS |
| 61 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is '150
%' | 71 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is '150
%' |
| 62 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is '1fr' | 72 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is '1fr' |
| 63 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' | 73 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-columns') is 'aut
o' |
| 64 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' | 74 PASS getComputedStyle(element, '').getPropertyValue('grid-auto-rows') is 'auto' |
| 65 PASS successfullyParsed is true | 75 PASS successfullyParsed is true |
| 66 | 76 |
| 67 TEST COMPLETE | 77 TEST COMPLETE |
| 68 | 78 |
| OLD | NEW |