| 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 }, | 695 }, |
| 696 { | 696 { |
| 697 name: "border-bottom-width", | 697 name: "border-bottom-width", |
| 698 api_class: "CSSPropertyAPIBorderWidth", | 698 api_class: "CSSPropertyAPIBorderWidth", |
| 699 converter: "ConvertLineWidth<float>", | 699 converter: "ConvertLineWidth<float>", |
| 700 initial: "InitialBorderWidth", | 700 initial: "InitialBorderWidth", |
| 701 interpolable: true, | 701 interpolable: true, |
| 702 keywords: ["thin", "medium", "thick"], | 702 keywords: ["thin", "medium", "thick"], |
| 703 typedom_types: ["Length"], | 703 typedom_types: ["Length"], |
| 704 field_template: "storage_only", | 704 field_template: "storage_only", |
| 705 type_name: "unsigned", | 705 field_type_path: "core/style/BorderWidth", |
| 706 field_size : 26, | 706 default_value: "BorderWidth()", |
| 707 default_value: "WidthToFixedPoint(3)", | |
| 708 field_group: "surround", | 707 field_group: "surround", |
| 709 }, | 708 }, |
| 710 { | 709 { |
| 711 name: "border-collapse", | 710 name: "border-collapse", |
| 712 independent: true, | 711 independent: true, |
| 713 inherited: true, | 712 inherited: true, |
| 714 default_value: "separate", | 713 default_value: "separate", |
| 715 field_template: "keyword", | 714 field_template: "keyword", |
| 716 keywords: ["separate", "collapse"], | 715 keywords: ["separate", "collapse"], |
| 717 }, | 716 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 }, | 766 }, |
| 768 { | 767 { |
| 769 name: "border-left-width", | 768 name: "border-left-width", |
| 770 api_class: "CSSPropertyAPIBorderWidth", | 769 api_class: "CSSPropertyAPIBorderWidth", |
| 771 converter: "ConvertLineWidth<float>", | 770 converter: "ConvertLineWidth<float>", |
| 772 initial: "InitialBorderWidth", | 771 initial: "InitialBorderWidth", |
| 773 interpolable: true, | 772 interpolable: true, |
| 774 keywords: ["thin", "medium", "thick"], | 773 keywords: ["thin", "medium", "thick"], |
| 775 typedom_types: ["Length"], | 774 typedom_types: ["Length"], |
| 776 field_template: "storage_only", | 775 field_template: "storage_only", |
| 777 type_name: "unsigned", | 776 field_type_path: "core/style/BorderWidth", |
| 778 field_size : 26, | 777 default_value: "BorderWidth()", |
| 779 default_value: "WidthToFixedPoint(3)", | |
| 780 field_group: "surround", | 778 field_group: "surround", |
| 781 }, | 779 }, |
| 782 { | 780 { |
| 783 name: "border-right-color", | 781 name: "border-right-color", |
| 784 custom_all: true, | 782 custom_all: true, |
| 785 interpolable: true, | 783 interpolable: true, |
| 786 field_template: "storage_only", | 784 field_template: "storage_only", |
| 787 field_type_path: "platform/graphics/Color", | 785 field_type_path: "platform/graphics/Color", |
| 788 default_value: "0", | 786 default_value: "0", |
| 789 field_group: "surround", | 787 field_group: "surround", |
| 790 }, | 788 }, |
| 791 { | 789 { |
| 792 name: "border-right-style", | 790 name: "border-right-style", |
| 793 type_name: "EBorderStyle", | 791 type_name: "EBorderStyle", |
| 794 typedom_types: ["Image"], | 792 typedom_types: ["Image"], |
| 795 field_template: "keyword", | 793 field_template: "keyword", |
| 796 default_value: "none", | 794 default_value: "none", |
| 797 keywords: ["none", "hidden", "inset", "groove", "outset", "ridge", "dotted
", "dashed", "solid", "double"], | 795 keywords: ["none", "hidden", "inset", "groove", "outset", "ridge", "dotted
", "dashed", "solid", "double"], |
| 798 field_group: "surround", | 796 field_group: "surround", |
| 799 }, | 797 }, |
| 800 { | 798 { |
| 801 name: "border-right-width", | 799 name: "border-right-width", |
| 802 api_class: "CSSPropertyAPIBorderWidth", | 800 api_class: "CSSPropertyAPIBorderWidth", |
| 803 converter: "ConvertLineWidth<float>", | 801 converter: "ConvertLineWidth<float>", |
| 804 initial: "InitialBorderWidth", | 802 initial: "InitialBorderWidth", |
| 805 interpolable: true, | 803 interpolable: true, |
| 806 keywords: ["thin", "medium", "thick"], | 804 keywords: ["thin", "medium", "thick"], |
| 807 typedom_types: ["Length"], | 805 typedom_types: ["Length"], |
| 808 field_template: "storage_only", | 806 field_template: "storage_only", |
| 809 type_name: "unsigned", | 807 field_type_path: "core/style/BorderWidth", |
| 810 field_size : 26, | 808 default_value: "BorderWidth()", |
| 811 default_value: "WidthToFixedPoint(3)", | |
| 812 field_group: "surround", | 809 field_group: "surround", |
| 813 }, | 810 }, |
| 814 { | 811 { |
| 815 name: "border-top-color", | 812 name: "border-top-color", |
| 816 custom_all: true, | 813 custom_all: true, |
| 817 interpolable: true, | 814 interpolable: true, |
| 818 field_template: "storage_only", | 815 field_template: "storage_only", |
| 819 field_type_path: "platform/graphics/Color", | 816 field_type_path: "platform/graphics/Color", |
| 820 default_value: "0", | 817 default_value: "0", |
| 821 field_group: "surround", | 818 field_group: "surround", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 { | 851 { |
| 855 name: "border-top-width", | 852 name: "border-top-width", |
| 856 api_class: "CSSPropertyAPIBorderWidth", | 853 api_class: "CSSPropertyAPIBorderWidth", |
| 857 converter: "ConvertLineWidth<float>", | 854 converter: "ConvertLineWidth<float>", |
| 858 initial: "InitialBorderWidth", | 855 initial: "InitialBorderWidth", |
| 859 interpolable: true, | 856 interpolable: true, |
| 860 keywords: ["thin", "medium", "thick"], | 857 keywords: ["thin", "medium", "thick"], |
| 861 supports_percentage: true, | 858 supports_percentage: true, |
| 862 typedom_types: ["Length"], | 859 typedom_types: ["Length"], |
| 863 field_template: "storage_only", | 860 field_template: "storage_only", |
| 864 type_name: "unsigned", | 861 field_type_path: "core/style/BorderWidth", |
| 865 field_size : 26, | 862 default_value: "BorderWidth()", |
| 866 default_value: "WidthToFixedPoint(3)", | |
| 867 field_group: "surround", | 863 field_group: "surround", |
| 868 }, | 864 }, |
| 869 { | 865 { |
| 870 name: "bottom", | 866 name: "bottom", |
| 871 api_class: "CSSPropertyAPIMargin", | 867 api_class: "CSSPropertyAPIMargin", |
| 872 api_methods: ["parseSingleValue"], | 868 api_methods: ["parseSingleValue"], |
| 873 converter: "ConvertLengthOrAuto", | 869 converter: "ConvertLengthOrAuto", |
| 874 interpolable: true, | 870 interpolable: true, |
| 875 keywords: ["auto"], | 871 keywords: ["auto"], |
| 876 supports_percentage: true, | 872 supports_percentage: true, |
| (...skipping 2466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3343 { | 3339 { |
| 3344 name: "-webkit-transition-timing-function", | 3340 name: "-webkit-transition-timing-function", |
| 3345 alias_for: "transition-timing-function", | 3341 alias_for: "transition-timing-function", |
| 3346 }, | 3342 }, |
| 3347 { | 3343 { |
| 3348 name: "-webkit-user-select", | 3344 name: "-webkit-user-select", |
| 3349 alias_for: "user-select", | 3345 alias_for: "user-select", |
| 3350 }, | 3346 }, |
| 3351 ], | 3347 ], |
| 3352 } | 3348 } |
| OLD | NEW |