blob: 8a27e8d4c0cd226e5c7f3427aa7012a53bef87d7 [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 'auto'
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