| OLD | NEW |
| 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 api_methods: ["parseSingleValue"], | 645 api_methods: ["parseSingleValue"], |
| 646 custom_inherit: true, | 646 custom_inherit: true, |
| 647 custom_value: true, | 647 custom_value: true, |
| 648 interpolable: true, | 648 interpolable: true, |
| 649 svg: true, | 649 svg: true, |
| 650 }, | 650 }, |
| 651 { | 651 { |
| 652 name: "border-bottom-color", | 652 name: "border-bottom-color", |
| 653 custom_all: true, | 653 custom_all: true, |
| 654 interpolable: true, | 654 interpolable: true, |
| 655 field_template: "storage_only", |
| 656 field_type_path: "platform/graphics/Color", |
| 657 default_value: "0", |
| 658 field_group: "surround", |
| 655 }, | 659 }, |
| 656 { | 660 { |
| 657 name: "border-bottom-left-radius", | 661 name: "border-bottom-left-radius", |
| 658 api_class: "CSSPropertyAPIBorderRadius", | 662 api_class: "CSSPropertyAPIBorderRadius", |
| 659 api_methods: ["parseSingleValue"], | 663 api_methods: ["parseSingleValue"], |
| 660 converter: "ConvertRadius", | 664 converter: "ConvertRadius", |
| 661 interpolable: true, | 665 interpolable: true, |
| 662 field_template: "external", | 666 field_template: "external", |
| 663 field_type_path: "platform/LengthSize", | 667 field_type_path: "platform/LengthSize", |
| 664 field_group: "surround", | 668 field_group: "surround", |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 { | 737 { |
| 734 name: "border-image-width", | 738 name: "border-image-width", |
| 735 api_class: "CSSPropertyAPIBorderImageWidth", | 739 api_class: "CSSPropertyAPIBorderImageWidth", |
| 736 custom_all: true, | 740 custom_all: true, |
| 737 interpolable: true, | 741 interpolable: true, |
| 738 }, | 742 }, |
| 739 { | 743 { |
| 740 name: "border-left-color", | 744 name: "border-left-color", |
| 741 custom_all: true, | 745 custom_all: true, |
| 742 interpolable: true, | 746 interpolable: true, |
| 747 field_template: "storage_only", |
| 748 field_type_path: "platform/graphics/Color", |
| 749 default_value: "0", |
| 750 field_group: "surround", |
| 743 }, | 751 }, |
| 744 { | 752 { |
| 745 name: "border-left-style", | 753 name: "border-left-style", |
| 746 initial: "InitialBorderStyle", | 754 initial: "InitialBorderStyle", |
| 747 type_name: "EBorderStyle", | 755 type_name: "EBorderStyle", |
| 748 keywords: ["none"], | 756 keywords: ["none"], |
| 749 typedom_types: ["Image"], | 757 typedom_types: ["Image"], |
| 750 }, | 758 }, |
| 751 { | 759 { |
| 752 name: "border-left-width", | 760 name: "border-left-width", |
| 753 api_class: "CSSPropertyAPIBorderWidth", | 761 api_class: "CSSPropertyAPIBorderWidth", |
| 754 converter: "ConvertLineWidth<float>", | 762 converter: "ConvertLineWidth<float>", |
| 755 initial: "InitialBorderWidth", | 763 initial: "InitialBorderWidth", |
| 756 interpolable: true, | 764 interpolable: true, |
| 757 keywords: ["thin", "medium", "thick"], | 765 keywords: ["thin", "medium", "thick"], |
| 758 typedom_types: ["Length"], | 766 typedom_types: ["Length"], |
| 759 field_template: "storage_only", | 767 field_template: "storage_only", |
| 760 type_name: "unsigned", | 768 type_name: "unsigned", |
| 761 field_size : 26, | 769 field_size : 26, |
| 762 default_value: "WidthToFixedPoint(3)", | 770 default_value: "WidthToFixedPoint(3)", |
| 763 field_group: "surround", | 771 field_group: "surround", |
| 764 }, | 772 }, |
| 765 { | 773 { |
| 766 name: "border-right-color", | 774 name: "border-right-color", |
| 767 custom_all: true, | 775 custom_all: true, |
| 768 interpolable: true, | 776 interpolable: true, |
| 777 field_template: "storage_only", |
| 778 field_type_path: "platform/graphics/Color", |
| 779 default_value: "0", |
| 780 field_group: "surround", |
| 769 }, | 781 }, |
| 770 { | 782 { |
| 771 name: "border-right-style", | 783 name: "border-right-style", |
| 772 initial: "InitialBorderStyle", | 784 initial: "InitialBorderStyle", |
| 773 type_name: "EBorderStyle", | 785 type_name: "EBorderStyle", |
| 774 keywords: ["none"], | 786 keywords: ["none"], |
| 775 typedom_types: ["Image"], | 787 typedom_types: ["Image"], |
| 776 }, | 788 }, |
| 777 { | 789 { |
| 778 name: "border-right-width", | 790 name: "border-right-width", |
| 779 api_class: "CSSPropertyAPIBorderWidth", | 791 api_class: "CSSPropertyAPIBorderWidth", |
| 780 converter: "ConvertLineWidth<float>", | 792 converter: "ConvertLineWidth<float>", |
| 781 initial: "InitialBorderWidth", | 793 initial: "InitialBorderWidth", |
| 782 interpolable: true, | 794 interpolable: true, |
| 783 keywords: ["thin", "medium", "thick"], | 795 keywords: ["thin", "medium", "thick"], |
| 784 typedom_types: ["Length"], | 796 typedom_types: ["Length"], |
| 785 field_template: "storage_only", | 797 field_template: "storage_only", |
| 786 type_name: "unsigned", | 798 type_name: "unsigned", |
| 787 field_size : 26, | 799 field_size : 26, |
| 788 default_value: "WidthToFixedPoint(3)", | 800 default_value: "WidthToFixedPoint(3)", |
| 789 field_group: "surround", | 801 field_group: "surround", |
| 790 }, | 802 }, |
| 791 { | 803 { |
| 792 name: "border-top-color", | 804 name: "border-top-color", |
| 793 custom_all: true, | 805 custom_all: true, |
| 794 interpolable: true, | 806 interpolable: true, |
| 807 field_template: "storage_only", |
| 808 field_type_path: "platform/graphics/Color", |
| 809 default_value: "0", |
| 810 field_group: "surround", |
| 795 }, | 811 }, |
| 796 { | 812 { |
| 797 name: "border-top-left-radius", | 813 name: "border-top-left-radius", |
| 798 api_class: "CSSPropertyAPIBorderRadius", | 814 api_class: "CSSPropertyAPIBorderRadius", |
| 799 api_methods: ["parseSingleValue"], | 815 api_methods: ["parseSingleValue"], |
| 800 converter: "ConvertRadius", | 816 converter: "ConvertRadius", |
| 801 interpolable: true, | 817 interpolable: true, |
| 802 field_template: "external", | 818 field_template: "external", |
| 803 field_type_path: "platform/LengthSize", | 819 field_type_path: "platform/LengthSize", |
| 804 field_group: "surround", | 820 field_group: "surround", |
| (...skipping 2452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3257 { | 3273 { |
| 3258 name: "-webkit-transition-timing-function", | 3274 name: "-webkit-transition-timing-function", |
| 3259 alias_for: "transition-timing-function", | 3275 alias_for: "transition-timing-function", |
| 3260 }, | 3276 }, |
| 3261 { | 3277 { |
| 3262 name: "-webkit-user-select", | 3278 name: "-webkit-user-select", |
| 3263 alias_for: "user-select", | 3279 alias_for: "user-select", |
| 3264 }, | 3280 }, |
| 3265 ], | 3281 ], |
| 3266 } | 3282 } |
| OLD | NEW |