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

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2592 matching lines...) Expand 10 before | Expand all | Expand 10 after
2603 inherited: true, 2603 inherited: true,
2604 field_template: "storage_only", 2604 field_template: "storage_only",
2605 type_name: "Color", 2605 type_name: "Color",
2606 include_paths: ["platform/graphics/Color.h"], 2606 include_paths: ["platform/graphics/Color.h"],
2607 default_value: "Color()", 2607 default_value: "Color()",
2608 field_group: "rare-inherited", 2608 field_group: "rare-inherited",
2609 }, 2609 },
2610 { 2610 {
2611 name: "-webkit-text-emphasis-position", 2611 name: "-webkit-text-emphasis-position",
2612 inherited: true, 2612 inherited: true,
2613 field_template: "keyword",
2613 type_name: "TextEmphasisPosition", 2614 type_name: "TextEmphasisPosition",
2615 default_value: "over",
2616 keywords: ["over", "under"],
2617 field_group: "rare-inherited",
2614 }, 2618 },
2615 { 2619 {
2616 name: "-webkit-text-emphasis-style", 2620 name: "-webkit-text-emphasis-style",
2617 api_class: true, 2621 api_class: true,
2618 api_methods: ["parseSingleValue"], 2622 api_methods: ["parseSingleValue"],
2619 custom_all: true, 2623 custom_all: true,
2620 inherited: true, 2624 inherited: true,
2621 }, 2625 },
2622 { 2626 {
2623 name: "-webkit-text-fill-color", 2627 name: "-webkit-text-fill-color",
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
3525 { 3529 {
3526 name: "-webkit-transition-timing-function", 3530 name: "-webkit-transition-timing-function",
3527 alias_for: "transition-timing-function", 3531 alias_for: "transition-timing-function",
3528 }, 3532 },
3529 { 3533 {
3530 name: "-webkit-user-select", 3534 name: "-webkit-user-select",
3531 alias_for: "user-select", 3535 alias_for: "user-select",
3532 }, 3536 },
3533 ], 3537 ],
3534 } 3538 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698