OLD | NEW |
1 Test that setting and getting display: grid and inline-grid works as expected | 1 Test that setting and getting display: grid and inline-grid 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 |display| set through CSS | 6 Test getting |display| set through CSS |
7 PASS getComputedStyle(gridElement, '').getPropertyValue('display') is 'grid' | 7 PASS getComputedStyle(gridElement, '').getPropertyValue('display') is 'grid' |
8 PASS getComputedStyle(inlineGridElement, '').getPropertyValue('display') is 'inl
ine-grid' | 8 PASS getComputedStyle(inlineGridElement, '').getPropertyValue('display') is 'inl
ine-grid' |
| 9 PASS getComputedStyle(inlineFloatGridElement, '').getPropertyValue('display') is
'grid' |
| 10 PASS getComputedStyle(inlineAbsoluteGridElement, '').getPropertyValue('display')
is 'grid' |
9 | 11 |
10 Test getting and setting display through JS | 12 Test getting and setting display through JS |
11 PASS getComputedStyle(element, '').getPropertyValue('display') is 'block' | 13 PASS getComputedStyle(element, '').getPropertyValue('display') is 'block' |
12 PASS getComputedStyle(element, '').getPropertyValue('display') is 'grid' | 14 PASS getComputedStyle(element, '').getPropertyValue('display') is 'grid' |
13 PASS getComputedStyle(element, '').getPropertyValue('display') is 'block' | 15 PASS getComputedStyle(element, '').getPropertyValue('display') is 'block' |
14 PASS getComputedStyle(element, '').getPropertyValue('display') is 'inline-grid' | 16 PASS getComputedStyle(element, '').getPropertyValue('display') is 'inline-grid' |
15 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
16 | 18 |
17 TEST COMPLETE | 19 TEST COMPLETE |
18 | 20 |
OLD | NEW |