| 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 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1492 converter: "convertLength", | 1492 converter: "convertLength", |
| 1493 initial: "initialPadding", | 1493 initial: "initialPadding", |
| 1494 interpolable: true, | 1494 interpolable: true, |
| 1495 }, | 1495 }, |
| 1496 { | 1496 { |
| 1497 name: "paint-order", | 1497 name: "paint-order", |
| 1498 api_class: true, | 1498 api_class: true, |
| 1499 api_methods: ["parseSingleValue"], | 1499 api_methods: ["parseSingleValue"], |
| 1500 converter: "convertPaintOrder", | 1500 converter: "convertPaintOrder", |
| 1501 inherited: true, | 1501 inherited: true, |
| 1502 svg: true, | |
| 1503 }, | 1502 }, |
| 1504 { | 1503 { |
| 1505 name: "perspective", | 1504 name: "perspective", |
| 1506 api_class: "CSSPropertyAPIPerspective", | 1505 api_class: "CSSPropertyAPIPerspective", |
| 1507 converter: "convertPerspective", | 1506 converter: "convertPerspective", |
| 1508 interpolable: true, | 1507 interpolable: true, |
| 1509 }, | 1508 }, |
| 1510 { | 1509 { |
| 1511 name: "perspective-origin", | 1510 name: "perspective-origin", |
| 1512 converter: "convertPosition", | 1511 converter: "convertPosition", |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1687 converter: "convertLength", | 1686 converter: "convertLength", |
| 1688 inherited: true, | 1687 inherited: true, |
| 1689 interpolable: true, | 1688 interpolable: true, |
| 1690 name_for_methods: "StrokeDashOffset", | 1689 name_for_methods: "StrokeDashOffset", |
| 1691 svg: true, | 1690 svg: true, |
| 1692 }, | 1691 }, |
| 1693 { | 1692 { |
| 1694 name: "stroke-linecap", | 1693 name: "stroke-linecap", |
| 1695 inherited: true, | 1694 inherited: true, |
| 1696 name_for_methods: "CapStyle", | 1695 name_for_methods: "CapStyle", |
| 1697 svg: true, | |
| 1698 type_name: "LineCap", | 1696 type_name: "LineCap", |
| 1699 }, | 1697 }, |
| 1700 { | 1698 { |
| 1701 name: "stroke-linejoin", | 1699 name: "stroke-linejoin", |
| 1702 inherited: true, | 1700 inherited: true, |
| 1703 name_for_methods: "JoinStyle", | 1701 name_for_methods: "JoinStyle", |
| 1704 svg: true, | |
| 1705 type_name: "LineJoin", | 1702 type_name: "LineJoin", |
| 1706 }, | 1703 }, |
| 1707 { | 1704 { |
| 1708 name: "stroke-miterlimit", | 1705 name: "stroke-miterlimit", |
| 1709 api_class: true, | 1706 api_class: true, |
| 1710 api_methods: ["parseSingleValue"], | 1707 api_methods: ["parseSingleValue"], |
| 1711 inherited: true, | 1708 inherited: true, |
| 1712 interpolable: true, | 1709 interpolable: true, |
| 1713 name_for_methods: "StrokeMiterLimit", | 1710 name_for_methods: "StrokeMiterLimit", |
| 1714 svg: true, | 1711 svg: true, |
| 1715 type_name: "float", | 1712 type_name: "float", |
| 1716 }, | 1713 }, |
| 1717 { | 1714 { |
| 1718 name: "stroke-opacity", | 1715 name: "stroke-opacity", |
| 1719 api_class: "CSSPropertyAPIOpacity", | 1716 api_class: "CSSPropertyAPIOpacity", |
| 1720 api_methods: ["parseSingleValue"], | 1717 api_methods: ["parseSingleValue"], |
| 1721 converter: "convertNumberOrPercentage", | 1718 converter: "convertNumberOrPercentage", |
| 1722 inherited: true, | 1719 inherited: true, |
| 1723 interpolable: true, | 1720 interpolable: true, |
| 1724 svg: true, | 1721 svg: true, |
| 1725 }, | 1722 }, |
| 1726 { | 1723 { |
| 1727 name: "stroke-width", | 1724 name: "stroke-width", |
| 1728 api_class: "CSSPropertyAPIStrokeOrLength", | 1725 api_class: "CSSPropertyAPIStrokeOrLength", |
| 1729 converter: "convertUnzoomedLength", | 1726 converter: "convertUnzoomedLength", |
| 1730 inherited: true, | 1727 inherited: true, |
| 1731 interpolable: true, | 1728 interpolable: true, |
| 1732 svg: true, | |
| 1733 }, | 1729 }, |
| 1734 { | 1730 { |
| 1735 name: "table-layout", | 1731 name: "table-layout", |
| 1736 initial_keyword: "auto", | 1732 initial_keyword: "auto", |
| 1737 field_template: "keyword", | 1733 field_template: "keyword", |
| 1738 keywords: [ | 1734 keywords: [ |
| 1739 "auto", "fixed" | 1735 "auto", "fixed" |
| 1740 ] | 1736 ] |
| 1741 }, | 1737 }, |
| 1742 { | 1738 { |
| (...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3117 { | 3113 { |
| 3118 name: "-webkit-transition-timing-function", | 3114 name: "-webkit-transition-timing-function", |
| 3119 alias_for: "transition-timing-function", | 3115 alias_for: "transition-timing-function", |
| 3120 }, | 3116 }, |
| 3121 { | 3117 { |
| 3122 name: "-webkit-user-select", | 3118 name: "-webkit-user-select", |
| 3123 alias_for: "user-select", | 3119 alias_for: "user-select", |
| 3124 }, | 3120 }, |
| 3125 ], | 3121 ], |
| 3126 } | 3122 } |
| OLD | NEW |