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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css

Issue 1488493003: [css-grid] refactoring of layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased and refactoring of alignment css rules. Created 4 years, 11 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
1 /* align-self */ 1 /* align-self */
2 .alignSelfAuto { align-self: auto; } 2 .alignSelfAuto { align-self: auto; }
3 .alignSelfStretch { align-self: stretch; } 3 .alignSelfStretch { align-self: stretch; }
4 .alignSelfStart { align-self: start; } 4 .alignSelfStart { align-self: start; }
5 .alignSelfEnd { align-self: end; } 5 .alignSelfEnd { align-self: end; }
6 .alignSelfCenter { align-self: center; } 6 .alignSelfCenter { align-self: center; }
7 .alignSelfRight { align-self: right; } 7 .alignSelfRight { align-self: right; }
8 .alignSelfLeft { align-self: left; } 8 .alignSelfLeft { align-self: left; }
9 9
10 .alignSelfFlexStart { align-self: flex-start; } 10 .alignSelfFlexStart { align-self: flex-start; }
11 .alignSelfFlexEnd { align-self: flex-end; } 11 .alignSelfFlexEnd { align-self: flex-end; }
12 12
13 .alignSelfSelfStart { align-self: self-start; } 13 .alignSelfSelfStart { align-self: self-start; }
14 .alignSelfSelfEnd { align-self: self-end; } 14 .alignSelfSelfEnd { align-self: self-end; }
15 15
16 .alignSelfCenterSafe { align-self: center safe; }
17 .alignSelfCenterUnsafe { align-self: center unsafe; }
18 .alignSelfEndSafe { align-self: end safe; }
19 .alignSelfEndUnsafe { align-self: end unsafe; }
20
16 /* align-items */ 21 /* align-items */
22 .alignItemsAuto { align-items: auto; }
23 .alignItemsStretch { align-items: stretch; }
24 .alignItemsStart { align-items: start; }
17 .alignItemsCenter { align-items: center; } 25 .alignItemsCenter { align-items: center; }
26 .alignItemsEnd { align-items: end; }
27
28 .alignItemsCenterSafe { align-items: center safe; }
29 .alignItemsCenterUnsafe { align-items: center unsafe; }
30 .alignItemsEndSafe { align-items: end safe; }
31 .alignItemsEndUnsafe { align-items: end unsafe; }
18 32
19 /* align-content */ 33 /* align-content */
20 .alignContentBaseline { align-content: baseline; } 34 .alignContentBaseline { align-content: baseline; }
21 .alignContentLastBaseline { align-content: last-baseline; } 35 .alignContentLastBaseline { align-content: last-baseline; }
22 .alignContentStart { align-content: start; } 36 .alignContentStart { align-content: start; }
23 .alignContentEnd { align-content: end; } 37 .alignContentEnd { align-content: end; }
24 .alignContentCenter { align-content: center; } 38 .alignContentCenter { align-content: center; }
25 .alignContentLeft { align-content: left; } 39 .alignContentLeft { align-content: left; }
26 .alignContentRight { align-content: right; } 40 .alignContentRight { align-content: right; }
27 .alignContentFlexStart { align-content: flex-start; } 41 .alignContentFlexStart { align-content: flex-start; }
28 .alignContentFlexEnd { align-content: flex-end; } 42 .alignContentFlexEnd { align-content: flex-end; }
29 43
44 /* justify-self */
45 .justifySelfAuto { justify-self: auto; }
46 .justifySelfStretch { justify-self: stretch; }
47 .justifySelfStart { justify-self: start; }
48 .justifySelfCenter { justify-self: center; }
49 .justifySelfEnd { justify-self: end; }
50 .justifySelfRight { justify-self: right; }
51 .justifySelfLeft { justify-self: left; }
52
53 .justifySelfFlexStart { justify-self: flex-start; }
54 .justifySelfFlexEnd { justify-self: flex-end; }
55
56 .justifySelfSelfStart { justify-self: self-start; }
57 .justifySelfSelfEnd { justify-self: self-end; }
58
59 .justifySelfCenterSafe { justify-self: center safe; }
60 .justifySelfCenterUnsafe { justify-self: center unsafe; }
61
62 /* justify-items */
63 .justifyItemsAuto { justify-items: auto; }
64 .justifyItemsStretch { justify-items: stretch; }
65 .justifyItemsStart { justify-items: start; }
66 .justifyItemsCenter { justify-items: center; }
67 .justifyItemsEnd { justify-items: end; }
68
69 .justifyItemsCenterSafe { justify-items: center safe; }
70 .justifyItemsCenterUnsafe { justify-items: center unsafe; }
71 .justifyItemsEndSafe { justify-items: end safe; }
72 .justifyItemsEndUnsafe { justify-items: end unsafe; }
73
30 /* justify-content */ 74 /* justify-content */
31 .justifyContentBaseline { justify-content: baseline; } 75 .justifyContentBaseline { justify-content: baseline; }
32 .justifyContentLastBaseline { justify-content: last-baseline; } 76 .justifyContentLastBaseline { justify-content: last-baseline; }
33 .justifyContentStart { justify-content: start; } 77 .justifyContentStart { justify-content: start; }
34 .justifyContentEnd { justify-content: end; } 78 .justifyContentEnd { justify-content: end; }
35 .justifyContentCenter { justify-content: center; } 79 .justifyContentCenter { justify-content: center; }
36 .justifyContentLeft { justify-content: left; } 80 .justifyContentLeft { justify-content: left; }
37 .justifyContentRight { justify-content: right; } 81 .justifyContentRight { justify-content: right; }
38 .justifyContentFlexStart { justify-content: flex-start; } 82 .justifyContentFlexStart { justify-content: flex-start; }
39 .justifyContentFlexEnd { justify-content: flex-end; } 83 .justifyContentFlexEnd { justify-content: flex-end; }
40 .justifyContentSpaceBetween { justify-content: space-between; } 84 .justifyContentSpaceBetween { justify-content: space-between; }
41 .justifyContentSpaceAround { justify-content: space-around; } 85 .justifyContentSpaceAround { justify-content: space-around; }
42 .justifyContentSpaceEvenly { justify-content: space-evenly; } 86 .justifyContentSpaceEvenly { justify-content: space-evenly; }
43 .justifyContentStretch { justify-content: stretch; } 87 .justifyContentStretch { justify-content: stretch; }
44 88
45 /* Both align-items and justify-items */ 89 /* Both align-items and justify-items */
90 .itemsStart {
91 align-items: start;
92 justify-items: start;
93 }
94
46 .itemsCenter { 95 .itemsCenter {
47 align-items: center; 96 align-items: center;
48 justify-items: center; 97 justify-items: center;
49 } 98 }
50 99
51 .itemsEnd { 100 .itemsEnd {
52 align-items: end; 101 align-items: end;
53 justify-items: end; 102 justify-items: end;
54 } 103 }
55 104
56 .itemsLeft { 105 .itemsLeft {
57 align-items: left; 106 align-items: left;
58 justify-items: left; 107 justify-items: left;
59 } 108 }
60 109
61 .itemsRight { 110 .itemsRight {
62 align-items: right; 111 align-items: right;
63 justify-items: right; 112 justify-items: right;
64 } 113 }
65 114
66 .itemsSelfStart { 115 .itemsSelfStart {
67 align-items: self-start; 116 align-items: self-start;
68 justify-items: self-start; 117 justify-items: self-start;
69 } 118 }
70 119
71 .itemsSelfEnd { 120 .itemsSelfEnd {
72 align-items: self-end; 121 align-items: self-end;
73 justify-items: self-end; 122 justify-items: self-end;
74 } 123 }
124
125 /* Both align-self and justify-self */
126 .selfStretch {
127 align-self: stretch;
128 justify-self: stretch;
129 }
130
131 /* Both align-content and justify-content */
132 .contentStart {
133 align-content: start;
134 justify-content: start;
135 }
136 .contentCenter {
137 align-content: center;
138 justify-content: center;
139 }
140 .contentEnd {
141 align-content: end;
142 justify-content: end;
143 }
144
145 .contentCenterSafe {
146 align-content: center safe;
147 justify-content: center safe;
148 }
149
150 .contentCenterUnsafe {
151 align-content: center unsafe;
152 justify-content: center unsafe;
153 }
154
155 .contentEndSafe {
156 align-content: end safe;
157 justify-content: end safe;
158 }
159
160 .contentEndUnsafe {
161 align-content: end unsafe;
162 justify-content: end unsafe;
163 }
164
165 .contentSpaceBetween {
166 justify-content: space-between;
167 align-content: space-between;
168 }
169
170 .contentSpaceAround {
171 justify-content: space-around;
172 align-content: space-around;
173 }
174
175 .contentSpaceEvenly {
176 justify-content: space-evenly;
177 align-content: space-evenly;
178 }
179
180 .contentStretch {
181 justify-content: stretch;
182 align-content: stretch;
183 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698