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

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

Issue 2915683002: Generate enum/getters/setters/mappings for ruby-position. (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 2553 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 initial: "InitialRtlOrdering", 2564 initial: "InitialRtlOrdering",
2565 default_value: "logical", 2565 default_value: "logical",
2566 field_template: "keyword", 2566 field_template: "keyword",
2567 keywords: ["logical", "visual"], 2567 keywords: ["logical", "visual"],
2568 setter: "SetRtlOrdering", 2568 setter: "SetRtlOrdering",
2569 type_name: "EOrder", 2569 type_name: "EOrder",
2570 }, 2570 },
2571 { 2571 {
2572 name: "-webkit-ruby-position", 2572 name: "-webkit-ruby-position",
2573 inherited: true, 2573 inherited: true,
2574 field_template: "storage_only", 2574 field_template: "keyword",
2575 type_name: "RubyPosition", 2575 type_name: "RubyPosition",
2576 default_value: "RubyPosition::kBefore", 2576 keywords: ["before", "after"],
2577 field_size: 1, 2577 default_value: "before",
2578 field_group: "rare-inherited", 2578 field_group: "rare-inherited",
2579 }, 2579 },
2580 { 2580 {
2581 name: "-webkit-tap-highlight-color", 2581 name: "-webkit-tap-highlight-color",
2582 api_class: "CSSPropertyAPIColor", 2582 api_class: "CSSPropertyAPIColor",
2583 api_methods: ["parseSingleValue"], 2583 api_methods: ["parseSingleValue"],
2584 converter: "ConvertColor", 2584 converter: "ConvertColor",
2585 inherited: true, 2585 inherited: true,
2586 field_template: "external", 2586 field_template: "external",
2587 type_name: "Color", 2587 type_name: "Color",
(...skipping 937 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
« 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