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

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

Issue 2911873002: Generate methods for text-indent properties in ComputedStyleBase. (Closed)
Patch Set: 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 0c8a3863799c92c4baa97250fe71fb8059dc8814..3c0c0078a48edf1c545b042126397b3fdd401a9a 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -447,19 +447,19 @@
{
name: "TextIndentLine",
inherited: true,
- field_template: "storage_only",
+ field_template: "keyword",
type_name: "TextIndentLine",
- default_value: "TextIndentLine::kFirstLine",
- field_size: 1,
+ keywords: ["first-line", "each-line"],
+ default_value: "first-line",
field_group: "rare-inherited",
},
{
name: "TextIndentType",
inherited: true,
- field_template: "storage_only",
+ field_template: "keyword",
type_name: "TextIndentType",
- default_value: "TextIndentType::kNormal",
- field_size: 1,
+ keywords: ["normal", "hanging"],
+ default_value: "normal",
field_group: "rare-inherited",
},
// Though will-change is not itself an inherited property, the intent
« 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