OLD | NEW |
(Empty) | |
| 1 Test that setting and getting justify-items works as expected |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Test getting justify-items set through CSS |
| 7 PASS getComputedStyle(justifyItemsBaseline, '').getPropertyValue('justify-items'
) is 'baseline' |
| 8 PASS getComputedStyle(justifyItemsLastBaseline, '').getPropertyValue('justify-it
ems') is 'last-baseline' |
| 9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items')
is 'stretch' |
| 10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') i
s 'start' |
| 11 PASS getComputedStyle(justifyItemsEnd, '').getPropertyValue('justify-items') is
'end' |
| 12 PASS getComputedStyle(justifyItemsCenter, '').getPropertyValue('justify-items')
is 'center' |
| 13 PASS getComputedStyle(justifyItemsSelfEnd, '').getPropertyValue('justify-items')
is 'self-end' |
| 14 PASS getComputedStyle(justifyItemsSelfStart, '').getPropertyValue('justify-items
') is 'self-start' |
| 15 PASS getComputedStyle(justifyItemsLeft, '').getPropertyValue('justify-items') is
'left' |
| 16 PASS getComputedStyle(justifyItemsRight, '').getPropertyValue('justify-items') i
s 'right' |
| 17 PASS getComputedStyle(justifyItemsFlexStart, '').getPropertyValue('justify-items
') is 'flex-start' |
| 18 PASS getComputedStyle(justifyItemsFlexEnd, '').getPropertyValue('justify-items')
is 'flex-end' |
| 19 PASS getComputedStyle(justifyItemsEndTrue, '').getPropertyValue('justify-items')
is 'end true' |
| 20 PASS getComputedStyle(justifyItemsCenterTrue, '').getPropertyValue('justify-item
s') is 'center true' |
| 21 PASS getComputedStyle(justifyItemsSelfEndSafe, '').getPropertyValue('justify-ite
ms') is 'self-end safe' |
| 22 PASS getComputedStyle(justifyItemsSelfStartSafe, '').getPropertyValue('justify-i
tems') is 'self-start safe' |
| 23 PASS getComputedStyle(justifyItemsRightSafe, '').getPropertyValue('justify-items
') is 'right safe' |
| 24 PASS getComputedStyle(justifyItemsLeftTrue, '').getPropertyValue('justify-items'
) is 'left true' |
| 25 PASS getComputedStyle(justifyItemsFlexStartTrue, '').getPropertyValue('justify-i
tems') is 'flex-start true' |
| 26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-ite
ms') is 'flex-end safe' |
| 27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-item
s') is 'legacy left' |
| 28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-it
ems') is 'legacy center' |
| 29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-ite
ms') is 'legacy right' |
| 30 PASS getComputedStyle(justifyItemsLeftLegacy, '').getPropertyValue('justify-item
s') is 'legacy left' |
| 31 PASS getComputedStyle(justifyItemsCenterLegacy, '').getPropertyValue('justify-it
ems') is 'legacy center' |
| 32 PASS getComputedStyle(justifyItemsRightLegacy, '').getPropertyValue('justify-ite
ms') is 'legacy right' |
| 33 |
| 34 Test initial value of justify-items through JS |
| 35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start' |
| 36 |
| 37 Test getting and setting justify-items through JS |
| 38 PASS element.style.justifyItems is "center" |
| 39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" |
| 40 PASS element.style.justifyItems is "start true" |
| 41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start true" |
| 42 PASS element.style.justifyItems is "flex-end safe" |
| 43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
flex-end safe" |
| 44 PASS element.style.justifyItems is "legacy right" |
| 45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
| 46 PASS element.style.justifyItems is "legacy center" |
| 47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" |
| 48 PASS element.style.justifyItems is "legacy left" |
| 49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" |
| 50 PASS element.style.justifyItems is "auto" |
| 51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 52 PASS element.style.justifyItems is "auto" |
| 53 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" |
| 54 PASS element.style.justifyItems is "auto" |
| 55 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" |
| 56 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'stretch
' |
| 57 PASS element.style.justifyItems is 'auto' |
| 58 PASS element.style.justifyItems is "self-end" |
| 59 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
self-end" |
| 60 |
| 61 Test bad combinations of justify-items |
| 62 PASS element.style.justifyItems is "" |
| 63 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 64 PASS element.style.justifyItems is "" |
| 65 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 66 PASS element.style.justifyItems is "" |
| 67 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 68 PASS element.style.justifyItems is "" |
| 69 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 70 PASS element.style.justifyItems is "" |
| 71 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 72 PASS element.style.justifyItems is "" |
| 73 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 74 PASS element.style.justifyItems is "" |
| 75 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 76 PASS element.style.justifyItems is "" |
| 77 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 78 PASS element.style.justifyItems is "" |
| 79 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 80 PASS element.style.justifyItems is "" |
| 81 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 82 PASS element.style.justifyItems is "" |
| 83 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 84 PASS element.style.justifyItems is "" |
| 85 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 86 PASS element.style.justifyItems is "" |
| 87 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 88 PASS element.style.justifyItems is "" |
| 89 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 90 PASS element.style.justifyItems is "" |
| 91 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 92 PASS element.style.justifyItems is "" |
| 93 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 94 PASS element.style.justifyItems is "" |
| 95 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 96 PASS element.style.justifyItems is "" |
| 97 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 98 PASS element.style.justifyItems is "" |
| 99 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 100 PASS element.style.justifyItems is "" |
| 101 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 102 PASS element.style.justifyItems is "" |
| 103 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 104 PASS element.style.justifyItems is "" |
| 105 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 106 PASS element.style.justifyItems is "" |
| 107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 108 PASS element.style.justifyItems is "" |
| 109 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 110 |
| 111 Test the value 'initial' |
| 112 PASS element.style.justifyItems is "center" |
| 113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" |
| 114 PASS element.style.justifyItems is "initial" |
| 115 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" |
| 116 |
| 117 Test the value 'initial' for grid containers |
| 118 PASS element.style.justifyItems is "center" |
| 119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" |
| 120 PASS element.style.justifyItems is "initial" |
| 121 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" |
| 122 |
| 123 Test the value 'initial' for flex containers |
| 124 PASS element.style.justifyItems is "center" |
| 125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" |
| 126 PASS element.style.justifyItems is "initial" |
| 127 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" |
| 128 |
| 129 Test the value 'inherit' |
| 130 PASS element.style.justifyItems is "end" |
| 131 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" |
| 132 PASS element.style.justifyItems is "inherit" |
| 133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" |
| 134 |
| 135 Test the value 'legacy' |
| 136 PASS element.style.justifyItems is "legacy right" |
| 137 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
| 138 PASS element.style.justifyItems is "" |
| 139 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
| 140 PASS successfullyParsed is true |
| 141 |
| 142 TEST COMPLETE |
| 143 |
OLD | NEW |