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

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

Issue 2912923003: Generate enum/getters/setters/mappings for user-modify. (Closed)
Patch Set: Rebase 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 2672 matching lines...) Expand 10 before | Expand all | Expand 10 after
2683 name: "-webkit-transform-origin-z", 2683 name: "-webkit-transform-origin-z",
2684 api_class: true, 2684 api_class: true,
2685 api_methods: ["parseSingleValue"], 2685 api_methods: ["parseSingleValue"],
2686 converter: "ConvertComputedLength<float>", 2686 converter: "ConvertComputedLength<float>",
2687 interpolable: true, 2687 interpolable: true,
2688 }, 2688 },
2689 "-webkit-user-drag", 2689 "-webkit-user-drag",
2690 { 2690 {
2691 name: "-webkit-user-modify", 2691 name: "-webkit-user-modify",
2692 inherited: true, 2692 inherited: true,
2693 field_template: "storage_only", 2693 field_template: "keyword",
2694 type_name: "EUserModify", 2694 keywords: ["read-only", "read-write", "read-write-plaintext-only"],
2695 default_value: "EUserModify::kReadOnly", 2695 default_value: "read-only",
2696 field_size: 2,
2697 field_group: "rare-inherited", 2696 field_group: "rare-inherited",
2698 }, 2697 },
2699 { 2698 {
2700 name: "user-select", 2699 name: "user-select",
2701 inherited: true, 2700 inherited: true,
2702 field_template: "keyword", 2701 field_template: "keyword",
2703 keywords: ["none", "text", "all"], 2702 keywords: ["none", "text", "all"],
2704 default_value: "text", 2703 default_value: "text",
2705 field_group: "rare-inherited", 2704 field_group: "rare-inherited",
2706 }, 2705 },
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
3528 { 3527 {
3529 name: "-webkit-transition-timing-function", 3528 name: "-webkit-transition-timing-function",
3530 alias_for: "transition-timing-function", 3529 alias_for: "transition-timing-function",
3531 }, 3530 },
3532 { 3531 {
3533 name: "-webkit-user-select", 3532 name: "-webkit-user-select",
3534 alias_for: "user-select", 3533 alias_for: "user-select",
3535 }, 3534 },
3536 ], 3535 ],
3537 } 3536 }
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