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 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1841 converter: "ConvertLengthOrAuto", | 1841 converter: "ConvertLengthOrAuto", |
1842 interpolable: true, | 1842 interpolable: true, |
1843 svg: true, | 1843 svg: true, |
1844 }, | 1844 }, |
1845 { | 1845 { |
1846 name: "scroll-behavior", | 1846 name: "scroll-behavior", |
1847 runtime_flag: "CSSOMSmoothScroll", | 1847 runtime_flag: "CSSOMSmoothScroll", |
1848 type_name: "ScrollBehavior", | 1848 type_name: "ScrollBehavior", |
1849 }, | 1849 }, |
1850 { | 1850 { |
| 1851 name: "scroll-boundary-behavior-x", |
| 1852 default_value: "auto", |
| 1853 field_template: "keyword", |
| 1854 keywords: ["auto", "contain", "none"], |
| 1855 type_name: "EScrollBoundaryBehavior", |
| 1856 runtime_flag: "CSSScrollBoundaryBehavior", |
| 1857 }, |
| 1858 { |
| 1859 name: "scroll-boundary-behavior-y", |
| 1860 default_value: "auto", |
| 1861 field_template: "keyword", |
| 1862 keywords: ["auto", "contain", "none"], |
| 1863 type_name: "EScrollBoundaryBehavior", |
| 1864 runtime_flag: "CSSScrollBoundaryBehavior", |
| 1865 }, |
| 1866 { |
1851 name: "scroll-snap-type", | 1867 name: "scroll-snap-type", |
1852 runtime_flag: "CSSScrollSnapPoints", | 1868 runtime_flag: "CSSScrollSnapPoints", |
1853 type_name: "ScrollSnapType", | 1869 type_name: "ScrollSnapType", |
1854 }, | 1870 }, |
1855 { | 1871 { |
1856 name: "scroll-snap-points-x", | 1872 name: "scroll-snap-points-x", |
1857 converter: "ConvertSnapPoints", | 1873 converter: "ConvertSnapPoints", |
1858 runtime_flag: "CSSScrollSnapPoints", | 1874 runtime_flag: "CSSScrollSnapPoints", |
1859 }, | 1875 }, |
1860 { | 1876 { |
(...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3190 }, | 3206 }, |
3191 { | 3207 { |
3192 name: "outline", | 3208 name: "outline", |
3193 longhands: "outline-color;outline-style;outline-width", | 3209 longhands: "outline-color;outline-style;outline-width", |
3194 }, | 3210 }, |
3195 { | 3211 { |
3196 name: "overflow", | 3212 name: "overflow", |
3197 longhands: "overflow-x;overflow-y", | 3213 longhands: "overflow-x;overflow-y", |
3198 }, | 3214 }, |
3199 { | 3215 { |
| 3216 name: "scroll-boundary-behavior", |
| 3217 longhands: "scroll-boundary-behavior-x;scroll-boundary-behavior-y", |
| 3218 runtime_flag: "CSSScrollBoundaryBehavior", |
| 3219 }, |
| 3220 { |
3200 name: "padding", | 3221 name: "padding", |
3201 longhands: "padding-top;padding-right;padding-bottom;padding-left", | 3222 longhands: "padding-top;padding-right;padding-bottom;padding-left", |
3202 }, | 3223 }, |
3203 { | 3224 { |
3204 name: "page-break-after", | 3225 name: "page-break-after", |
3205 longhands: "break-after", | 3226 longhands: "break-after", |
3206 }, | 3227 }, |
3207 { | 3228 { |
3208 name: "page-break-before", | 3229 name: "page-break-before", |
3209 longhands: "break-before", | 3230 longhands: "break-before", |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3553 { | 3574 { |
3554 name: "-webkit-transition-timing-function", | 3575 name: "-webkit-transition-timing-function", |
3555 alias_for: "transition-timing-function", | 3576 alias_for: "transition-timing-function", |
3556 }, | 3577 }, |
3557 { | 3578 { |
3558 name: "-webkit-user-select", | 3579 name: "-webkit-user-select", |
3559 alias_for: "user-select", | 3580 alias_for: "user-select", |
3560 }, | 3581 }, |
3561 ], | 3582 ], |
3562 } | 3583 } |
OLD | NEW |