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