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

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

Issue 2913723002: Generate enum/getters/setters/mappings for text-orientation. (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/CSSProperties.json5
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.json5 b/third_party/WebKit/Source/core/css/CSSProperties.json5
index 5237c96a31edf915e6df035c31caf0720b938761..d82f5d6828f716a22548f4ed049d8c45084876e5 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -522,11 +522,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