| 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(justifyItemsEndUnsafe, '').getPropertyValue('justify-items
') is 'end unsafe' | |
| 20 PASS getComputedStyle(justifyItemsCenterUnsafe, '').getPropertyValue('justify-it
ems') is 'center unsafe' | |
| 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(justifyItemsLeftUnsafe, '').getPropertyValue('justify-item
s') is 'left unsafe' | |
| 25 PASS getComputedStyle(justifyItemsFlexStartUnsafe, '').getPropertyValue('justify
-items') is 'flex-start unsafe' | |
| 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 'normal' | |
| 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 unsafe" | |
| 41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start unsafe" | |
| 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 "
normal" | |
| 52 PASS element.style.justifyItems is "auto" | |
| 53 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 54 PASS element.style.justifyItems is "auto" | |
| 55 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 56 PASS element.style.justifyItems is "self-end" | |
| 57 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
self-end" | |
| 58 | |
| 59 Test 'auto' value resolution for the root node | |
| 60 PASS element.style.justifyItems is "auto" | |
| 61 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 62 | |
| 63 Test bad combinations of justify-items | |
| 64 PASS element.style.justifyItems is "" | |
| 65 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 66 PASS element.style.justifyItems is "" | |
| 67 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 68 PASS element.style.justifyItems is "" | |
| 69 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 70 PASS element.style.justifyItems is "" | |
| 71 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 72 PASS element.style.justifyItems is "" | |
| 73 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 74 PASS element.style.justifyItems is "" | |
| 75 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 76 PASS element.style.justifyItems is "" | |
| 77 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 78 PASS element.style.justifyItems is "" | |
| 79 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 80 PASS element.style.justifyItems is "" | |
| 81 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 82 PASS element.style.justifyItems is "" | |
| 83 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 84 PASS element.style.justifyItems is "" | |
| 85 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 86 PASS element.style.justifyItems is "" | |
| 87 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 88 PASS element.style.justifyItems is "" | |
| 89 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 90 PASS element.style.justifyItems is "" | |
| 91 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 92 PASS element.style.justifyItems is "" | |
| 93 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 94 PASS element.style.justifyItems is "" | |
| 95 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 96 PASS element.style.justifyItems is "" | |
| 97 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 98 PASS element.style.justifyItems is "" | |
| 99 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 100 PASS element.style.justifyItems is "" | |
| 101 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 102 PASS element.style.justifyItems is "" | |
| 103 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 104 PASS element.style.justifyItems is "" | |
| 105 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 106 PASS element.style.justifyItems is "" | |
| 107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 108 PASS element.style.justifyItems is "" | |
| 109 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 110 PASS element.style.justifyItems is "" | |
| 111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 112 | |
| 113 Test the value 'initial' | |
| 114 PASS element.style.justifyItems is "legacy center" | |
| 115 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | |
| 116 PASS element.style.justifyItems is "initial" | |
| 117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 118 | |
| 119 Test the value 'initial' for grid containers | |
| 120 PASS element.style.justifyItems is "left safe" | |
| 121 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | |
| 122 PASS element.style.justifyItems is "initial" | |
| 123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 124 | |
| 125 Test the value 'initial' for flex containers | |
| 126 PASS element.style.justifyItems is "right unsafe" | |
| 127 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
right unsafe" | |
| 128 PASS element.style.justifyItems is "initial" | |
| 129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" | |
| 130 | |
| 131 Test the value 'inherit' | |
| 132 PASS element.style.justifyItems is "end" | |
| 133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" | |
| 134 PASS element.style.justifyItems is "inherit" | |
| 135 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" | |
| 136 PASS element.style.justifyItems is "left safe" | |
| 137 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | |
| 138 PASS element.style.justifyItems is "inherit" | |
| 139 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | |
| 140 PASS element.style.justifyItems is "legacy center" | |
| 141 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | |
| 142 PASS element.style.justifyItems is "inherit" | |
| 143 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | |
| 144 | |
| 145 Test the value 'legacy' | |
| 146 PASS element.style.justifyItems is "legacy left" | |
| 147 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" | |
| 148 PASS element.style.justifyItems is "" | |
| 149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" | |
| 150 PASS element.style.justifyItems is "legacy center" | |
| 151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | |
| 152 PASS element.style.justifyItems is "" | |
| 153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | |
| 154 PASS element.style.justifyItems is "legacy right" | |
| 155 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | |
| 156 PASS element.style.justifyItems is "" | |
| 157 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | |
| 158 PASS successfullyParsed is true | |
| 159 | |
| 160 TEST COMPLETE | |
| 161 | |
| OLD | NEW |