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

Unified Diff: third_party/WebKit/Source/core/css/CSSProperties.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/CSSProperties.json5
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.json5 b/third_party/WebKit/Source/core/css/CSSProperties.json5
index 03bd2805d0a4626406ceffa0f8e308353cfee3b8..de52bad8602f5bb29d6c121fdbfdf8eb5bc1e64e 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -1318,6 +1318,10 @@
getter: "SpecifiedLineHeight",
inherited: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ default_value: "Length(-100.0, kPercent)",
+ field_group: "inherited",
},
{
name: "line-height-step",
@@ -2163,6 +2167,10 @@
inherited: true,
interpolable: true,
name_for_methods: "HorizontalBorderSpacing",
+ field_template: "storage_only",
+ type_name: "short",
+ field_group: "inherited",
+ default_value: "0",
},
{
name: "-webkit-border-image",
@@ -2178,6 +2186,10 @@
inherited: true,
interpolable: true,
name_for_methods: "VerticalBorderSpacing",
+ field_template: "storage_only",
+ type_name: "short",
+ field_group: "inherited",
+ default_value: "0",
},
{
name: "-webkit-box-align",

Powered by Google App Engine
This is Rietveld 408576698