| OLD | NEW |
| 1 Test that setting and getting grid-template-columns and grid-template-rows works
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-template-columns and grid-template-rows set through CSS | 6 Test getting grid-template-columns and grid-template-rows set through CSS |
| 7 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "(first) 10px" | 7 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-columns') is "(first) 10px" |
| 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "(first) 15px" | 8 PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-te
mplate-rows') is "(first) 15px" |
| 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "53% (last)" | 9 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-columns') is "53% (last)" |
| 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "27% (last)" | 10 PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-
template-rows') is "27% (last)" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 PASS element.style.gridTemplateRows is "(first nav) minmax(max-content, min-cont
ent) (last)" | 64 PASS element.style.gridTemplateRows is "(first nav) minmax(max-content, min-cont
ent) (last)" |
| 65 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"(first nav) minmax(min-content, max-content) (nav) auto (last)" | 65 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"(first nav) minmax(min-content, max-content) (nav) auto (last)" |
| 66 PASS element.style.gridTemplateColumns is "(first nav) minmax(min-content, max-c
ontent) (nav) auto (last)" | 66 PASS element.style.gridTemplateColumns is "(first nav) minmax(min-content, max-c
ontent) (nav) auto (last)" |
| 67 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(f
irst nav2) minmax(max-content, min-content) (nav2) minmax(10px, 15px) (last)" | 67 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(f
irst nav2) minmax(max-content, min-content) (nav2) minmax(10px, 15px) (last)" |
| 68 PASS element.style.gridTemplateRows is "(first nav2) minmax(max-content, min-con
tent) (nav2) minmax(10px, 15px) (last)" | 68 PASS element.style.gridTemplateRows is "(first nav2) minmax(max-content, min-con
tent) (nav2) minmax(10px, 15px) (last)" |
| 69 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"(foo bar) auto (foo) auto (bar)" | 69 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"(foo bar) auto (foo) auto (bar)" |
| 70 PASS element.style.gridTemplateColumns is "(foo bar) auto (foo) auto (bar)" | 70 PASS element.style.gridTemplateColumns is "(foo bar) auto (foo) auto (bar)" |
| 71 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(f
oo bar) auto (foo) auto (bar)" | 71 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(f
oo bar) auto (foo) auto (bar)" |
| 72 PASS element.style.gridTemplateRows is "(foo bar) auto (foo) auto (bar)" | 72 PASS element.style.gridTemplateRows is "(foo bar) auto (foo) auto (bar)" |
| 73 | 73 |
| 74 Test getting invalid grid-template-columns and grid-template-rows set through CS
S |
| 75 PASS window.getComputedStyle(gridWithAutoAsCustomIdent, '').getPropertyValue('gr
id-template-columns') is "none" |
| 76 PASS window.getComputedStyle(gridWithAutoAsCustomIdent, '').getPropertyValue('gr
id-template-rows') is "none" |
| 77 PASS window.getComputedStyle(gridWithMinmaxAsCustomIdent, '').getPropertyValue('
grid-template-columns') is "none" |
| 78 PASS window.getComputedStyle(gridWithMinmaxAsCustomIdent, '').getPropertyValue('
grid-template-rows') is "none" |
| 79 PASS window.getComputedStyle(gridWithSubgridAsCustomIdent, '').getPropertyValue(
'grid-template-columns') is "none" |
| 80 PASS window.getComputedStyle(gridWithSubgridAsCustomIdent, '').getPropertyValue(
'grid-template-rows') is "none" |
| 81 |
| 74 Test getting and setting invalid grid-template-columns and grid-template-rows th
rough JS | 82 Test getting and setting invalid grid-template-columns and grid-template-rows th
rough JS |
| 75 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"none" | 83 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 76 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no
ne" | 84 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 77 PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is
"none" | 85 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
s') is "none" |
| 78 PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "no
ne" | 86 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows')
is "none" |
| 79 PASS successfullyParsed is true | 87 PASS successfullyParsed is true |
| 80 | 88 |
| 81 TEST COMPLETE | 89 TEST COMPLETE |
| 82 | 90 |
| OLD | NEW |