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

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

Issue 2911383002: Generate enum/getters/setters/mappings for line-break. (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 55217e27d78e1cded96d8756ce007f8150da2c44..f24877b6815e2d5f04a2d41bdc28774852af0eee 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -2435,10 +2435,10 @@
{
name: "-webkit-line-break",
inherited: true,
- field_template: "storage_only",
+ field_template: "keyword",
type_name: "LineBreak",
- default_value: "LineBreak::kAuto",
- field_size: 3,
+ keywords: ["auto", "loose", "normal", "strict", "after-white-space"],
+ default_value: "auto",
field_group: "rare-inherited",
},
{
« 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