blob: f5cc81b942426c1c39be6739fc98a6f2e7418c3f [file] [log] [blame]
Test that an element supports z-index once it is a grid item and it is repainted properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test z-index property for a regular element
PASS getComputedStyle(item, '').getPropertyValue('z-index') is 'auto'
PASS getComputedStyle(item, '').getPropertyValue('z-index') is '-10'
Test z-index property once the element becomes a grid item
PASS getComputedStyle(item, '').getPropertyValue('z-index') is '-10'
PASS getComputedStyle(item, '').getPropertyValue('z-index') is '10'
PASS successfullyParsed is true
TEST COMPLETE