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

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

Issue 2911963004: Generate enum/getters/setters/mappings for user-select. (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 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after
2688 inherited: true, 2688 inherited: true,
2689 field_template: "storage_only", 2689 field_template: "storage_only",
2690 type_name: "EUserModify", 2690 type_name: "EUserModify",
2691 default_value: "EUserModify::kReadOnly", 2691 default_value: "EUserModify::kReadOnly",
2692 field_size: 2, 2692 field_size: 2,
2693 field_group: "rare-inherited", 2693 field_group: "rare-inherited",
2694 }, 2694 },
2695 { 2695 {
2696 name: "user-select", 2696 name: "user-select",
2697 inherited: true, 2697 inherited: true,
2698 field_template: "storage_only", 2698 field_template: "keyword",
2699 type_name: "EUserSelect", 2699 keywords: ["none", "text", "all"],
2700 default_value: "EUserSelect::kText", 2700 default_value: "text",
2701 field_size: 2,
2702 field_group: "rare-inherited", 2701 field_group: "rare-inherited",
2703 }, 2702 },
2704 { 2703 {
2705 name: "white-space", 2704 name: "white-space",
2706 independent: true, 2705 independent: true,
2707 inherited: true, 2706 inherited: true,
2708 default_value: "normal", 2707 default_value: "normal",
2709 field_template: "keyword", 2708 field_template: "keyword",
2710 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now rap"], 2709 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now rap"],
2711 }, 2710 },
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
3525 { 3524 {
3526 name: "-webkit-transition-timing-function", 3525 name: "-webkit-transition-timing-function",
3527 alias_for: "transition-timing-function", 3526 alias_for: "transition-timing-function",
3528 }, 3527 },
3529 { 3528 {
3530 name: "-webkit-user-select", 3529 name: "-webkit-user-select",
3531 alias_for: "user-select", 3530 alias_for: "user-select",
3532 }, 3531 },
3533 ], 3532 ],
3534 } 3533 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698