summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/alignment/parse-justify-self-expected.txt
blob: 5b68d3c1baf0cc11a9a9845339077ff7833b2979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
Test that setting and getting justify-self works as expected

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Test getting justify-self set through CSS
PASS getComputedStyle(justifySelfBaseline, '').getPropertyValue('justify-self') is 'baseline'
PASS getComputedStyle(justifySelfLastBaseline, '').getPropertyValue('justify-self') is 'last-baseline'
PASS getComputedStyle(justifySelfStretch, '').getPropertyValue('justify-self') is 'stretch'
PASS getComputedStyle(justifySelfStart, '').getPropertyValue('justify-self') is 'start'
PASS getComputedStyle(justifySelfEnd, '').getPropertyValue('justify-self') is 'end'
PASS getComputedStyle(justifySelfCenter, '').getPropertyValue('justify-self') is 'center'
PASS getComputedStyle(justifySelfSelfEnd, '').getPropertyValue('justify-self') is 'self-end'
PASS getComputedStyle(justifySelfSelfStart, '').getPropertyValue('justify-self') is 'self-start'
PASS getComputedStyle(justifySelfLeft, '').getPropertyValue('justify-self') is 'left'
PASS getComputedStyle(justifySelfRight, '').getPropertyValue('justify-self') is 'right'
PASS getComputedStyle(justifySelfFlexStart, '').getPropertyValue('justify-self') is 'flex-start'
PASS getComputedStyle(justifySelfFlexEnd, '').getPropertyValue('justify-self') is 'flex-end'
PASS getComputedStyle(justifySelfEndUnsafe, '').getPropertyValue('justify-self') is 'end unsafe'
PASS getComputedStyle(justifySelfCenterUnsafe, '').getPropertyValue('justify-self') is 'center unsafe'
PASS getComputedStyle(justifySelfSelfEndSafe, '').getPropertyValue('justify-self') is 'self-end safe'
PASS getComputedStyle(justifySelfSelfStartSafe, '').getPropertyValue('justify-self') is 'self-start safe'
PASS getComputedStyle(justifySelfRightSafe, '').getPropertyValue('justify-self') is 'right safe'
PASS getComputedStyle(justifySelfLeftUnsafe, '').getPropertyValue('justify-self') is 'left unsafe'
PASS getComputedStyle(justifySelfFlexStartUnsafe, '').getPropertyValue('justify-self') is 'flex-start unsafe'
PASS getComputedStyle(justifySelfFlexEndSafe, '').getPropertyValue('justify-self') is 'flex-end safe'

Test initial value of justify-self through JS
PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'start'

Test getting and setting justify-self through JS
PASS element.style.justifySelf is "center"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "center"
PASS element.style.justifySelf is "start unsafe"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start unsafe"
PASS element.style.justifySelf is "flex-end safe"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "flex-end safe"
PASS element.style.justifySelf is "right"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "right"
PASS element.style.justifySelf is "center"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "center"
PASS element.style.justifySelf is "self-start"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "self-start"
PASS element.style.justifySelf is "auto"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is "auto"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"
PASS element.style.justifySelf is "auto"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"
PASS element.style.justifySelf is "self-end"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "self-end"

Test bad combinations of justify-self
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"
PASS element.style.justifySelf is ""
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"

Test the value 'initial'
PASS element.style.justifySelf is "center"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "center"
PASS element.style.justifySelf is "initial"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "start"

Test the value 'initial' for grid containers
PASS element.style.justifySelf is "left safe"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "left safe"
PASS element.style.justifySelf is "initial"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"

Test the value 'initial' for flex containers
PASS element.style.justifySelf is "right unsafe"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "right unsafe"
PASS element.style.justifySelf is "initial"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"

Test the value 'initial' for positioned elements
PASS element.style.justifySelf is "left"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "left"
PASS element.style.justifySelf is "initial"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"

Test the value 'initial' for positioned elements in grid containers
PASS element.style.justifySelf is "right"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "right"
PASS element.style.justifySelf is "initial"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"

Test the value 'initial' for positioned elements in grid containers
PASS element.style.justifySelf is "end"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "end"
PASS element.style.justifySelf is "initial"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "stretch"

Test the value 'inherit'
PASS element.style.justifySelf is "end"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "end"
PASS element.style.justifySelf is "inherit"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "end"
PASS element.style.justifySelf is "left safe"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "left safe"
PASS element.style.justifySelf is "inherit"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "left safe"
PASS element.style.justifySelf is "center unsafe"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "center unsafe"
PASS element.style.justifySelf is "inherit"
PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "center unsafe"
PASS successfullyParsed is true

TEST COMPLETE