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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2840503002: Generate StyleInheritedData in ComputedStyleBase. (Closed)
Patch Set: Rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
index 32783dbc51c9c1cffe42b7b9fdff07ff57ecf289..4aa37178d74b8b0b91155ce7df068420bab15400 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -234,5 +234,37 @@
field_group: "box",
default_value: "true",
},
+ {
+ name: "font",
+ field_template: "storage_only",
+ field_type_path: "platform/fonts/Font",
+ field_group: "inherited",
+ inherited: true,
+ default_value: "Font()",
+ },
+ {
+ name: "color",
+ inherited: true,
+ field_template: "storage_only",
+ field_type_path: "platform/graphics/Color",
+ field_group: "inherited",
+ default_value: "Color::kBlack",
+ },
+ {
+ name: "VisitedLinkColor",
+ inherited: true,
+ field_template: "storage_only",
+ field_type_path: "platform/graphics/Color",
+ field_group: "inherited",
+ default_value: "Color::kBlack",
+ },
+ {
+ name: "TextAutosizingMultiplier",
+ inherited: true,
+ field_template: "storage_only",
+ type_name: "float",
+ field_group: "inherited",
+ default_value: "1.0",
+ },
],
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698