OLD | NEW |
1 { | 1 { |
2 // This file specifies fields in ComputedStyle that we would like to | 2 // This file specifies fields in ComputedStyle that we would like to |
3 // generate, but are not CSS properties. | 3 // generate, but are not CSS properties. |
4 | 4 |
5 parameters: { | 5 parameters: { |
6 // If the field has_custom_compare_and_copy, then it does not appear in | 6 // If the field has_custom_compare_and_copy, then it does not appear in |
7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. | 7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. |
8 has_custom_compare_and_copy: { | 8 has_custom_compare_and_copy: { |
9 default: false, | 9 default: false, |
10 }, | 10 }, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // which can be either a keyword or Length, this is specified in this file f
or now. Remove this | 176 // which can be either a keyword or Length, this is specified in this file f
or now. Remove this |
177 // once we can support union fields. | 177 // once we can support union fields. |
178 { | 178 { |
179 name: "VerticalAlign", | 179 name: "VerticalAlign", |
180 field_template: "storage_only", | 180 field_template: "storage_only", |
181 field_size: 4, | 181 field_size: 4, |
182 default_value: "EVerticalAlign::kBaseline", | 182 default_value: "EVerticalAlign::kBaseline", |
183 type_name: "EVerticalAlign", | 183 type_name: "EVerticalAlign", |
184 }, | 184 }, |
185 { | 185 { |
| 186 name: "VerticalAlignLength", |
| 187 field_template: "storage_only", |
| 188 default_value: "Length()", |
| 189 field_type_path: "platform/Length", |
| 190 field_group: "box", |
| 191 }, |
| 192 { |
186 name: "border", | 193 name: "border", |
187 field_template: "storage_only", | 194 field_template: "storage_only", |
188 field_type_path: "core/style/BorderData", | 195 field_type_path: "core/style/BorderData", |
189 field_group: "surround", | 196 field_group: "surround", |
190 default_value: "BorderData()", | 197 default_value: "BorderData()", |
191 }, | 198 }, |
192 { | 199 { |
193 name: "Background", | 200 name: "Background", |
194 field_template: "storage_only", | 201 field_template: "storage_only", |
195 field_type_path: "core/style/FillLayer", | 202 field_type_path: "core/style/FillLayer", |
(...skipping 16 matching lines...) Expand all Loading... |
212 field_group: "visual", | 219 field_group: "visual", |
213 }, | 220 }, |
214 { | 221 { |
215 name: "HasAutoClip", | 222 name: "HasAutoClip", |
216 field_template: "storage_only", | 223 field_template: "storage_only", |
217 type_name: "bool", | 224 type_name: "bool", |
218 field_size: 1, | 225 field_size: 1, |
219 default_value: "true", | 226 default_value: "true", |
220 field_group: "visual", | 227 field_group: "visual", |
221 }, | 228 }, |
| 229 { |
| 230 name: "HasAutoZIndex", |
| 231 field_template: "storage_only", |
| 232 type_name: "bool", |
| 233 field_size: 1, |
| 234 field_group: "box", |
| 235 default_value: "true", |
| 236 }, |
| 237 { |
| 238 name: "BoxDecorationBreak", |
| 239 field_template: "storage_only", |
| 240 type_name: "EBoxDecorationBreak", |
| 241 field_size: 1, |
| 242 field_group: "box", |
| 243 default_value: "EBoxDecorationBreak::kSlice", |
| 244 }, |
| 245 { |
| 246 name: "BoxSizing", |
| 247 field_template: "storage_only", |
| 248 type_name: "EBoxSizing", |
| 249 field_size: 1, |
| 250 field_group: "box", |
| 251 default_value: "EBoxSizing::kContentBox", |
| 252 }, |
222 ], | 253 ], |
223 } | 254 } |
OLD | NEW |