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

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

Issue 2942393002: Generate enum/getters/setters/mappings for flex-direction (Closed)
Patch Set: Retry Created 3 years, 6 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 85ba864cf80790aa086a1db433510e440d7610e0..8914f33bbbc7fdee6c8b4c32a4dc4e5b3bf65db4 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -1215,10 +1215,10 @@
{
name: "flex-direction",
type_name: "EFlexDirection",
- field_template: "storage_only",
- default_value: "EFlexDirection::kRow",
- field_size: 2,
+ field_template: "keyword",
+ default_value: "row",
field_group: "rare-non-inherited->flexible-box",
+ keywords: ["row", "row-reverse", "column", "column-reverse"],
},
{
name: "flex-grow",
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698