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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.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
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 e40c8d0c818e10f8d0b750a72efd6b238806a89d..49c5b723331adee8d54a503d0ecbf666c3a80589 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -182,6 +182,13 @@
default_value: "EVerticalAlign::kBaseline",
type_name: "EVerticalAlign",
},
+ {
+ name: "VerticalAlignLength",
+ field_template: "storage_only",
+ default_value: "Length()",
+ field_type_path: "platform/Length",
+ field_group: "box",
+ },
{
name: "border",
field_template: "storage_only",
@@ -219,5 +226,29 @@
default_value: "true",
field_group: "visual",
},
+ {
+ name: "HasAutoZIndex",
+ field_template: "storage_only",
+ type_name: "bool",
+ field_size: 1,
+ field_group: "box",
+ default_value: "true",
+ },
+ {
+ name: "BoxDecorationBreak",
+ field_template: "storage_only",
+ type_name: "EBoxDecorationBreak",
+ field_size: 1,
+ field_group: "box",
+ default_value: "EBoxDecorationBreak::kSlice",
+ },
+ {
+ name: "BoxSizing",
+ field_template: "storage_only",
+ type_name: "EBoxSizing",
+ field_size: 1,
+ field_group: "box",
+ default_value: "EBoxSizing::kContentBox",
+ },
],
}
« 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