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

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2914613002: Add keyword_subset field template and generate text-decoration-line. (Closed)
Patch Set: Created 3 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
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 true, we do not include this field in ComputedStyleBase::InheritFrom 6 // If true, we do not include this field in ComputedStyleBase::InheritFrom
7 // and ComputedStyleBase::CopyNonInheritedFromCached. 7 // and ComputedStyleBase::CopyNonInheritedFromCached.
8 custom_copy: { 8 custom_copy: {
9 default: false, 9 default: false,
10 }, 10 },
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 }, 224 },
225 { 225 {
226 name: "BackgroundColor", 226 name: "BackgroundColor",
227 field_template: "storage_only", 227 field_template: "storage_only",
228 include_paths: ["core/css/StyleColor.h"], 228 include_paths: ["core/css/StyleColor.h"],
229 type_name: "StyleColor", 229 type_name: "StyleColor",
230 default_value: "Color::kTransparent", 230 default_value: "Color::kTransparent",
231 field_group: "background", 231 field_group: "background",
232 }, 232 },
233 { 233 {
234 name: "TextDecoration",
235 field_template: "storage_only",
236 type_name: "TextDecoration",
237 field_size: 4,
238 default_value: "TextDecoration::kNone",
239 field_group: "visual",
240 },
241 {
242 name: "HasAutoClip", 234 name: "HasAutoClip",
243 field_template: "storage_only", 235 field_template: "storage_only",
244 type_name: "bool", 236 type_name: "bool",
245 field_size: 1, 237 field_size: 1,
246 default_value: "true", 238 default_value: "true",
247 field_group: "visual", 239 field_group: "visual",
248 }, 240 },
249 { 241 {
250 name: "HasAutoZIndex", 242 name: "HasAutoZIndex",
251 field_template: "storage_only", 243 field_template: "storage_only",
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 inherited: true, 558 inherited: true,
567 field_template: "storage_only", 559 field_template: "storage_only",
568 type_name: "StyleInheritedVariables", 560 type_name: "StyleInheritedVariables",
569 include_paths: ["core/style/StyleInheritedVariables.h"], 561 include_paths: ["core/style/StyleInheritedVariables.h"],
570 default_value: "nullptr", 562 default_value: "nullptr",
571 wrapper_pointer_name: "RefPtr", 563 wrapper_pointer_name: "RefPtr",
572 field_group: "rare-inherited", 564 field_group: "rare-inherited",
573 }, 565 },
574 ], 566 ],
575 } 567 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698