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

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

Issue 2911583002: Generate enum/getters/setters/mappings for text-security. (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 2579 matching lines...) Expand 10 before | Expand all | Expand 10 after
2590 custom_all: true, 2590 custom_all: true,
2591 inherited: true, 2591 inherited: true,
2592 field_template: "storage_only", 2592 field_template: "storage_only",
2593 field_type_path: "platform/graphics/Color", 2593 field_type_path: "platform/graphics/Color",
2594 default_value: "Color()", 2594 default_value: "Color()",
2595 field_group: "rare-inherited", 2595 field_group: "rare-inherited",
2596 }, 2596 },
2597 { 2597 {
2598 name: "-webkit-text-security", 2598 name: "-webkit-text-security",
2599 inherited: true, 2599 inherited: true,
2600 field_template: "storage_only", 2600 field_template: "keyword",
2601 type_name: "ETextSecurity", 2601 keywords: ["none", "disc", "circle", "square"],
2602 default_value: "ETextSecurity::kNone", 2602 default_value: "none",
2603 field_size: 2,
2604 field_group: "rare-inherited", 2603 field_group: "rare-inherited",
2605 }, 2604 },
2606 { 2605 {
2607 name: "-webkit-text-stroke-color", 2606 name: "-webkit-text-stroke-color",
2608 api_class: "CSSPropertyAPIColor", 2607 api_class: "CSSPropertyAPIColor",
2609 api_methods: ["parseSingleValue"], 2608 api_methods: ["parseSingleValue"],
2610 custom_all: true, 2609 custom_all: true,
2611 inherited: true, 2610 inherited: true,
2612 interpolable: true, 2611 interpolable: true,
2613 field_template: "storage_only", 2612 field_template: "storage_only",
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 { 3487 {
3489 name: "-webkit-transition-timing-function", 3488 name: "-webkit-transition-timing-function",
3490 alias_for: "transition-timing-function", 3489 alias_for: "transition-timing-function",
3491 }, 3490 },
3492 { 3491 {
3493 name: "-webkit-user-select", 3492 name: "-webkit-user-select",
3494 alias_for: "user-select", 3493 alias_for: "user-select",
3495 }, 3494 },
3496 ], 3495 ],
3497 } 3496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698