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 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1740 converter: "ConvertLengthOrAuto", | 1740 converter: "ConvertLengthOrAuto", |
1741 interpolable: true, | 1741 interpolable: true, |
1742 svg: true, | 1742 svg: true, |
1743 }, | 1743 }, |
1744 { | 1744 { |
1745 name: "scroll-behavior", | 1745 name: "scroll-behavior", |
1746 runtime_flag: "CSSOMSmoothScroll", | 1746 runtime_flag: "CSSOMSmoothScroll", |
1747 type_name: "ScrollBehavior", | 1747 type_name: "ScrollBehavior", |
1748 }, | 1748 }, |
1749 { | 1749 { |
| 1750 name: "scroll-boundary-behavior-x", |
| 1751 default_value: "auto", |
| 1752 field_template: "keyword", |
| 1753 keywords: ["auto", "contain", "none"], |
| 1754 type_name: "EScrollBoundaryBehavior", |
| 1755 }, |
| 1756 { |
| 1757 name: "scroll-boundary-behavior-y", |
| 1758 default_value: "auto", |
| 1759 field_template: "keyword", |
| 1760 keywords: ["auto", "contain", "none"], |
| 1761 type_name: "EScrollBoundaryBehavior", |
| 1762 }, |
| 1763 { |
1750 name: "scroll-snap-type", | 1764 name: "scroll-snap-type", |
1751 runtime_flag: "CSSScrollSnapPoints", | 1765 runtime_flag: "CSSScrollSnapPoints", |
1752 type_name: "ScrollSnapType", | 1766 type_name: "ScrollSnapType", |
1753 }, | 1767 }, |
1754 { | 1768 { |
1755 name: "scroll-snap-points-x", | 1769 name: "scroll-snap-points-x", |
1756 converter: "ConvertSnapPoints", | 1770 converter: "ConvertSnapPoints", |
1757 runtime_flag: "CSSScrollSnapPoints", | 1771 runtime_flag: "CSSScrollSnapPoints", |
1758 }, | 1772 }, |
1759 { | 1773 { |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2972 }, | 2986 }, |
2973 { | 2987 { |
2974 name: "outline", | 2988 name: "outline", |
2975 longhands: "outline-color;outline-style;outline-width", | 2989 longhands: "outline-color;outline-style;outline-width", |
2976 }, | 2990 }, |
2977 { | 2991 { |
2978 name: "overflow", | 2992 name: "overflow", |
2979 longhands: "overflow-x;overflow-y", | 2993 longhands: "overflow-x;overflow-y", |
2980 }, | 2994 }, |
2981 { | 2995 { |
| 2996 name: "scroll-boundary-behavior", |
| 2997 longhands: "scroll-boundary-behavior-x;scroll-boundary-behavior-y", |
| 2998 }, |
| 2999 { |
2982 name: "padding", | 3000 name: "padding", |
2983 longhands: "padding-top;padding-right;padding-bottom;padding-left", | 3001 longhands: "padding-top;padding-right;padding-bottom;padding-left", |
2984 }, | 3002 }, |
2985 { | 3003 { |
2986 name: "page-break-after", | 3004 name: "page-break-after", |
2987 longhands: "break-after", | 3005 longhands: "break-after", |
2988 }, | 3006 }, |
2989 { | 3007 { |
2990 name: "page-break-before", | 3008 name: "page-break-before", |
2991 longhands: "break-before", | 3009 longhands: "break-before", |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3335 { | 3353 { |
3336 name: "-webkit-transition-timing-function", | 3354 name: "-webkit-transition-timing-function", |
3337 alias_for: "transition-timing-function", | 3355 alias_for: "transition-timing-function", |
3338 }, | 3356 }, |
3339 { | 3357 { |
3340 name: "-webkit-user-select", | 3358 name: "-webkit-user-select", |
3341 alias_for: "user-select", | 3359 alias_for: "user-select", |
3342 }, | 3360 }, |
3343 ], | 3361 ], |
3344 } | 3362 } |
OLD | NEW |