blob: 142e4ef6f525817c82da61dfdc5a711949226949 [file] [log] [blame]
This test checks that, getting the computed style of a grid with only absolutelly positioned children and no tracks in some axis, does not CRASH.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.getComputedStyle(grid1, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(grid1, '').getPropertyValue('grid-template-rows') is "20px"
PASS window.getComputedStyle(grid2, '').getPropertyValue('grid-template-columns') is "10px"
PASS window.getComputedStyle(grid2, '').getPropertyValue('grid-template-rows') is "none"
PASS window.getComputedStyle(grid3, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(grid3, '').getPropertyValue('grid-template-rows') is "none"
PASS window.getComputedStyle(grid4, '').getPropertyValue('grid-template-columns') is "[a] 0px [b a] 0px [b a] 0px [b a] 0px [b a] 0px [b]"
PASS window.getComputedStyle(grid4, '').getPropertyValue('grid-template-rows') is "none"
PASS window.getComputedStyle(grid5, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(grid5, '').getPropertyValue('grid-template-rows') is "[a] 0px [b]"
PASS window.getComputedStyle(grid6, '').getPropertyValue('grid-template-columns') is "[a] 0px [b a] 0px [b a] 0px [b] 10px 30px"
PASS window.getComputedStyle(grid6, '').getPropertyValue('grid-template-rows') is "none"
PASS window.getComputedStyle(grid7, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(grid7, '').getPropertyValue('grid-template-rows') is "[a] 0px [b] 10px 30px"
PASS successfullyParsed is true
TEST COMPLETE