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

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

Issue 2913723002: Generate enum/getters/setters/mappings for text-orientation. (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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 custom_value: true, 517 custom_value: true,
518 font: true, 518 font: true,
519 inherited: true, 519 inherited: true,
520 priority: "High", 520 priority: "High",
521 }, 521 },
522 { 522 {
523 name: "text-orientation", 523 name: "text-orientation",
524 custom_value: true, 524 custom_value: true,
525 inherited: true, 525 inherited: true,
526 priority: "High", 526 priority: "High",
527 field_template: "storage_only", 527 field_template: "keyword",
528 type_name: "TextOrientation", 528 keywords: ["sideways", "mixed", "upright"],
529 default_value: "TextOrientation::kMixed", 529 default_value: "mixed",
530 field_size: 2, 530 field_size: 2,
531 field_group: "rare-inherited", 531 field_group: "rare-inherited",
532 getter: "GetTextOrientation"
532 }, 533 },
533 { 534 {
534 name: "-webkit-text-orientation", 535 name: "-webkit-text-orientation",
535 custom_value: true, 536 custom_value: true,
536 inherited: true, 537 inherited: true,
537 priority: "High", 538 priority: "High",
538 type_name: "TextOrientation", 539 type_name: "TextOrientation",
539 }, 540 },
540 { 541 {
541 name: "writing-mode", 542 name: "writing-mode",
(...skipping 2987 matching lines...) Expand 10 before | Expand all | Expand 10 after
3529 { 3530 {
3530 name: "-webkit-transition-timing-function", 3531 name: "-webkit-transition-timing-function",
3531 alias_for: "transition-timing-function", 3532 alias_for: "transition-timing-function",
3532 }, 3533 },
3533 { 3534 {
3534 name: "-webkit-user-select", 3535 name: "-webkit-user-select",
3535 alias_for: "user-select", 3536 alias_for: "user-select",
3536 }, 3537 },
3537 ], 3538 ],
3538 } 3539 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698