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

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

Issue 2897883002: Make RubyPosition an enum class. (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 2521 matching lines...) Expand 10 before | Expand all | Expand 10 after
2532 field_template: "keyword", 2532 field_template: "keyword",
2533 keywords: ["logical", "visual"], 2533 keywords: ["logical", "visual"],
2534 setter: "SetRtlOrdering", 2534 setter: "SetRtlOrdering",
2535 type_name: "EOrder", 2535 type_name: "EOrder",
2536 }, 2536 },
2537 { 2537 {
2538 name: "-webkit-ruby-position", 2538 name: "-webkit-ruby-position",
2539 inherited: true, 2539 inherited: true,
2540 field_template: "storage_only", 2540 field_template: "storage_only",
2541 type_name: "RubyPosition", 2541 type_name: "RubyPosition",
2542 default_value: "kRubyPositionBefore", 2542 default_value: "RubyPosition::kBefore",
2543 field_size: 1, 2543 field_size: 1,
2544 field_group: "rare-inherited", 2544 field_group: "rare-inherited",
2545 }, 2545 },
2546 { 2546 {
2547 name: "-webkit-tap-highlight-color", 2547 name: "-webkit-tap-highlight-color",
2548 api_class: "CSSPropertyAPIColor", 2548 api_class: "CSSPropertyAPIColor",
2549 api_methods: ["parseSingleValue"], 2549 api_methods: ["parseSingleValue"],
2550 converter: "ConvertColor", 2550 converter: "ConvertColor",
2551 inherited: true, 2551 inherited: true,
2552 field_template: "storage_only", 2552 field_template: "storage_only",
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 { 3488 {
3489 name: "-webkit-transition-timing-function", 3489 name: "-webkit-transition-timing-function",
3490 alias_for: "transition-timing-function", 3490 alias_for: "transition-timing-function",
3491 }, 3491 },
3492 { 3492 {
3493 name: "-webkit-user-select", 3493 name: "-webkit-user-select",
3494 alias_for: "user-select", 3494 alias_for: "user-select",
3495 }, 3495 },
3496 ], 3496 ],
3497 } 3497 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/dom/ElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698