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

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

Issue 2904403002: Generate methods for TextEmphasis properties 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 8038a50f97cef3473384911f450dccad286e8e86..a68b70f9b3b85a030bcc47eb50f92aa600dc3db1 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -429,10 +429,10 @@
{
name: "TextEmphasisFill",
inherited: true,
- field_template: "storage_only",
+ field_template: "keyword",
type_name: "TextEmphasisFill",
- default_value: "TextEmphasisFill::kFilled",
- field_size: 1,
+ default_value: "filled",
+ keywords: ["filled", "open"],
field_group: "rare-inherited",
},
{
@@ -445,15 +445,6 @@
field_group: "rare-inherited",
},
{
- name: "TextEmphasisPosition",
- inherited: true,
- field_template: "storage_only",
- type_name: "TextEmphasisPosition",
- default_value: "TextEmphasisPosition::kOver",
- field_size: 1,
- field_group: "rare-inherited",
- },
- {
name: "TextIndentLine",
inherited: true,
field_template: "keyword",
@@ -538,7 +529,7 @@
{
name: "TextEmphasisCustomMark",
inherited: true,
- field_template: "storage_only",
+ field_template: "external",
type_name: "AtomicString",
include_paths: ["platform/wtf/text/AtomicString.h"],
default_value: "AtomicString()",
« 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