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

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

Issue 2912683002: Generate methods for Hyphens and HyphenationString in ComputedStyleBase. (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 6ff56e5afdfe6969b3a849b387e957289f7eac4f..f4888d3576e4af102e5c4eb775fd42140d44769d 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -1272,10 +1272,10 @@
name: "hyphens",
inherited: true,
runtime_flag: "CSSHyphens",
- field_template: "storage_only",
+ field_template: "keyword",
type_name: "Hyphens",
- default_value: "Hyphens::kManual",
- field_size: 2,
+ keywords: ["none", "manual", "auto"],
+ default_value: "manual",
field_group: "rare-inherited",
},
{
@@ -2424,7 +2424,7 @@
converter: "ConvertString<CSSValueAuto>",
inherited: true,
name_for_methods: "HyphenationString",
- field_template: "storage_only",
+ field_template: "external",
type_name: "AtomicString",
include_paths: ["platform/wtf/text/AtomicString.h"],
default_value: "AtomicString()",
« 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