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

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

Issue 2913723002: Generate enum/getters/setters/mappings for text-orientation. (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 dbc65d50fad941548813fdc685ab7270c685eda9..bb8ce335d3c661ec6e6df8ddde5b7d0b073b0934 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -524,11 +524,12 @@
custom_value: true,
inherited: true,
priority: "High",
- field_template: "storage_only",
- type_name: "TextOrientation",
- default_value: "TextOrientation::kMixed",
+ field_template: "keyword",
+ keywords: ["sideways", "mixed", "upright"],
+ default_value: "mixed",
field_size: 2,
field_group: "rare-inherited",
+ getter: "GetTextOrientation"
},
{
name: "-webkit-text-orientation",

Powered by Google App Engine
This is Rietveld 408576698