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

Side by Side Diff: LayoutTests/fast/alignment/parse-justify-items-expected.txt

Issue 333423005: [CSS Grid Layout] Implement 'justify-items' parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied suggested changes. Created 6 years, 6 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-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-it ems') is 'last-baseline'
9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items') is 'stretch'
10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') i s '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') i s '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-item s') is 'center true'
21 PASS getComputedStyle(justifyItemsSelfEndSafe, '').getPropertyValue('justify-ite ms') is 'self-end safe'
22 PASS getComputedStyle(justifyItemsSelfStartSafe, '').getPropertyValue('justify-i tems') 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-i tems') is 'flex-start true'
26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-ite ms') is 'flex-end safe'
27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-item s') is 'legacy left'
28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-it ems') is 'legacy center'
29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-ite ms') is 'legacy right'
30
31 Test initial value of justify-items through JS
32 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
33
34 Test getting and setting justify-items through JS
35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'center'
36 PASS element.style.justifyItems is 'center'
37 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start t rue'
38 PASS element.style.justifyItems is 'start true'
39 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'flex-en d safe'
40 PASS element.style.justifyItems is 'flex-end safe'
41 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'legacy center'
42 PASS element.style.justifyItems is 'legacy center'
43 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'legacy left'
44 PASS element.style.justifyItems is 'legacy left'
45 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
46 PASS element.style.justifyItems is 'auto'
47 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'stretch '
48 PASS element.style.justifyItems is 'auto'
49 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'stretch '
50 PASS element.style.justifyItems is 'auto'
51 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'self-en d'
52 PASS element.style.justifyItems is 'self-end'
53
54 Test bad combinaisons of justify-items
55 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
56 PASS element.style.justifyItems is ''
57 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
58 PASS element.style.justifyItems is ''
59 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
60 PASS element.style.justifyItems is ''
61 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
62 PASS element.style.justifyItems is ''
63 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
64 PASS element.style.justifyItems is ''
65 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
66 PASS element.style.justifyItems is ''
67 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
68 PASS element.style.justifyItems is ''
69 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
70 PASS element.style.justifyItems is ''
71 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
72 PASS element.style.justifyItems is ''
73 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
74 PASS element.style.justifyItems is ''
75 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
76 PASS element.style.justifyItems is ''
77 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
78 PASS element.style.justifyItems is ''
79 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
80 PASS element.style.justifyItems is ''
81 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
82 PASS element.style.justifyItems is ''
83 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
84 PASS element.style.justifyItems is ''
85 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
86 PASS element.style.justifyItems is ''
87 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
88 PASS element.style.justifyItems is ''
89 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
90 PASS element.style.justifyItems is ''
91 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
92 PASS element.style.justifyItems is ''
93 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
94 PASS element.style.justifyItems is ''
95 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
96 PASS element.style.justifyItems is ''
97 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
98 PASS element.style.justifyItems is ''
99 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
100 PASS element.style.justifyItems is ''
101 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
102 PASS element.style.justifyItems is ''
103
104 Test the value 'initial'
105 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'center'
106 PASS element.style.justifyItems is 'center'
107 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start'
108 PASS element.style.justifyItems is 'initial'
109
110 Test the value 'initial' for grid containers
111 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'center'
112 PASS element.style.justifyItems is 'center'
113 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'stretch '
114 PASS element.style.justifyItems is 'initial'
115
116 Test the value 'initial' for flex containers
117 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'center'
118 PASS element.style.justifyItems is 'center'
119 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'stretch '
120 PASS element.style.justifyItems is 'initial'
121
122 Test the value 'inherit'
123 PASS getComputedStyle(parentElement, '').getPropertyValue('justify-items') is 'e nd'
124 PASS parentElement.style.justifyItems is 'end'
125 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'end'
126 PASS element.style.justifyItems is 'inherit'
127
128 Test the value 'legacy'
129 PASS getComputedStyle(parentElement, '').getPropertyValue('justify-items') is 'l egacy right'
130 PASS parentElement.style.justifyItems is 'legacy right'
131 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'legacy right'
132 PASS element.style.justifyItems is ''
133 PASS successfullyParsed is true
134
135 TEST COMPLETE
136
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698