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