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

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

Issue 2850173003: Move LengthSizes border-*-radius out of BorderData (Closed)
Patch Set: Rebase Created 3 years, 7 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 { 641 {
642 name: "border-bottom-color", 642 name: "border-bottom-color",
643 custom_all: true, 643 custom_all: true,
644 interpolable: true, 644 interpolable: true,
645 }, 645 },
646 { 646 {
647 name: "border-bottom-left-radius", 647 name: "border-bottom-left-radius",
648 api_class: "CSSPropertyAPIBorderRadius", 648 api_class: "CSSPropertyAPIBorderRadius",
649 api_methods: ["parseSingleValue"], 649 api_methods: ["parseSingleValue"],
650 converter: "ConvertRadius", 650 converter: "ConvertRadius",
651 initial: "InitialBorderRadius",
652 interpolable: true, 651 interpolable: true,
652 field_template: "external",
653 field_type_path: "platform/LengthSize",
654 field_group: "surround",
655 default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
653 }, 656 },
654 { 657 {
655 name: "border-bottom-right-radius", 658 name: "border-bottom-right-radius",
656 api_class: "CSSPropertyAPIBorderRadius", 659 api_class: "CSSPropertyAPIBorderRadius",
657 api_methods: ["parseSingleValue"], 660 api_methods: ["parseSingleValue"],
658 converter: "ConvertRadius", 661 converter: "ConvertRadius",
659 initial: "InitialBorderRadius",
660 interpolable: true, 662 interpolable: true,
663 field_template: "external",
664 field_type_path: "platform/LengthSize",
665 field_group: "surround",
666 default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
661 }, 667 },
662 { 668 {
663 name: "border-bottom-style", 669 name: "border-bottom-style",
664 initial: "InitialBorderStyle", 670 initial: "InitialBorderStyle",
665 type_name: "EBorderStyle", 671 type_name: "EBorderStyle",
666 keywords: ["none"], 672 keywords: ["none"],
667 typedom_types: ["Image"], 673 typedom_types: ["Image"],
668 }, 674 },
669 { 675 {
670 name: "border-bottom-width", 676 name: "border-bottom-width",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 { 766 {
761 name: "border-top-color", 767 name: "border-top-color",
762 custom_all: true, 768 custom_all: true,
763 interpolable: true, 769 interpolable: true,
764 }, 770 },
765 { 771 {
766 name: "border-top-left-radius", 772 name: "border-top-left-radius",
767 api_class: "CSSPropertyAPIBorderRadius", 773 api_class: "CSSPropertyAPIBorderRadius",
768 api_methods: ["parseSingleValue"], 774 api_methods: ["parseSingleValue"],
769 converter: "ConvertRadius", 775 converter: "ConvertRadius",
770 initial: "InitialBorderRadius",
771 interpolable: true, 776 interpolable: true,
777 field_template: "external",
778 field_type_path: "platform/LengthSize",
779 field_group: "surround",
780 default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
772 }, 781 },
773 { 782 {
774 name: "border-top-right-radius", 783 name: "border-top-right-radius",
775 api_class: "CSSPropertyAPIBorderRadius", 784 api_class: "CSSPropertyAPIBorderRadius",
776 api_methods: ["parseSingleValue"], 785 api_methods: ["parseSingleValue"],
777 converter: "ConvertRadius", 786 converter: "ConvertRadius",
778 initial: "InitialBorderRadius",
779 interpolable: true, 787 interpolable: true,
788 field_template: "external",
789 field_type_path: "platform/LengthSize",
790 field_group: "surround",
791 default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
780 }, 792 },
781 { 793 {
782 name: "border-top-style", 794 name: "border-top-style",
783 initial: "InitialBorderStyle", 795 initial: "InitialBorderStyle",
784 type_name: "EBorderStyle", 796 type_name: "EBorderStyle",
785 keywords: ["none"], 797 keywords: ["none"],
786 typedom_types: ["Image"], 798 typedom_types: ["Image"],
787 }, 799 },
788 { 800 {
789 name: "border-top-width", 801 name: "border-top-width",
(...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after
3211 { 3223 {
3212 name: "-webkit-transition-timing-function", 3224 name: "-webkit-transition-timing-function",
3213 alias_for: "transition-timing-function", 3225 alias_for: "transition-timing-function",
3214 }, 3226 },
3215 { 3227 {
3216 name: "-webkit-user-select", 3228 name: "-webkit-user-select",
3217 alias_for: "user-select", 3229 alias_for: "user-select",
3218 }, 3230 },
3219 ], 3231 ],
3220 } 3232 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698