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

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

Issue 2910513003: Make TextDecorationSkip 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 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after
2033 }, 2033 },
2034 { 2034 {
2035 name: "text-decoration-skip", 2035 name: "text-decoration-skip",
2036 api_class: true, 2036 api_class: true,
2037 api_methods: ["parseSingleValue"], 2037 api_methods: ["parseSingleValue"],
2038 converter: "ConvertFlags<TextDecorationSkip>", 2038 converter: "ConvertFlags<TextDecorationSkip>",
2039 inherited: true, 2039 inherited: true,
2040 runtime_flag: "CSS3TextDecorations", 2040 runtime_flag: "CSS3TextDecorations",
2041 field_template: "storage_only", 2041 field_template: "storage_only",
2042 type_name: "TextDecorationSkip", 2042 type_name: "TextDecorationSkip",
2043 default_value: "kTextDecorationSkipObjects", 2043 default_value: "TextDecorationSkip::kObjects",
2044 field_size: 3, 2044 field_size: 3,
2045 field_group: "rare-inherited", 2045 field_group: "rare-inherited",
2046 }, 2046 },
2047 { 2047 {
2048 name: "text-decoration-style", 2048 name: "text-decoration-style",
2049 runtime_flag: "CSS3TextDecorations", 2049 runtime_flag: "CSS3TextDecorations",
2050 type_name: "TextDecorationStyle", 2050 type_name: "TextDecorationStyle",
2051 }, 2051 },
2052 { 2052 {
2053 name: "text-indent", 2053 name: "text-indent",
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 { 3488 {
3489 name: "-webkit-transition-timing-function", 3489 name: "-webkit-transition-timing-function",
3490 alias_for: "transition-timing-function", 3490 alias_for: "transition-timing-function",
3491 }, 3491 },
3492 { 3492 {
3493 name: "-webkit-user-select", 3493 name: "-webkit-user-select",
3494 alias_for: "user-select", 3494 alias_for: "user-select",
3495 }, 3495 },
3496 ], 3496 ],
3497 } 3497 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698