| OLD | NEW |
| 1 Test that setting and getting justify-items works as expected | 1 Test that setting and getting justify-items 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 justify-items set through CSS | 6 Test getting justify-items set through CSS |
| 7 PASS getComputedStyle(justifyItemsBaseline, '').getPropertyValue('justify-items'
) is 'baseline' | 7 PASS getComputedStyle(justifyItemsBaseline, '').getPropertyValue('justify-items'
) is 'baseline' |
| 8 PASS getComputedStyle(justifyItemsLastBaseline, '').getPropertyValue('justify-it
ems') is 'last-baseline' | 8 PASS getComputedStyle(justifyItemsLastBaseline, '').getPropertyValue('justify-it
ems') is 'last-baseline' |
| 9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items')
is 'stretch' | 9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items')
is 'stretch' |
| 10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') i
s 'start' | 10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') i
s 'start' |
| 11 PASS getComputedStyle(justifyItemsEnd, '').getPropertyValue('justify-items') is
'end' | 11 PASS getComputedStyle(justifyItemsEnd, '').getPropertyValue('justify-items') is
'end' |
| 12 PASS getComputedStyle(justifyItemsCenter, '').getPropertyValue('justify-items')
is 'center' | 12 PASS getComputedStyle(justifyItemsCenter, '').getPropertyValue('justify-items')
is 'center' |
| 13 PASS getComputedStyle(justifyItemsSelfEnd, '').getPropertyValue('justify-items')
is 'self-end' | 13 PASS getComputedStyle(justifyItemsSelfEnd, '').getPropertyValue('justify-items')
is 'self-end' |
| 14 PASS getComputedStyle(justifyItemsSelfStart, '').getPropertyValue('justify-items
') is 'self-start' | 14 PASS getComputedStyle(justifyItemsSelfStart, '').getPropertyValue('justify-items
') is 'self-start' |
| 15 PASS getComputedStyle(justifyItemsLeft, '').getPropertyValue('justify-items') is
'left' | 15 PASS getComputedStyle(justifyItemsLeft, '').getPropertyValue('justify-items') is
'left' |
| 16 PASS getComputedStyle(justifyItemsRight, '').getPropertyValue('justify-items') i
s 'right' | 16 PASS getComputedStyle(justifyItemsRight, '').getPropertyValue('justify-items') i
s 'right' |
| 17 PASS getComputedStyle(justifyItemsFlexStart, '').getPropertyValue('justify-items
') is 'flex-start' | 17 PASS getComputedStyle(justifyItemsFlexStart, '').getPropertyValue('justify-items
') is 'flex-start' |
| 18 PASS getComputedStyle(justifyItemsFlexEnd, '').getPropertyValue('justify-items')
is 'flex-end' | 18 PASS getComputedStyle(justifyItemsFlexEnd, '').getPropertyValue('justify-items')
is 'flex-end' |
| 19 PASS getComputedStyle(justifyItemsEndTrue, '').getPropertyValue('justify-items')
is 'end true' | 19 PASS getComputedStyle(justifyItemsEndUnsafe, '').getPropertyValue('justify-items
') is 'end unsafe' |
| 20 PASS getComputedStyle(justifyItemsCenterTrue, '').getPropertyValue('justify-item
s') is 'center true' | 20 PASS getComputedStyle(justifyItemsCenterUnsafe, '').getPropertyValue('justify-it
ems') is 'center unsafe' |
| 21 PASS getComputedStyle(justifyItemsSelfEndSafe, '').getPropertyValue('justify-ite
ms') is 'self-end safe' | 21 PASS getComputedStyle(justifyItemsSelfEndSafe, '').getPropertyValue('justify-ite
ms') is 'self-end safe' |
| 22 PASS getComputedStyle(justifyItemsSelfStartSafe, '').getPropertyValue('justify-i
tems') is 'self-start safe' | 22 PASS getComputedStyle(justifyItemsSelfStartSafe, '').getPropertyValue('justify-i
tems') is 'self-start safe' |
| 23 PASS getComputedStyle(justifyItemsRightSafe, '').getPropertyValue('justify-items
') is 'right safe' | 23 PASS getComputedStyle(justifyItemsRightSafe, '').getPropertyValue('justify-items
') is 'right safe' |
| 24 PASS getComputedStyle(justifyItemsLeftTrue, '').getPropertyValue('justify-items'
) is 'left true' | 24 PASS getComputedStyle(justifyItemsLeftUnsafe, '').getPropertyValue('justify-item
s') is 'left unsafe' |
| 25 PASS getComputedStyle(justifyItemsFlexStartTrue, '').getPropertyValue('justify-i
tems') is 'flex-start true' | 25 PASS getComputedStyle(justifyItemsFlexStartUnsafe, '').getPropertyValue('justify
-items') is 'flex-start unsafe' |
| 26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-ite
ms') is 'flex-end safe' | 26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-ite
ms') is 'flex-end safe' |
| 27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-item
s') is 'legacy left' | 27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-item
s') is 'legacy left' |
| 28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-it
ems') is 'legacy center' | 28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-it
ems') is 'legacy center' |
| 29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-ite
ms') is 'legacy right' | 29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-ite
ms') is 'legacy right' |
| 30 PASS getComputedStyle(justifyItemsLeftLegacy, '').getPropertyValue('justify-item
s') is 'legacy left' | 30 PASS getComputedStyle(justifyItemsLeftLegacy, '').getPropertyValue('justify-item
s') is 'legacy left' |
| 31 PASS getComputedStyle(justifyItemsCenterLegacy, '').getPropertyValue('justify-it
ems') is 'legacy center' | 31 PASS getComputedStyle(justifyItemsCenterLegacy, '').getPropertyValue('justify-it
ems') is 'legacy center' |
| 32 PASS getComputedStyle(justifyItemsRightLegacy, '').getPropertyValue('justify-ite
ms') is 'legacy right' | 32 PASS getComputedStyle(justifyItemsRightLegacy, '').getPropertyValue('justify-ite
ms') is 'legacy right' |
| 33 | 33 |
| 34 Test initial value of justify-items through JS | 34 Test initial value of justify-items through JS |
| 35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start' | 35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start' |
| 36 | 36 |
| 37 Test getting and setting justify-items through JS | 37 Test getting and setting justify-items through JS |
| 38 PASS element.style.justifyItems is "center" | 38 PASS element.style.justifyItems is "center" |
| 39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" | 39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" |
| 40 PASS element.style.justifyItems is "start true" | 40 PASS element.style.justifyItems is "start unsafe" |
| 41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start true" | 41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start unsafe" |
| 42 PASS element.style.justifyItems is "flex-end safe" | 42 PASS element.style.justifyItems is "flex-end safe" |
| 43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
flex-end safe" | 43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
flex-end safe" |
| 44 PASS element.style.justifyItems is "legacy right" | 44 PASS element.style.justifyItems is "legacy right" |
| 45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | 45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
| 46 PASS element.style.justifyItems is "legacy center" | 46 PASS element.style.justifyItems is "legacy center" |
| 47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | 47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" |
| 48 PASS element.style.justifyItems is "legacy left" | 48 PASS element.style.justifyItems is "legacy left" |
| 49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" | 49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" |
| 50 PASS element.style.justifyItems is "auto" | 50 PASS element.style.justifyItems is "auto" |
| 51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 PASS element.style.justifyItems is "initial" | 112 PASS element.style.justifyItems is "initial" |
| 113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 114 | 114 |
| 115 Test the value 'initial' for grid containers | 115 Test the value 'initial' for grid containers |
| 116 PASS element.style.justifyItems is "left safe" | 116 PASS element.style.justifyItems is "left safe" |
| 117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | 117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" |
| 118 PASS element.style.justifyItems is "initial" | 118 PASS element.style.justifyItems is "initial" |
| 119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" | 119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" |
| 120 | 120 |
| 121 Test the value 'initial' for flex containers | 121 Test the value 'initial' for flex containers |
| 122 PASS element.style.justifyItems is "right true" | 122 PASS element.style.justifyItems is "right unsafe" |
| 123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
right true" | 123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
right unsafe" |
| 124 PASS element.style.justifyItems is "initial" | 124 PASS element.style.justifyItems is "initial" |
| 125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" | 125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" |
| 126 | 126 |
| 127 Test the value 'inherit' | 127 Test the value 'inherit' |
| 128 PASS element.style.justifyItems is "end" | 128 PASS element.style.justifyItems is "end" |
| 129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" | 129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" |
| 130 PASS element.style.justifyItems is "inherit" | 130 PASS element.style.justifyItems is "inherit" |
| 131 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" | 131 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" |
| 132 PASS element.style.justifyItems is "left safe" | 132 PASS element.style.justifyItems is "left safe" |
| 133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | 133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 148 PASS element.style.justifyItems is "" | 148 PASS element.style.justifyItems is "" |
| 149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | 149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" |
| 150 PASS element.style.justifyItems is "legacy right" | 150 PASS element.style.justifyItems is "legacy right" |
| 151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | 151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
| 152 PASS element.style.justifyItems is "" | 152 PASS element.style.justifyItems is "" |
| 153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | 153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
| 154 PASS successfullyParsed is true | 154 PASS successfullyParsed is true |
| 155 | 155 |
| 156 TEST COMPLETE | 156 TEST COMPLETE |
| 157 | 157 |
| OLD | NEW |