| Test that setting and getting display: grid and inline-grid works as expected |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| Test getting |display| set through CSS |
| PASS getComputedStyle(gridElement, '').getPropertyValue('display') is '-webkit-grid' |
| PASS getComputedStyle(inlineGridElement, '').getPropertyValue('display') is '-webkit-inline-grid' |
| |
| Test getting and setting display through JS |
| PASS getComputedStyle(element, '').getPropertyValue('display') is 'block' |
| PASS getComputedStyle(element, '').getPropertyValue('display') is '-webkit-grid' |
| PASS getComputedStyle(element, '').getPropertyValue('display') is 'block' |
| PASS getComputedStyle(element, '').getPropertyValue('display') is '-webkit-inline-grid' |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |