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 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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-snap-type", | 1851 name: "scroll-snap-type", |
1852 runtime_flag: "CSSScrollSnapPoints", | |
1853 type_name: "ScrollSnapType", | |
1854 }, | |
1855 { | |
1856 name: "scroll-snap-points-x", | |
1857 converter: "ConvertSnapPoints", | |
1858 runtime_flag: "CSSScrollSnapPoints", | |
1859 }, | |
1860 { | |
1861 name: "scroll-snap-points-y", | |
1862 converter: "ConvertSnapPoints", | |
1863 runtime_flag: "CSSScrollSnapPoints", | |
1864 }, | |
1865 { | |
1866 name: "scroll-snap-destination", | |
1867 converter: "ConvertPosition", | |
1868 runtime_flag: "CSSScrollSnapPoints", | |
1869 }, | |
1870 { | |
1871 name: "scroll-snap-coordinate", | |
1872 api_class: true, | 1852 api_class: true, |
1873 api_methods: ["parseSingleValue"], | 1853 api_methods: ["parseSingleValue"], |
1874 converter: "ConvertSnapCoordinates", | 1854 converter: "ConvertSnapType", |
1875 runtime_flag: "CSSScrollSnapPoints", | 1855 getter: "GetScrollSnapType", |
1876 }, | 1856 runtime_flag: "CSSScrollSnapPoints", |
1877 { | 1857 }, |
| 1858 { |
| 1859 name: "scroll-snap-align", |
| 1860 api_class: true, |
| 1861 api_methods: ["parseSingleValue"], |
| 1862 converter: "ConvertSnapAlign", |
| 1863 getter: "GetScrollSnapAlign", |
| 1864 runtime_flag: "CSSScrollSnapPoints", |
| 1865 }, |
| 1866 { |
| 1867 name: "scroll-snap-stop", |
| 1868 default_value: "normal", |
| 1869 field_template: "keyword", |
| 1870 keywords: ["normal", "always"], |
| 1871 runtime_flag: "CSSScrollSnapPoints", |
| 1872 }, |
| 1873 { |
| 1874 name: "scroll-padding-top", |
| 1875 api_class: "CSSPropertyAPIScrollPadding", |
| 1876 api_methods: ["parseSingleValue"], |
| 1877 converter: "ConvertLength", |
| 1878 initial: "InitialScrollPadding", |
| 1879 include_paths: ["platform/Length.h"], |
| 1880 typedom_types: ["Length", "Percent"], |
| 1881 type_name: "Length", |
| 1882 runtime_flag: "CSSScrollSnapPoints", |
| 1883 }, |
| 1884 { |
| 1885 name: "scroll-padding-bottom", |
| 1886 api_class: "CSSPropertyAPIScrollPadding", |
| 1887 api_methods: ["parseSingleValue"], |
| 1888 converter: "ConvertLength", |
| 1889 initial: "InitialScrollPadding", |
| 1890 include_paths: ["platform/Length.h"], |
| 1891 typedom_types: ["Length", "Percent"], |
| 1892 type_name: "Length", |
| 1893 runtime_flag: "CSSScrollSnapPoints", |
| 1894 }, |
| 1895 { |
| 1896 name: "scroll-padding-left", |
| 1897 api_class: "CSSPropertyAPIScrollPadding", |
| 1898 api_methods: ["parseSingleValue"], |
| 1899 converter: "ConvertLength", |
| 1900 initial: "InitialScrollPadding", |
| 1901 include_paths: ["platform/Length.h"], |
| 1902 typedom_types: ["Length", "Percent"], |
| 1903 type_name: "Length", |
| 1904 runtime_flag: "CSSScrollSnapPoints", |
| 1905 }, |
| 1906 { |
| 1907 name: "scroll-padding-right", |
| 1908 api_class: "CSSPropertyAPIScrollPadding", |
| 1909 api_methods: ["parseSingleValue"], |
| 1910 converter: "ConvertLength", |
| 1911 initial: "InitialScrollPadding", |
| 1912 include_paths: ["platform/Length.h"], |
| 1913 typedom_types: ["Length", "Percent"], |
| 1914 type_name: "Length", |
| 1915 runtime_flag: "CSSScrollSnapPoints", |
| 1916 }, |
| 1917 { |
| 1918 name: "scroll-padding-block-start", |
| 1919 api_class: "CSSPropertyAPIScrollPadding", |
| 1920 api_methods: ["parseSingleValue"], |
| 1921 converter: "ConvertLength", |
| 1922 initial: "InitialScrollPadding", |
| 1923 include_paths: ["platform/Length.h"], |
| 1924 typedom_types: ["Length", "Percent"], |
| 1925 type_name: "Length", |
| 1926 direction_aware: true, |
| 1927 runtime_flag: "CSSScrollSnapPoints", |
| 1928 }, |
| 1929 { |
| 1930 name: "scroll-padding-block-end", |
| 1931 api_class: "CSSPropertyAPIScrollPadding", |
| 1932 api_methods: ["parseSingleValue"], |
| 1933 converter: "ConvertLength", |
| 1934 initial: "InitialScrollPadding", |
| 1935 include_paths: ["platform/Length.h"], |
| 1936 typedom_types: ["Length", "Percent"], |
| 1937 type_name: "Length", |
| 1938 direction_aware: true, |
| 1939 runtime_flag: "CSSScrollSnapPoints", |
| 1940 }, |
| 1941 { |
| 1942 name: "scroll-padding-inline-start", |
| 1943 api_class: "CSSPropertyAPIScrollPadding", |
| 1944 api_methods: ["parseSingleValue"], |
| 1945 converter: "ConvertLength", |
| 1946 initial: "InitialScrollPadding", |
| 1947 include_paths: ["platform/Length.h"], |
| 1948 typedom_types: ["Length", "Percent"], |
| 1949 type_name: "Length", |
| 1950 direction_aware: true, |
| 1951 runtime_flag: "CSSScrollSnapPoints", |
| 1952 }, |
| 1953 { |
| 1954 name: "scroll-padding-inline-end", |
| 1955 api_class: "CSSPropertyAPIScrollPadding", |
| 1956 api_methods: ["parseSingleValue"], |
| 1957 converter: "ConvertLength", |
| 1958 initial: "InitialScrollPadding", |
| 1959 include_paths: ["platform/Length.h"], |
| 1960 typedom_types: ["Length", "Percent"], |
| 1961 type_name: "Length", |
| 1962 direction_aware: true, |
| 1963 runtime_flag: "CSSScrollSnapPoints", |
| 1964 }, |
| 1965 { |
| 1966 name: "scroll-snap-margin-top", |
| 1967 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 1968 api_methods: ["parseSingleValue"], |
| 1969 converter: "ConvertLength", |
| 1970 initial: "InitialScrollSnapMargin", |
| 1971 include_paths: ["platform/Length.h"], |
| 1972 type_name: "Length", |
| 1973 runtime_flag: "CSSScrollSnapPoints", |
| 1974 }, |
| 1975 { |
| 1976 name: "scroll-snap-margin-bottom", |
| 1977 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 1978 api_methods: ["parseSingleValue"], |
| 1979 converter: "ConvertLength", |
| 1980 initial: "InitialScrollSnapMargin", |
| 1981 include_paths: ["platform/Length.h"], |
| 1982 type_name: "Length", |
| 1983 runtime_flag: "CSSScrollSnapPoints", |
| 1984 }, |
| 1985 { |
| 1986 name: "scroll-snap-margin-left", |
| 1987 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 1988 api_methods: ["parseSingleValue"], |
| 1989 converter: "ConvertLength", |
| 1990 initial: "InitialScrollSnapMargin", |
| 1991 include_paths: ["platform/Length.h"], |
| 1992 type_name: "Length", |
| 1993 runtime_flag: "CSSScrollSnapPoints", |
| 1994 }, |
| 1995 { |
| 1996 name: "scroll-snap-margin-right", |
| 1997 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 1998 api_methods: ["parseSingleValue"], |
| 1999 converter: "ConvertLength", |
| 2000 initial: "InitialScrollSnapMargin", |
| 2001 include_paths: ["platform/Length.h"], |
| 2002 type_name: "Length", |
| 2003 runtime_flag: "CSSScrollSnapPoints", |
| 2004 }, |
| 2005 { |
| 2006 name: "scroll-snap-margin-block-start", |
| 2007 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2008 api_methods: ["parseSingleValue"], |
| 2009 converter: "ConvertLength", |
| 2010 initial: "InitialScrollSnapMargin", |
| 2011 direction_aware: true, |
| 2012 include_paths: ["platform/Length.h"], |
| 2013 type_name: "Length", |
| 2014 runtime_flag: "CSSScrollSnapPoints", |
| 2015 }, |
| 2016 { |
| 2017 name: "scroll-snap-margin-block-end", |
| 2018 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2019 api_methods: ["parseSingleValue"], |
| 2020 converter: "ConvertLength", |
| 2021 initial: "InitialScrollSnapMargin", |
| 2022 direction_aware: true, |
| 2023 include_paths: ["platform/Length.h"], |
| 2024 type_name: "Length", |
| 2025 runtime_flag: "CSSScrollSnapPoints", |
| 2026 }, |
| 2027 { |
| 2028 name: "scroll-snap-margin-inline-start", |
| 2029 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2030 api_methods: ["parseSingleValue"], |
| 2031 converter: "ConvertLength", |
| 2032 initial: "InitialScrollSnapMargin", |
| 2033 direction_aware: true, |
| 2034 include_paths: ["platform/Length.h"], |
| 2035 type_name: "Length", |
| 2036 runtime_flag: "CSSScrollSnapPoints", |
| 2037 }, |
| 2038 { |
| 2039 name: "scroll-snap-margin-inline-end", |
| 2040 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2041 api_methods: ["parseSingleValue"], |
| 2042 converter: "ConvertLength", |
| 2043 initial: "InitialScrollSnapMargin", |
| 2044 direction_aware: true, |
| 2045 include_paths: ["platform/Length.h"], |
| 2046 type_name: "Length", |
| 2047 runtime_flag: "CSSScrollSnapPoints", |
| 2048 }, |
| 2049 { |
1878 name: "shape-image-threshold", | 2050 name: "shape-image-threshold", |
1879 api_class: true, | 2051 api_class: true, |
1880 api_methods: ["parseSingleValue"], | 2052 api_methods: ["parseSingleValue"], |
1881 interpolable: true, | 2053 interpolable: true, |
1882 type_name: "float", | 2054 type_name: "float", |
1883 }, | 2055 }, |
1884 { | 2056 { |
1885 name: "shape-margin", | 2057 name: "shape-margin", |
1886 api_class: true, | 2058 api_class: true, |
1887 api_methods: ["parseSingleValue"], | 2059 api_methods: ["parseSingleValue"], |
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3206 }, | 3378 }, |
3207 { | 3379 { |
3208 name: "page-break-before", | 3380 name: "page-break-before", |
3209 longhands: "break-before", | 3381 longhands: "break-before", |
3210 }, | 3382 }, |
3211 { | 3383 { |
3212 name: "page-break-inside", | 3384 name: "page-break-inside", |
3213 longhands: "break-inside", | 3385 longhands: "break-inside", |
3214 }, | 3386 }, |
3215 { | 3387 { |
| 3388 name: "scroll-padding", |
| 3389 longhands: "scroll-padding-top;scroll-padding-right;scroll-padding-bottom;
scroll-padding-left", |
| 3390 runtime_flag: "CSSScrollSnapPoints", |
| 3391 }, |
| 3392 { |
| 3393 name: "scroll-padding-block", |
| 3394 longhands: "scroll-padding-block-start;scroll-padding-block-end", |
| 3395 runtime_flag: "CSSScrollSnapPoints", |
| 3396 }, |
| 3397 { |
| 3398 name: "scroll-padding-inline", |
| 3399 longhands: "scroll-padding-inline-start;scroll-padding-inline-end", |
| 3400 runtime_flag: "CSSScrollSnapPoints", |
| 3401 }, |
| 3402 { |
| 3403 name: "scroll-snap-margin", |
| 3404 longhands: "scroll-snap-margin-top;scroll-snap-margin-right;scroll-snap-ma
rgin-bottom;scroll-snap-margin-left", |
| 3405 runtime_flag: "CSSScrollSnapPoints", |
| 3406 }, |
| 3407 { |
| 3408 name: "scroll-snap-margin-block", |
| 3409 longhands: "scroll-snap-margin-block-start;scroll-snap-margin-block-end", |
| 3410 runtime_flag: "CSSScrollSnapPoints", |
| 3411 }, |
| 3412 { |
| 3413 name: "scroll-snap-margin-inline", |
| 3414 longhands: "scroll-snap-margin-inline-start;scroll-snap-margin-inline-end"
, |
| 3415 runtime_flag: "CSSScrollSnapPoints", |
| 3416 }, |
| 3417 { |
3216 name: "transition", | 3418 name: "transition", |
3217 longhands: "transition-property;transition-duration;transition-timing-func
tion;transition-delay", | 3419 longhands: "transition-property;transition-duration;transition-timing-func
tion;transition-delay", |
3218 }, | 3420 }, |
3219 { | 3421 { |
3220 name: "-webkit-border-after", | 3422 name: "-webkit-border-after", |
3221 longhands: "-webkit-border-after-width;-webkit-border-after-style;-webkit-
border-after-color", | 3423 longhands: "-webkit-border-after-width;-webkit-border-after-style;-webkit-
border-after-color", |
3222 }, | 3424 }, |
3223 { | 3425 { |
3224 name: "-webkit-border-before", | 3426 name: "-webkit-border-before", |
3225 longhands: "-webkit-border-before-width;-webkit-border-before-style;-webki
t-border-before-color", | 3427 longhands: "-webkit-border-before-width;-webkit-border-before-style;-webki
t-border-before-color", |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3553 { | 3755 { |
3554 name: "-webkit-transition-timing-function", | 3756 name: "-webkit-transition-timing-function", |
3555 alias_for: "transition-timing-function", | 3757 alias_for: "transition-timing-function", |
3556 }, | 3758 }, |
3557 { | 3759 { |
3558 name: "-webkit-user-select", | 3760 name: "-webkit-user-select", |
3559 alias_for: "user-select", | 3761 alias_for: "user-select", |
3560 }, | 3762 }, |
3561 ], | 3763 ], |
3562 } | 3764 } |
OLD | NEW |