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

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

Issue 2844183002: Generate StyleBoxData 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6c1291826598a868f039550b7394283be9fc3064..f1af4348865cc8a7344fb450e76a12ad88d0da44 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -1222,6 +1222,10 @@
keywords: ["auto", "fit-content", "min-content", "max-content"],
supports_percentage: true,
typedom_types: ["Length"],
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ default_value: "Length()",
},
{
name: "hyphens",
@@ -1429,12 +1433,20 @@
converter: "ConvertLengthMaxSizing",
is_descriptor: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ default_value: "Length(kMaxSizeNone)",
},
{
name: "max-width",
converter: "ConvertLengthMaxSizing",
is_descriptor: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ default_value: "Length(kMaxSizeNone)",
},
{
name: "min-height",
@@ -1442,6 +1454,10 @@
converter: "ConvertLengthSizing",
is_descriptor: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ default_value: "Length()",
},
{
name: "min-width",
@@ -1449,6 +1465,10 @@
converter: "ConvertLengthSizing",
is_descriptor: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ default_value: "Length()",
},
{
name: "mix-blend-mode",
@@ -2496,6 +2516,10 @@
keywords: ["auto", "fit-content", "min-content", "max-content"],
supports_percentage: true,
typedom_types: ["Length"],
+ field_template: "storage_only",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ default_value: "Length()"
},
{
name: "will-change",
@@ -2529,6 +2553,9 @@
custom_all: true,
interpolable: true,
type_name: "int",
+ field_template: "storage_only",
+ field_group: "box",
+ default_value: "0"
},
// CSS logical props
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698