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

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

Issue 2898363002: Generate enum/getters/setters/mappings for word-break. (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 e06e3ddda923b8afdb142156471868a393eb6a47..2ec4f61d0d250efa3d54128385f5dfb486a77136 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -2706,10 +2706,10 @@
{
name: "word-break",
inherited: true,
- field_template: "storage_only",
- type_name: "EWordBreak",
- default_value: "EWordBreak::kNormal",
- field_size: 2,
+ field_template: "keyword",
+ // Word Break Values. Matches WinIE and CSS3
+ keywords: ["normal", "break-all", "keep-all", "break-word"],
+ default_value: "normal",
field_group: "rare-inherited",
},
{

Powered by Google App Engine
This is Rietveld 408576698