| OLD | NEW |
| (Empty) |
| 1 Test that setting and getting justify-content 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-content set through CSS | |
| 7 PASS getComputedStyle(justifyContentAuto, '').getPropertyValue('justify-content'
) is "normal" | |
| 8 PASS getComputedStyle(justifyContentBaseline, '').getPropertyValue('justify-cont
ent') is "baseline" | |
| 9 PASS getComputedStyle(justifyContentLastBaseline, '').getPropertyValue('justify-
content') is "last-baseline" | |
| 10 PASS getComputedStyle(justifyContentSpaceBetween, '').getPropertyValue('justify-
content') is "space-between" | |
| 11 PASS getComputedStyle(justifyContentSpaceAround, '').getPropertyValue('justify-c
ontent') is "space-around" | |
| 12 PASS getComputedStyle(justifyContentSpaceEvenly, '').getPropertyValue('justify-c
ontent') is "space-evenly" | |
| 13 PASS getComputedStyle(justifyContentStretch, '').getPropertyValue('justify-conte
nt') is "stretch" | |
| 14 PASS getComputedStyle(justifyContentStart, '').getPropertyValue('justify-content
') is "start" | |
| 15 PASS getComputedStyle(justifyContentEnd, '').getPropertyValue('justify-content')
is "end" | |
| 16 PASS getComputedStyle(justifyContentCenter, '').getPropertyValue('justify-conten
t') is "center" | |
| 17 PASS getComputedStyle(justifyContentLeft, '').getPropertyValue('justify-content'
) is "left" | |
| 18 PASS getComputedStyle(justifyContentRight, '').getPropertyValue('justify-content
') is "right" | |
| 19 PASS getComputedStyle(justifyContentFlexStart, '').getPropertyValue('justify-con
tent') is "flex-start" | |
| 20 PASS getComputedStyle(justifyContentFlexEnd, '').getPropertyValue('justify-conte
nt') is "flex-end" | |
| 21 PASS getComputedStyle(justifyContentEndUnsafe, '').getPropertyValue('justify-con
tent') is "end unsafe" | |
| 22 PASS getComputedStyle(justifyContentCenterUnsafe, '').getPropertyValue('justify-
content') is "center unsafe" | |
| 23 PASS getComputedStyle(justifyContentRightSafe, '').getPropertyValue('justify-con
tent') is "right safe" | |
| 24 PASS getComputedStyle(justifyContentLeftUnsafe, '').getPropertyValue('justify-co
ntent') is "left unsafe" | |
| 25 PASS getComputedStyle(justifyContentFlexStartUnsafe, '').getPropertyValue('justi
fy-content') is "flex-start unsafe" | |
| 26 PASS getComputedStyle(justifyContentFlexEndSafe, '').getPropertyValue('justify-c
ontent') is "flex-end safe" | |
| 27 PASS getComputedStyle(justifyContentSpaceBetweenLeft, '').getPropertyValue('just
ify-content') is "space-between left" | |
| 28 PASS getComputedStyle(justifyContentSpaceAroundCenter, '').getPropertyValue('jus
tify-content') is "space-around center" | |
| 29 PASS getComputedStyle(justifyContentSpaceEvenlyRight, '').getPropertyValue('just
ify-content') is "space-evenly right" | |
| 30 PASS getComputedStyle(justifyContentStretchStartSafe, '').getPropertyValue('just
ify-content') is "stretch start safe" | |
| 31 PASS getComputedStyle(justifyContentSpaceAroundEndUnsafe, '').getPropertyValue('
justify-content') is "space-around end unsafe" | |
| 32 PASS getComputedStyle(justifyContentSpaceEvenlyFlexStartSafe, '').getPropertyVal
ue('justify-content') is "space-evenly flex-start safe" | |
| 33 PASS getComputedStyle(justifyContentSpaceBetweenSafe, '').getPropertyValue('just
ify-content') is "normal" | |
| 34 PASS getComputedStyle(justifyContentSpaceBetweenStretch, '').getPropertyValue('j
ustify-content') is "normal" | |
| 35 PASS getComputedStyle(justifyContentSafe, '').getPropertyValue('justify-content'
) is "normal" | |
| 36 PASS getComputedStyle(justifyContentRightSafeUnsafe, '').getPropertyValue('justi
fy-content') is "normal" | |
| 37 PASS getComputedStyle(justifyContentCenterLeft, '').getPropertyValue('justify-co
ntent') is "normal" | |
| 38 | |
| 39 Test initial value of justify-content through JS | |
| 40 PASS getComputedStyle(element, '').getPropertyValue('justify-content') is "norma
l" | |
| 41 | |
| 42 Test getting and setting justify-content through JS | |
| 43 PASS element.style.justifyContent is "center" | |
| 44 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"center" | |
| 45 PASS element.style.justifyContent is "start unsafe" | |
| 46 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"start unsafe" | |
| 47 PASS element.style.justifyContent is "flex-end safe" | |
| 48 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"flex-end safe" | |
| 49 PASS element.style.justifyContent is "space-between right safe" | |
| 50 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"space-between right safe" | |
| 51 PASS element.style.justifyContent is "stretch center" | |
| 52 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"stretch center" | |
| 53 PASS element.style.justifyContent is "right unsafe" | |
| 54 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"right unsafe" | |
| 55 PASS element.style.justifyContent is "normal" | |
| 56 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 57 PASS element.style.justifyContent is "normal" | |
| 58 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 59 PASS element.style.justifyContent is "normal" | |
| 60 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 61 PASS element.style.justifyContent is "flex-end" | |
| 62 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"flex-end" | |
| 63 | |
| 64 Test bad combinations of justify-content | |
| 65 PASS element.style.justifyContent is "" | |
| 66 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 67 PASS element.style.justifyContent is "" | |
| 68 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 69 PASS element.style.justifyContent is "" | |
| 70 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 71 PASS element.style.justifyContent is "" | |
| 72 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 73 PASS element.style.justifyContent is "" | |
| 74 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 75 PASS element.style.justifyContent is "" | |
| 76 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 77 PASS element.style.justifyContent is "" | |
| 78 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 79 PASS element.style.justifyContent is "" | |
| 80 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 81 PASS element.style.justifyContent is "" | |
| 82 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 83 PASS element.style.justifyContent is "" | |
| 84 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 85 PASS element.style.justifyContent is "" | |
| 86 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 87 PASS element.style.justifyContent is "" | |
| 88 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 89 PASS element.style.justifyContent is "" | |
| 90 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 91 PASS element.style.justifyContent is "" | |
| 92 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 93 PASS element.style.justifyContent is "" | |
| 94 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 95 PASS element.style.justifyContent is "" | |
| 96 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 97 PASS element.style.justifyContent is "" | |
| 98 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 99 PASS element.style.justifyContent is "" | |
| 100 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 101 PASS element.style.justifyContent is "" | |
| 102 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 103 PASS element.style.justifyContent is "" | |
| 104 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 105 PASS element.style.justifyContent is "" | |
| 106 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 107 PASS element.style.justifyContent is "" | |
| 108 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 109 | |
| 110 Test the value 'initial' | |
| 111 PASS element.style.justifyContent is "stretch center" | |
| 112 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"stretch center" | |
| 113 PASS element.style.justifyContent is "initial" | |
| 114 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 115 | |
| 116 Test the value 'initial' for grid containers | |
| 117 PASS element.style.justifyContent is "space-between left" | |
| 118 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"space-between left" | |
| 119 PASS element.style.justifyContent is "initial" | |
| 120 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 121 | |
| 122 Test the value 'initial' for flex containers | |
| 123 PASS element.style.justifyContent is "right unsafe" | |
| 124 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"right unsafe" | |
| 125 PASS element.style.justifyContent is "initial" | |
| 126 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"normal" | |
| 127 | |
| 128 Test the value 'inherit' | |
| 129 PASS element.style.justifyContent is "end" | |
| 130 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"end" | |
| 131 PASS element.style.justifyContent is "inherit" | |
| 132 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"end" | |
| 133 PASS element.style.justifyContent is "left safe" | |
| 134 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"left safe" | |
| 135 PASS element.style.justifyContent is "inherit" | |
| 136 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"left safe" | |
| 137 PASS element.style.justifyContent is "stretch center" | |
| 138 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"stretch center" | |
| 139 PASS element.style.justifyContent is "inherit" | |
| 140 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is
"stretch center" | |
| 141 PASS successfullyParsed is true | |
| 142 | |
| 143 TEST COMPLETE | |
| 144 | |
| OLD | NEW |