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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 interpolable: true, | 783 interpolable: true, |
784 keywords: ["thin", "medium", "thick"], | 784 keywords: ["thin", "medium", "thick"], |
785 supports_percentage: true, | 785 supports_percentage: true, |
786 typedom_types: ["Length"], | 786 typedom_types: ["Length"], |
787 }, | 787 }, |
788 { | 788 { |
789 name: "bottom", | 789 name: "bottom", |
790 api_class: "CSSPropertyAPIMargin", | 790 api_class: "CSSPropertyAPIMargin", |
791 api_methods: ["parseSingleValue"], | 791 api_methods: ["parseSingleValue"], |
792 converter: "ConvertLengthOrAuto", | 792 converter: "ConvertLengthOrAuto", |
793 initial: "InitialOffset", | |
794 interpolable: true, | 793 interpolable: true, |
795 keywords: ["auto"], | 794 keywords: ["auto"], |
796 supports_percentage: true, | 795 supports_percentage: true, |
797 typedom_types: ["Length"], | 796 typedom_types: ["Length"], |
798 }, | 797 }, |
799 { | 798 { |
800 name: "box-shadow", | 799 name: "box-shadow", |
801 converter: "ConvertShadowList", | 800 converter: "ConvertShadowList", |
802 interpolable: true, | 801 interpolable: true, |
803 }, | 802 }, |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 api_methods: ["parseSingleValue"], | 1185 api_methods: ["parseSingleValue"], |
1187 converter: "ConvertSelfOrDefaultAlignmentData", | 1186 converter: "ConvertSelfOrDefaultAlignmentData", |
1188 initial: "InitialSelfAlignment", | 1187 initial: "InitialSelfAlignment", |
1189 runtime_flag: "CSSGridLayout", | 1188 runtime_flag: "CSSGridLayout", |
1190 }, | 1189 }, |
1191 { | 1190 { |
1192 name: "left", | 1191 name: "left", |
1193 api_class: "CSSPropertyAPIMargin", | 1192 api_class: "CSSPropertyAPIMargin", |
1194 api_methods: ["parseSingleValue"], | 1193 api_methods: ["parseSingleValue"], |
1195 converter: "ConvertLengthOrAuto", | 1194 converter: "ConvertLengthOrAuto", |
1196 initial: "InitialOffset", | |
1197 interpolable: true, | 1195 interpolable: true, |
1198 keywords: ["auto"], | 1196 keywords: ["auto"], |
1199 supports_percentage: true, | 1197 supports_percentage: true, |
1200 typedom_types: ["Length"], | 1198 typedom_types: ["Length"], |
1201 }, | 1199 }, |
1202 { | 1200 { |
1203 name: "letter-spacing", | 1201 name: "letter-spacing", |
1204 api_class: "CSSPropertyAPILetterAndWordSpacing", | 1202 api_class: "CSSPropertyAPILetterAndWordSpacing", |
1205 api_methods: ["parseSingleValue"], | 1203 api_methods: ["parseSingleValue"], |
1206 converter: "ConvertSpacing", | 1204 converter: "ConvertSpacing", |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 }, | 1584 }, |
1587 { | 1585 { |
1588 name: "resize", | 1586 name: "resize", |
1589 custom_value: true, | 1587 custom_value: true, |
1590 }, | 1588 }, |
1591 { | 1589 { |
1592 name: "right", | 1590 name: "right", |
1593 api_class: "CSSPropertyAPIMargin", | 1591 api_class: "CSSPropertyAPIMargin", |
1594 api_methods: ["parseSingleValue"], | 1592 api_methods: ["parseSingleValue"], |
1595 converter: "ConvertLengthOrAuto", | 1593 converter: "ConvertLengthOrAuto", |
1596 initial: "InitialOffset", | |
1597 interpolable: true, | 1594 interpolable: true, |
1598 keywords: ["auto"], | 1595 keywords: ["auto"], |
1599 supports_percentage: true, | 1596 supports_percentage: true, |
1600 typedom_types: ["Length"], | 1597 typedom_types: ["Length"], |
1601 }, | 1598 }, |
1602 { | 1599 { |
1603 name: "r", | 1600 name: "r", |
1604 api_class: "CSSPropertyAPIStrokeOrLength", | 1601 api_class: "CSSPropertyAPIStrokeOrLength", |
1605 converter: "ConvertLength", | 1602 converter: "ConvertLength", |
1606 interpolable: true, | 1603 interpolable: true, |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 api_methods: ["parseSingleValue"], | 1902 api_methods: ["parseSingleValue"], |
1906 inherited: true, | 1903 inherited: true, |
1907 runtime_flag: "CSS3TextDecorations", | 1904 runtime_flag: "CSS3TextDecorations", |
1908 type_name: "TextUnderlinePosition", | 1905 type_name: "TextUnderlinePosition", |
1909 }, | 1906 }, |
1910 { | 1907 { |
1911 name: "top", | 1908 name: "top", |
1912 api_class: "CSSPropertyAPIMargin", | 1909 api_class: "CSSPropertyAPIMargin", |
1913 api_methods: ["parseSingleValue"], | 1910 api_methods: ["parseSingleValue"], |
1914 converter: "ConvertLengthOrAuto", | 1911 converter: "ConvertLengthOrAuto", |
1915 initial: "InitialOffset", | |
1916 interpolable: true, | 1912 interpolable: true, |
1917 keywords: ["auto"], | 1913 keywords: ["auto"], |
1918 supports_percentage: true, | 1914 supports_percentage: true, |
1919 typedom_types: ["Length"], | 1915 typedom_types: ["Length"], |
1920 }, | 1916 }, |
1921 { | 1917 { |
1922 name: "touch-action", | 1918 name: "touch-action", |
1923 api_class: true, | 1919 api_class: true, |
1924 api_methods: ["parseSingleValue"], | 1920 api_methods: ["parseSingleValue"], |
1925 converter: "ConvertFlags<TouchAction>", | 1921 converter: "ConvertFlags<TouchAction>", |
(...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3193 { | 3189 { |
3194 name: "-webkit-transition-timing-function", | 3190 name: "-webkit-transition-timing-function", |
3195 alias_for: "transition-timing-function", | 3191 alias_for: "transition-timing-function", |
3196 }, | 3192 }, |
3197 { | 3193 { |
3198 name: "-webkit-user-select", | 3194 name: "-webkit-user-select", |
3199 alias_for: "user-select", | 3195 alias_for: "user-select", |
3200 }, | 3196 }, |
3201 ], | 3197 ], |
3202 } | 3198 } |
OLD | NEW |