Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / alignment / parse-justify-items-expected.txt
1 Test that setting and getting justify-items 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-items set through CSS
7 PASS getComputedStyle(justifyItemsBaseline, '').getPropertyValue('justify-items') is 'baseline'
8 PASS getComputedStyle(justifyItemsLastBaseline, '').getPropertyValue('justify-items') is 'last-baseline'
9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items') is 'stretch'
10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') is 'start'
11 PASS getComputedStyle(justifyItemsEnd, '').getPropertyValue('justify-items') is 'end'
12 PASS getComputedStyle(justifyItemsCenter, '').getPropertyValue('justify-items') is 'center'
13 PASS getComputedStyle(justifyItemsSelfEnd, '').getPropertyValue('justify-items') is 'self-end'
14 PASS getComputedStyle(justifyItemsSelfStart, '').getPropertyValue('justify-items') is 'self-start'
15 PASS getComputedStyle(justifyItemsLeft, '').getPropertyValue('justify-items') is 'left'
16 PASS getComputedStyle(justifyItemsRight, '').getPropertyValue('justify-items') is 'right'
17 PASS getComputedStyle(justifyItemsFlexStart, '').getPropertyValue('justify-items') is 'flex-start'
18 PASS getComputedStyle(justifyItemsFlexEnd, '').getPropertyValue('justify-items') is 'flex-end'
19 PASS getComputedStyle(justifyItemsEndTrue, '').getPropertyValue('justify-items') is 'end true'
20 PASS getComputedStyle(justifyItemsCenterTrue, '').getPropertyValue('justify-items') is 'center true'
21 PASS getComputedStyle(justifyItemsSelfEndSafe, '').getPropertyValue('justify-items') is 'self-end safe'
22 PASS getComputedStyle(justifyItemsSelfStartSafe, '').getPropertyValue('justify-items') is 'self-start safe'
23 PASS getComputedStyle(justifyItemsRightSafe, '').getPropertyValue('justify-items') is 'right safe'
24 PASS getComputedStyle(justifyItemsLeftTrue, '').getPropertyValue('justify-items') is 'left true'
25 PASS getComputedStyle(justifyItemsFlexStartTrue, '').getPropertyValue('justify-items') is 'flex-start true'
26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-items') is 'flex-end safe'
27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-items') is 'legacy left'
28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-items') is 'legacy center'
29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-items') is 'legacy right'
30 PASS getComputedStyle(justifyItemsLeftLegacy, '').getPropertyValue('justify-items') is 'legacy left'
31 PASS getComputedStyle(justifyItemsCenterLegacy, '').getPropertyValue('justify-items') is 'legacy center'
32 PASS getComputedStyle(justifyItemsRightLegacy, '').getPropertyValue('justify-items') is 'legacy right'
33
34 Test initial value of justify-items through JS
35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
36
37 Test getting and setting justify-items through JS
38 PASS element.style.justifyItems is "center"
39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "center"
40 PASS element.style.justifyItems is "start true"
41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start true"
42 PASS element.style.justifyItems is "flex-end safe"
43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "flex-end safe"
44 PASS element.style.justifyItems is "legacy right"
45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy right"
46 PASS element.style.justifyItems is "legacy center"
47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy center"
48 PASS element.style.justifyItems is "legacy left"
49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy left"
50 PASS element.style.justifyItems is "auto"
51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
52 PASS element.style.justifyItems is "auto"
53 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "stretch"
54 PASS element.style.justifyItems is "auto"
55 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "stretch"
56 PASS element.style.justifyItems is "self-end"
57 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "self-end"
58
59 Test bad combinations of justify-items
60 PASS element.style.justifyItems is ""
61 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
62 PASS element.style.justifyItems is ""
63 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
64 PASS element.style.justifyItems is ""
65 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
66 PASS element.style.justifyItems is ""
67 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
68 PASS element.style.justifyItems is ""
69 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
70 PASS element.style.justifyItems is ""
71 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
72 PASS element.style.justifyItems is ""
73 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
74 PASS element.style.justifyItems is ""
75 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
76 PASS element.style.justifyItems is ""
77 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
78 PASS element.style.justifyItems is ""
79 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
80 PASS element.style.justifyItems is ""
81 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
82 PASS element.style.justifyItems is ""
83 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
84 PASS element.style.justifyItems is ""
85 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
86 PASS element.style.justifyItems is ""
87 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
88 PASS element.style.justifyItems is ""
89 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
90 PASS element.style.justifyItems is ""
91 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
92 PASS element.style.justifyItems is ""
93 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
94 PASS element.style.justifyItems is ""
95 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
96 PASS element.style.justifyItems is ""
97 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
98 PASS element.style.justifyItems is ""
99 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
100 PASS element.style.justifyItems is ""
101 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
102 PASS element.style.justifyItems is ""
103 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
104 PASS element.style.justifyItems is ""
105 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
106 PASS element.style.justifyItems is ""
107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
108
109 Test the value 'initial'
110 PASS element.style.justifyItems is "legacy center"
111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy center"
112 PASS element.style.justifyItems is "initial"
113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "start"
114
115 Test the value 'initial' for grid containers
116 PASS element.style.justifyItems is "left safe"
117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "left safe"
118 PASS element.style.justifyItems is "initial"
119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "stretch"
120
121 Test the value 'initial' for flex containers
122 PASS element.style.justifyItems is "right true"
123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "right true"
124 PASS element.style.justifyItems is "initial"
125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "stretch"
126
127 Test the value 'inherit'
128 PASS element.style.justifyItems is "end"
129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "end"
130 PASS element.style.justifyItems is "inherit"
131 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "end"
132 PASS element.style.justifyItems is "left safe"
133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "left safe"
134 PASS element.style.justifyItems is "inherit"
135 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "left safe"
136 PASS element.style.justifyItems is "legacy center"
137 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy center"
138 PASS element.style.justifyItems is "inherit"
139 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy center"
140
141 Test the value 'legacy'
142 PASS element.style.justifyItems is "legacy left"
143 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy left"
144 PASS element.style.justifyItems is ""
145 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy left"
146 PASS element.style.justifyItems is "legacy center"
147 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy center"
148 PASS element.style.justifyItems is ""
149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy center"
150 PASS element.style.justifyItems is "legacy right"
151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy right"
152 PASS element.style.justifyItems is ""
153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "legacy right"
154 PASS successfullyParsed is true
155
156 TEST COMPLETE
157