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

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

Issue 2869043002: Store border-*-color on SurroundData in ComputedStyle not BorderColorAndStyle (Closed)
Patch Set: BorderColorVisuallyEquals calls BorderColorEquals 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
« 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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 api_methods: ["parseSingleValue"], 649 api_methods: ["parseSingleValue"],
650 custom_inherit: true, 650 custom_inherit: true,
651 custom_value: true, 651 custom_value: true,
652 interpolable: true, 652 interpolable: true,
653 svg: true, 653 svg: true,
654 }, 654 },
655 { 655 {
656 name: "border-bottom-color", 656 name: "border-bottom-color",
657 custom_all: true, 657 custom_all: true,
658 interpolable: true, 658 interpolable: true,
659 field_template: "storage_only",
660 field_type_path: "platform/graphics/Color",
661 default_value: "0",
662 field_group: "surround",
659 }, 663 },
660 { 664 {
661 name: "border-bottom-left-radius", 665 name: "border-bottom-left-radius",
662 api_class: "CSSPropertyAPIBorderRadius", 666 api_class: "CSSPropertyAPIBorderRadius",
663 api_methods: ["parseSingleValue"], 667 api_methods: ["parseSingleValue"],
664 converter: "ConvertRadius", 668 converter: "ConvertRadius",
665 interpolable: true, 669 interpolable: true,
666 field_template: "external", 670 field_template: "external",
667 field_type_path: "platform/LengthSize", 671 field_type_path: "platform/LengthSize",
668 field_group: "surround", 672 field_group: "surround",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 { 741 {
738 name: "border-image-width", 742 name: "border-image-width",
739 api_class: "CSSPropertyAPIBorderImageWidth", 743 api_class: "CSSPropertyAPIBorderImageWidth",
740 custom_all: true, 744 custom_all: true,
741 interpolable: true, 745 interpolable: true,
742 }, 746 },
743 { 747 {
744 name: "border-left-color", 748 name: "border-left-color",
745 custom_all: true, 749 custom_all: true,
746 interpolable: true, 750 interpolable: true,
751 field_template: "storage_only",
752 field_type_path: "platform/graphics/Color",
753 default_value: "0",
754 field_group: "surround",
747 }, 755 },
748 { 756 {
749 name: "border-left-style", 757 name: "border-left-style",
750 initial: "InitialBorderStyle", 758 initial: "InitialBorderStyle",
751 type_name: "EBorderStyle", 759 type_name: "EBorderStyle",
752 keywords: ["none"], 760 keywords: ["none"],
753 typedom_types: ["Image"], 761 typedom_types: ["Image"],
754 }, 762 },
755 { 763 {
756 name: "border-left-width", 764 name: "border-left-width",
757 api_class: "CSSPropertyAPIBorderWidth", 765 api_class: "CSSPropertyAPIBorderWidth",
758 converter: "ConvertLineWidth<float>", 766 converter: "ConvertLineWidth<float>",
759 initial: "InitialBorderWidth", 767 initial: "InitialBorderWidth",
760 interpolable: true, 768 interpolable: true,
761 keywords: ["thin", "medium", "thick"], 769 keywords: ["thin", "medium", "thick"],
762 typedom_types: ["Length"], 770 typedom_types: ["Length"],
763 field_template: "storage_only", 771 field_template: "storage_only",
764 type_name: "unsigned", 772 type_name: "unsigned",
765 field_size : 26, 773 field_size : 26,
766 default_value: "WidthToFixedPoint(3)", 774 default_value: "WidthToFixedPoint(3)",
767 field_group: "surround", 775 field_group: "surround",
768 }, 776 },
769 { 777 {
770 name: "border-right-color", 778 name: "border-right-color",
771 custom_all: true, 779 custom_all: true,
772 interpolable: true, 780 interpolable: true,
781 field_template: "storage_only",
782 field_type_path: "platform/graphics/Color",
783 default_value: "0",
784 field_group: "surround",
773 }, 785 },
774 { 786 {
775 name: "border-right-style", 787 name: "border-right-style",
776 initial: "InitialBorderStyle", 788 initial: "InitialBorderStyle",
777 type_name: "EBorderStyle", 789 type_name: "EBorderStyle",
778 keywords: ["none"], 790 keywords: ["none"],
779 typedom_types: ["Image"], 791 typedom_types: ["Image"],
780 }, 792 },
781 { 793 {
782 name: "border-right-width", 794 name: "border-right-width",
783 api_class: "CSSPropertyAPIBorderWidth", 795 api_class: "CSSPropertyAPIBorderWidth",
784 converter: "ConvertLineWidth<float>", 796 converter: "ConvertLineWidth<float>",
785 initial: "InitialBorderWidth", 797 initial: "InitialBorderWidth",
786 interpolable: true, 798 interpolable: true,
787 keywords: ["thin", "medium", "thick"], 799 keywords: ["thin", "medium", "thick"],
788 typedom_types: ["Length"], 800 typedom_types: ["Length"],
789 field_template: "storage_only", 801 field_template: "storage_only",
790 type_name: "unsigned", 802 type_name: "unsigned",
791 field_size : 26, 803 field_size : 26,
792 default_value: "WidthToFixedPoint(3)", 804 default_value: "WidthToFixedPoint(3)",
793 field_group: "surround", 805 field_group: "surround",
794 }, 806 },
795 { 807 {
796 name: "border-top-color", 808 name: "border-top-color",
797 custom_all: true, 809 custom_all: true,
798 interpolable: true, 810 interpolable: true,
811 field_template: "storage_only",
812 field_type_path: "platform/graphics/Color",
813 default_value: "0",
814 field_group: "surround",
799 }, 815 },
800 { 816 {
801 name: "border-top-left-radius", 817 name: "border-top-left-radius",
802 api_class: "CSSPropertyAPIBorderRadius", 818 api_class: "CSSPropertyAPIBorderRadius",
803 api_methods: ["parseSingleValue"], 819 api_methods: ["parseSingleValue"],
804 converter: "ConvertRadius", 820 converter: "ConvertRadius",
805 interpolable: true, 821 interpolable: true,
806 field_template: "external", 822 field_template: "external",
807 field_type_path: "platform/LengthSize", 823 field_type_path: "platform/LengthSize",
808 field_group: "surround", 824 field_group: "surround",
(...skipping 2456 matching lines...) Expand 10 before | Expand all | Expand 10 after
3265 { 3281 {
3266 name: "-webkit-transition-timing-function", 3282 name: "-webkit-transition-timing-function",
3267 alias_for: "transition-timing-function", 3283 alias_for: "transition-timing-function",
3268 }, 3284 },
3269 { 3285 {
3270 name: "-webkit-user-select", 3286 name: "-webkit-user-select",
3271 alias_for: "user-select", 3287 alias_for: "user-select",
3272 }, 3288 },
3273 ], 3289 ],
3274 } 3290 }
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