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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2909423002: Make TextUnderlinePosition an enum class. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 // This file specifies all the CSS properties we support and the necessary 2 // This file specifies all the CSS properties we support and the necessary
3 // information for our code generation. The various supported arguments 3 // information for our code generation. The various supported arguments
4 // are described below with example usage 4 // are described below with example usage
5 5
6 parameters: { 6 parameters: {
7 // - alias_for: "other-property" 7 // - alias_for: "other-property"
8 // Properties specifying alias_for should be virtually identical to the 8 // Properties specifying alias_for should be virtually identical to the
9 // properties they alias. Minor parsing differences are allowed as long as 9 // properties they alias. Minor parsing differences are allowed as long as
10 // the CSSValues created are of the same format of the aliased property. 10 // the CSSValues created are of the same format of the aliased property.
(...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 keywords: ["capitalize", "uppercase", "lowercase", "none"], 2141 keywords: ["capitalize", "uppercase", "lowercase", "none"],
2142 }, 2142 },
2143 { 2143 {
2144 name: "text-underline-position", 2144 name: "text-underline-position",
2145 api_class: true, 2145 api_class: true,
2146 api_methods: ["parseSingleValue"], 2146 api_methods: ["parseSingleValue"],
2147 inherited: true, 2147 inherited: true,
2148 runtime_flag: "CSS3TextDecorations", 2148 runtime_flag: "CSS3TextDecorations",
2149 field_template: "storage_only", 2149 field_template: "storage_only",
2150 type_name: "TextUnderlinePosition", 2150 type_name: "TextUnderlinePosition",
2151 default_value: "kTextUnderlinePositionAuto", 2151 default_value: "TextUnderlinePosition::kAuto",
2152 field_size: 1, 2152 field_size: 1,
2153 field_group: "rare-inherited", 2153 field_group: "rare-inherited",
2154 }, 2154 },
2155 { 2155 {
2156 name: "top", 2156 name: "top",
2157 api_class: "CSSPropertyAPIMargin", 2157 api_class: "CSSPropertyAPIMargin",
2158 api_methods: ["parseSingleValue"], 2158 api_methods: ["parseSingleValue"],
2159 converter: "ConvertLengthOrAuto", 2159 converter: "ConvertLengthOrAuto",
2160 interpolable: true, 2160 interpolable: true,
2161 keywords: ["auto"], 2161 keywords: ["auto"],
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
3525 { 3525 {
3526 name: "-webkit-transition-timing-function", 3526 name: "-webkit-transition-timing-function",
3527 alias_for: "transition-timing-function", 3527 alias_for: "transition-timing-function",
3528 }, 3528 },
3529 { 3529 {
3530 name: "-webkit-user-select", 3530 name: "-webkit-user-select",
3531 alias_for: "user-select", 3531 alias_for: "user-select",
3532 }, 3532 },
3533 ], 3533 ],
3534 } 3534 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698