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

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

Issue 2904403002: Generate methods for TextEmphasis properties in ComputedStyleBase. (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 2590 matching lines...) Expand 10 before | Expand all | Expand 10 after
2601 inherited: true, 2601 inherited: true,
2602 field_template: "storage_only", 2602 field_template: "storage_only",
2603 type_name: "Color", 2603 type_name: "Color",
2604 include_paths: ["platform/graphics/Color.h"], 2604 include_paths: ["platform/graphics/Color.h"],
2605 default_value: "Color()", 2605 default_value: "Color()",
2606 field_group: "rare-inherited", 2606 field_group: "rare-inherited",
2607 }, 2607 },
2608 { 2608 {
2609 name: "-webkit-text-emphasis-position", 2609 name: "-webkit-text-emphasis-position",
2610 inherited: true, 2610 inherited: true,
2611 field_template: "keyword",
2611 type_name: "TextEmphasisPosition", 2612 type_name: "TextEmphasisPosition",
2613 default_value: "over",
2614 keywords: ["over", "under"],
2615 field_group: "rare-inherited",
2612 }, 2616 },
2613 { 2617 {
2614 name: "-webkit-text-emphasis-style", 2618 name: "-webkit-text-emphasis-style",
2615 api_class: true, 2619 api_class: true,
2616 api_methods: ["parseSingleValue"], 2620 api_methods: ["parseSingleValue"],
2617 custom_all: true, 2621 custom_all: true,
2618 inherited: true, 2622 inherited: true,
2619 }, 2623 },
2620 { 2624 {
2621 name: "-webkit-text-fill-color", 2625 name: "-webkit-text-fill-color",
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
3523 { 3527 {
3524 name: "-webkit-transition-timing-function", 3528 name: "-webkit-transition-timing-function",
3525 alias_for: "transition-timing-function", 3529 alias_for: "transition-timing-function",
3526 }, 3530 },
3527 { 3531 {
3528 name: "-webkit-user-select", 3532 name: "-webkit-user-select",
3529 alias_for: "user-select", 3533 alias_for: "user-select",
3530 }, 3534 },
3531 ], 3535 ],
3532 } 3536 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698