OLD | NEW |
1 Test that setting and getting justify-self works as expected | 1 Test that setting and getting justify-self 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-self set through CSS | 6 Test getting justify-self set through CSS |
7 PASS getComputedStyle(justifySelfBaseline, '').getPropertyValue('justify-self')
is 'baseline' | 7 PASS getComputedStyle(justifySelfBaseline, '').getPropertyValue('justify-self')
is 'baseline' |
8 PASS getComputedStyle(justifySelfLastBaseline, '').getPropertyValue('justify-sel
f') is 'last-baseline' | 8 PASS getComputedStyle(justifySelfLastBaseline, '').getPropertyValue('justify-sel
f') is 'last-baseline' |
9 PASS getComputedStyle(justifySelfStretch, '').getPropertyValue('justify-self') i
s 'stretch' | 9 PASS getComputedStyle(justifySelfStretch, '').getPropertyValue('justify-self') i
s 'stretch' |
10 PASS getComputedStyle(justifySelfStart, '').getPropertyValue('justify-self') is
'start' | 10 PASS getComputedStyle(justifySelfStart, '').getPropertyValue('justify-self') is
'start' |
11 PASS getComputedStyle(justifySelfEnd, '').getPropertyValue('justify-self') is 'e
nd' | 11 PASS getComputedStyle(justifySelfEnd, '').getPropertyValue('justify-self') is 'e
nd' |
12 PASS getComputedStyle(justifySelfCenter, '').getPropertyValue('justify-self') is
'center' | 12 PASS getComputedStyle(justifySelfCenter, '').getPropertyValue('justify-self') is
'center' |
13 PASS getComputedStyle(justifySelfSelfEnd, '').getPropertyValue('justify-self') i
s 'self-end' | 13 PASS getComputedStyle(justifySelfSelfEnd, '').getPropertyValue('justify-self') i
s 'self-end' |
14 PASS getComputedStyle(justifySelfSelfStart, '').getPropertyValue('justify-self')
is 'self-start' | 14 PASS getComputedStyle(justifySelfSelfStart, '').getPropertyValue('justify-self')
is 'self-start' |
15 PASS getComputedStyle(justifySelfLeft, '').getPropertyValue('justify-self') is '
left' | 15 PASS getComputedStyle(justifySelfLeft, '').getPropertyValue('justify-self') is '
left' |
16 PASS getComputedStyle(justifySelfRight, '').getPropertyValue('justify-self') is
'right' | 16 PASS getComputedStyle(justifySelfRight, '').getPropertyValue('justify-self') is
'right' |
17 PASS getComputedStyle(justifySelfFlexStart, '').getPropertyValue('justify-self')
is 'flex-start' | 17 PASS getComputedStyle(justifySelfFlexStart, '').getPropertyValue('justify-self')
is 'flex-start' |
18 PASS getComputedStyle(justifySelfFlexEnd, '').getPropertyValue('justify-self') i
s 'flex-end' | 18 PASS getComputedStyle(justifySelfFlexEnd, '').getPropertyValue('justify-self') i
s 'flex-end' |
19 PASS getComputedStyle(justifySelfEndTrue, '').getPropertyValue('justify-self') i
s 'end true' | 19 PASS getComputedStyle(justifySelfEndUnsafe, '').getPropertyValue('justify-self')
is 'end unsafe' |
20 PASS getComputedStyle(justifySelfCenterTrue, '').getPropertyValue('justify-self'
) is 'center true' | 20 PASS getComputedStyle(justifySelfCenterUnsafe, '').getPropertyValue('justify-sel
f') is 'center unsafe' |
21 PASS getComputedStyle(justifySelfSelfEndSafe, '').getPropertyValue('justify-self
') is 'self-end safe' | 21 PASS getComputedStyle(justifySelfSelfEndSafe, '').getPropertyValue('justify-self
') is 'self-end safe' |
22 PASS getComputedStyle(justifySelfSelfStartSafe, '').getPropertyValue('justify-se
lf') is 'self-start safe' | 22 PASS getComputedStyle(justifySelfSelfStartSafe, '').getPropertyValue('justify-se
lf') is 'self-start safe' |
23 PASS getComputedStyle(justifySelfRightSafe, '').getPropertyValue('justify-self')
is 'right safe' | 23 PASS getComputedStyle(justifySelfRightSafe, '').getPropertyValue('justify-self')
is 'right safe' |
24 PASS getComputedStyle(justifySelfLeftTrue, '').getPropertyValue('justify-self')
is 'left true' | 24 PASS getComputedStyle(justifySelfLeftUnsafe, '').getPropertyValue('justify-self'
) is 'left unsafe' |
25 PASS getComputedStyle(justifySelfFlexStartTrue, '').getPropertyValue('justify-se
lf') is 'flex-start true' | 25 PASS getComputedStyle(justifySelfFlexStartUnsafe, '').getPropertyValue('justify-
self') is 'flex-start unsafe' |
26 PASS getComputedStyle(justifySelfFlexEndSafe, '').getPropertyValue('justify-self
') is 'flex-end safe' | 26 PASS getComputedStyle(justifySelfFlexEndSafe, '').getPropertyValue('justify-self
') is 'flex-end safe' |
27 | 27 |
28 Test initial value of justify-self through JS | 28 Test initial value of justify-self through JS |
29 PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'start' | 29 PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'start' |
30 | 30 |
31 Test getting and setting justify-self through JS | 31 Test getting and setting justify-self through JS |
32 PASS element.style.justifySelf is "center" | 32 PASS element.style.justifySelf is "center" |
33 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter" | 33 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter" |
34 PASS element.style.justifySelf is "start true" | 34 PASS element.style.justifySelf is "start unsafe" |
35 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tart true" | 35 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tart unsafe" |
36 PASS element.style.justifySelf is "flex-end safe" | 36 PASS element.style.justifySelf is "flex-end safe" |
37 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "f
lex-end safe" | 37 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "f
lex-end safe" |
38 PASS element.style.justifySelf is "right" | 38 PASS element.style.justifySelf is "right" |
39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r
ight" | 39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r
ight" |
40 PASS element.style.justifySelf is "center" | 40 PASS element.style.justifySelf is "center" |
41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter" | 41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter" |
42 PASS element.style.justifySelf is "self-start" | 42 PASS element.style.justifySelf is "self-start" |
43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
elf-start" | 43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
elf-start" |
44 PASS element.style.justifySelf is "auto" | 44 PASS element.style.justifySelf is "auto" |
45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tart" | 45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tart" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 PASS element.style.justifySelf is "initial" | 106 PASS element.style.justifySelf is "initial" |
107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tart" | 107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tart" |
108 | 108 |
109 Test the value 'initial' for grid containers | 109 Test the value 'initial' for grid containers |
110 PASS element.style.justifySelf is "left safe" | 110 PASS element.style.justifySelf is "left safe" |
111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft safe" | 111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft safe" |
112 PASS element.style.justifySelf is "initial" | 112 PASS element.style.justifySelf is "initial" |
113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tretch" | 113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tretch" |
114 | 114 |
115 Test the value 'initial' for flex containers | 115 Test the value 'initial' for flex containers |
116 PASS element.style.justifySelf is "right true" | 116 PASS element.style.justifySelf is "right unsafe" |
117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r
ight true" | 117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r
ight unsafe" |
118 PASS element.style.justifySelf is "initial" | 118 PASS element.style.justifySelf is "initial" |
119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tretch" | 119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tretch" |
120 | 120 |
121 Test the value 'initial' for positioned elements | 121 Test the value 'initial' for positioned elements |
122 PASS element.style.justifySelf is "left" | 122 PASS element.style.justifySelf is "left" |
123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft" | 123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft" |
124 PASS element.style.justifySelf is "initial" | 124 PASS element.style.justifySelf is "initial" |
125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tretch" | 125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s
tretch" |
126 | 126 |
127 Test the value 'initial' for positioned elements in grid containers | 127 Test the value 'initial' for positioned elements in grid containers |
(...skipping 10 matching lines...) Expand all Loading... |
138 | 138 |
139 Test the value 'inherit' | 139 Test the value 'inherit' |
140 PASS element.style.justifySelf is "end" | 140 PASS element.style.justifySelf is "end" |
141 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e
nd" | 141 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e
nd" |
142 PASS element.style.justifySelf is "inherit" | 142 PASS element.style.justifySelf is "inherit" |
143 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e
nd" | 143 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e
nd" |
144 PASS element.style.justifySelf is "left safe" | 144 PASS element.style.justifySelf is "left safe" |
145 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft safe" | 145 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft safe" |
146 PASS element.style.justifySelf is "inherit" | 146 PASS element.style.justifySelf is "inherit" |
147 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft safe" | 147 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l
eft safe" |
148 PASS element.style.justifySelf is "center true" | 148 PASS element.style.justifySelf is "center unsafe" |
149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter true" | 149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter unsafe" |
150 PASS element.style.justifySelf is "inherit" | 150 PASS element.style.justifySelf is "inherit" |
151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter true" | 151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c
enter unsafe" |
152 PASS successfullyParsed is true | 152 PASS successfullyParsed is true |
153 | 153 |
154 TEST COMPLETE | 154 TEST COMPLETE |
155 | 155 |
OLD | NEW |