Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/alignment/parse-justify-self-expected.txt

Issue 2746453005: [css-align] Adapt self-alignment properties to the new baseline syntax (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test that setting and getting justify-self 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-self set through CSS
7 PASS getComputedStyle(justifySelfBaseline, '').getPropertyValue('justify-self') is 'baseline'
8 PASS getComputedStyle(justifySelfLastBaseline, '').getPropertyValue('justify-sel f') is 'last-baseline'
9 PASS getComputedStyle(justifySelfStretch, '').getPropertyValue('justify-self') i s 'stretch'
10 PASS getComputedStyle(justifySelfStart, '').getPropertyValue('justify-self') is 'start'
11 PASS getComputedStyle(justifySelfEnd, '').getPropertyValue('justify-self') is 'e nd'
12 PASS getComputedStyle(justifySelfCenter, '').getPropertyValue('justify-self') is 'center'
13 PASS getComputedStyle(justifySelfSelfEnd, '').getPropertyValue('justify-self') i s 'self-end'
14 PASS getComputedStyle(justifySelfSelfStart, '').getPropertyValue('justify-self') is 'self-start'
15 PASS getComputedStyle(justifySelfLeft, '').getPropertyValue('justify-self') is ' left'
16 PASS getComputedStyle(justifySelfRight, '').getPropertyValue('justify-self') is 'right'
17 PASS getComputedStyle(justifySelfFlexStart, '').getPropertyValue('justify-self') is 'flex-start'
18 PASS getComputedStyle(justifySelfFlexEnd, '').getPropertyValue('justify-self') i s 'flex-end'
19 PASS getComputedStyle(justifySelfEndUnsafe, '').getPropertyValue('justify-self') is 'end unsafe'
20 PASS getComputedStyle(justifySelfCenterUnsafe, '').getPropertyValue('justify-sel f') is 'center unsafe'
21 PASS getComputedStyle(justifySelfSelfEndSafe, '').getPropertyValue('justify-self ') is 'self-end safe'
22 PASS getComputedStyle(justifySelfSelfStartSafe, '').getPropertyValue('justify-se lf') is 'self-start safe'
23 PASS getComputedStyle(justifySelfRightSafe, '').getPropertyValue('justify-self') is 'right safe'
24 PASS getComputedStyle(justifySelfLeftUnsafe, '').getPropertyValue('justify-self' ) is 'left unsafe'
25 PASS getComputedStyle(justifySelfFlexStartUnsafe, '').getPropertyValue('justify- self') is 'flex-start unsafe'
26 PASS getComputedStyle(justifySelfFlexEndSafe, '').getPropertyValue('justify-self ') is 'flex-end safe'
27
28 Test initial value of justify-self through JS
29 PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'normal'
30
31 Test getting and setting justify-self through JS
32 PASS element.style.justifySelf is "center"
33 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c enter"
34 PASS element.style.justifySelf is "start unsafe"
35 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s tart unsafe"
36 PASS element.style.justifySelf is "flex-end safe"
37 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "f lex-end safe"
38 PASS element.style.justifySelf is "right"
39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r ight"
40 PASS element.style.justifySelf is "center"
41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c enter"
42 PASS element.style.justifySelf is "self-start"
43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s elf-start"
44 PASS element.style.justifySelf is "auto"
45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
46 PASS element.style.justifySelf is "auto"
47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
48 PASS element.style.justifySelf is "auto"
49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
50 PASS element.style.justifySelf is "self-end"
51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "s elf-end"
52
53 Test 'auto' value resolution for the root node
54 PASS element.style.justifySelf is "auto"
55 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
56
57 Test bad combinations of justify-self
58 PASS element.style.justifySelf is ""
59 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
60 PASS element.style.justifySelf is ""
61 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
62 PASS element.style.justifySelf is ""
63 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
64 PASS element.style.justifySelf is ""
65 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
66 PASS element.style.justifySelf is ""
67 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
68 PASS element.style.justifySelf is ""
69 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
70 PASS element.style.justifySelf is ""
71 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
72 PASS element.style.justifySelf is ""
73 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
74 PASS element.style.justifySelf is ""
75 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
76 PASS element.style.justifySelf is ""
77 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
78 PASS element.style.justifySelf is ""
79 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
80 PASS element.style.justifySelf is ""
81 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
82 PASS element.style.justifySelf is ""
83 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
84 PASS element.style.justifySelf is ""
85 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
86 PASS element.style.justifySelf is ""
87 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
88 PASS element.style.justifySelf is ""
89 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
90 PASS element.style.justifySelf is ""
91 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
92 PASS element.style.justifySelf is ""
93 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
94 PASS element.style.justifySelf is ""
95 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
96 PASS element.style.justifySelf is ""
97 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
98 PASS element.style.justifySelf is ""
99 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
100 PASS element.style.justifySelf is ""
101 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
102 PASS element.style.justifySelf is ""
103 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
104 PASS element.style.justifySelf is ""
105 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
106
107 Test the value 'initial'
108 PASS element.style.justifySelf is "center"
109 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c enter"
110 PASS element.style.justifySelf is "initial"
111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
112
113 Test the value 'initial' for grid containers
114 PASS element.style.justifySelf is "left safe"
115 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l eft safe"
116 PASS element.style.justifySelf is "initial"
117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
118
119 Test the value 'initial' for flex containers
120 PASS element.style.justifySelf is "right unsafe"
121 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r ight unsafe"
122 PASS element.style.justifySelf is "initial"
123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
124
125 Test the value 'initial' for positioned elements
126 PASS element.style.justifySelf is "left"
127 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l eft"
128 PASS element.style.justifySelf is "initial"
129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
130
131 Test the value 'initial' for positioned elements in grid containers
132 PASS element.style.justifySelf is "right"
133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "r ight"
134 PASS element.style.justifySelf is "initial"
135 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
136
137 Test the value 'initial' for positioned elements in grid containers
138 PASS element.style.justifySelf is "end"
139 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e nd"
140 PASS element.style.justifySelf is "initial"
141 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "n ormal"
142
143 Test the value 'inherit'
144 PASS element.style.justifySelf is "end"
145 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e nd"
146 PASS element.style.justifySelf is "inherit"
147 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "e nd"
148 PASS element.style.justifySelf is "left safe"
149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l eft safe"
150 PASS element.style.justifySelf is "inherit"
151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "l eft safe"
152 PASS element.style.justifySelf is "center unsafe"
153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c enter unsafe"
154 PASS element.style.justifySelf is "inherit"
155 PASS window.getComputedStyle(element, '').getPropertyValue('justify-self') is "c enter unsafe"
156 PASS successfullyParsed is true
157
158 TEST COMPLETE
159
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698