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 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 name: "scroll-behavior", | 1940 name: "scroll-behavior", |
1941 runtime_flag: "CSSOMSmoothScroll", | 1941 runtime_flag: "CSSOMSmoothScroll", |
1942 type_name: "ScrollBehavior", | 1942 type_name: "ScrollBehavior", |
1943 field_template: "storage_only", | 1943 field_template: "storage_only", |
1944 field_group: "rare-non-inherited", | 1944 field_group: "rare-non-inherited", |
1945 field_size: 2, | 1945 field_size: 2, |
1946 default_value: "kScrollBehaviorAuto", | 1946 default_value: "kScrollBehaviorAuto", |
1947 }, | 1947 }, |
1948 { | 1948 { |
1949 name: "scroll-snap-type", | 1949 name: "scroll-snap-type", |
1950 runtime_flag: "CSSScrollSnapPoints", | |
1951 type_name: "ScrollSnapType", | |
1952 field_template: "storage_only", | |
1953 field_group: "rare-non-inherited", | |
1954 field_size: 2, | |
1955 default_value: "kScrollSnapTypeNone", | |
1956 }, | |
1957 { | |
1958 name: "scroll-snap-points-x", | |
1959 converter: "ConvertSnapPoints", | |
1960 runtime_flag: "CSSScrollSnapPoints", | |
1961 }, | |
1962 { | |
1963 name: "scroll-snap-points-y", | |
1964 converter: "ConvertSnapPoints", | |
1965 runtime_flag: "CSSScrollSnapPoints", | |
1966 }, | |
1967 { | |
1968 name: "scroll-snap-destination", | |
1969 converter: "ConvertPosition", | |
1970 runtime_flag: "CSSScrollSnapPoints", | |
1971 }, | |
1972 { | |
1973 name: "scroll-snap-coordinate", | |
1974 api_class: true, | 1950 api_class: true, |
1975 api_methods: ["parseSingleValue"], | 1951 api_methods: ["parseSingleValue"], |
1976 converter: "ConvertSnapCoordinates", | 1952 converter: "ConvertSnapType", |
1977 runtime_flag: "CSSScrollSnapPoints", | 1953 getter: "GetScrollSnapType", |
1978 }, | 1954 runtime_flag: "CSSScrollSnapPoints", |
1979 { | 1955 }, |
| 1956 { |
| 1957 name: "scroll-snap-align", |
| 1958 api_class: true, |
| 1959 api_methods: ["parseSingleValue"], |
| 1960 converter: "ConvertSnapAlign", |
| 1961 getter: "GetScrollSnapAlign", |
| 1962 runtime_flag: "CSSScrollSnapPoints", |
| 1963 }, |
| 1964 { |
| 1965 name: "scroll-snap-stop", |
| 1966 default_value: "normal", |
| 1967 field_template: "keyword", |
| 1968 keywords: ["normal", "always"], |
| 1969 runtime_flag: "CSSScrollSnapPoints", |
| 1970 }, |
| 1971 { |
| 1972 name: "scroll-padding-top", |
| 1973 api_class: "CSSPropertyAPIScrollPadding", |
| 1974 api_methods: ["parseSingleValue"], |
| 1975 converter: "ConvertLength", |
| 1976 initial: "InitialScrollPadding", |
| 1977 include_paths: ["platform/Length.h"], |
| 1978 typedom_types: ["Length", "Percent"], |
| 1979 type_name: "Length", |
| 1980 runtime_flag: "CSSScrollSnapPoints", |
| 1981 }, |
| 1982 { |
| 1983 name: "scroll-padding-bottom", |
| 1984 api_class: "CSSPropertyAPIScrollPadding", |
| 1985 api_methods: ["parseSingleValue"], |
| 1986 converter: "ConvertLength", |
| 1987 initial: "InitialScrollPadding", |
| 1988 include_paths: ["platform/Length.h"], |
| 1989 typedom_types: ["Length", "Percent"], |
| 1990 type_name: "Length", |
| 1991 runtime_flag: "CSSScrollSnapPoints", |
| 1992 }, |
| 1993 { |
| 1994 name: "scroll-padding-left", |
| 1995 api_class: "CSSPropertyAPIScrollPadding", |
| 1996 api_methods: ["parseSingleValue"], |
| 1997 converter: "ConvertLength", |
| 1998 initial: "InitialScrollPadding", |
| 1999 include_paths: ["platform/Length.h"], |
| 2000 typedom_types: ["Length", "Percent"], |
| 2001 type_name: "Length", |
| 2002 runtime_flag: "CSSScrollSnapPoints", |
| 2003 }, |
| 2004 { |
| 2005 name: "scroll-padding-right", |
| 2006 api_class: "CSSPropertyAPIScrollPadding", |
| 2007 api_methods: ["parseSingleValue"], |
| 2008 converter: "ConvertLength", |
| 2009 initial: "InitialScrollPadding", |
| 2010 include_paths: ["platform/Length.h"], |
| 2011 typedom_types: ["Length", "Percent"], |
| 2012 type_name: "Length", |
| 2013 runtime_flag: "CSSScrollSnapPoints", |
| 2014 }, |
| 2015 { |
| 2016 name: "scroll-padding-block-start", |
| 2017 api_class: "CSSPropertyAPIScrollPadding", |
| 2018 api_methods: ["parseSingleValue"], |
| 2019 converter: "ConvertLength", |
| 2020 initial: "InitialScrollPadding", |
| 2021 include_paths: ["platform/Length.h"], |
| 2022 typedom_types: ["Length", "Percent"], |
| 2023 type_name: "Length", |
| 2024 direction_aware: true, |
| 2025 runtime_flag: "CSSScrollSnapPoints", |
| 2026 }, |
| 2027 { |
| 2028 name: "scroll-padding-block-end", |
| 2029 api_class: "CSSPropertyAPIScrollPadding", |
| 2030 api_methods: ["parseSingleValue"], |
| 2031 converter: "ConvertLength", |
| 2032 initial: "InitialScrollPadding", |
| 2033 include_paths: ["platform/Length.h"], |
| 2034 typedom_types: ["Length", "Percent"], |
| 2035 type_name: "Length", |
| 2036 direction_aware: true, |
| 2037 runtime_flag: "CSSScrollSnapPoints", |
| 2038 }, |
| 2039 { |
| 2040 name: "scroll-padding-inline-start", |
| 2041 api_class: "CSSPropertyAPIScrollPadding", |
| 2042 api_methods: ["parseSingleValue"], |
| 2043 converter: "ConvertLength", |
| 2044 initial: "InitialScrollPadding", |
| 2045 include_paths: ["platform/Length.h"], |
| 2046 typedom_types: ["Length", "Percent"], |
| 2047 type_name: "Length", |
| 2048 direction_aware: true, |
| 2049 runtime_flag: "CSSScrollSnapPoints", |
| 2050 }, |
| 2051 { |
| 2052 name: "scroll-padding-inline-end", |
| 2053 api_class: "CSSPropertyAPIScrollPadding", |
| 2054 api_methods: ["parseSingleValue"], |
| 2055 converter: "ConvertLength", |
| 2056 initial: "InitialScrollPadding", |
| 2057 include_paths: ["platform/Length.h"], |
| 2058 typedom_types: ["Length", "Percent"], |
| 2059 type_name: "Length", |
| 2060 direction_aware: true, |
| 2061 runtime_flag: "CSSScrollSnapPoints", |
| 2062 }, |
| 2063 { |
| 2064 name: "scroll-snap-margin-top", |
| 2065 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2066 api_methods: ["parseSingleValue"], |
| 2067 converter: "ConvertLength", |
| 2068 initial: "InitialScrollSnapMargin", |
| 2069 include_paths: ["platform/Length.h"], |
| 2070 type_name: "Length", |
| 2071 runtime_flag: "CSSScrollSnapPoints", |
| 2072 }, |
| 2073 { |
| 2074 name: "scroll-snap-margin-bottom", |
| 2075 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2076 api_methods: ["parseSingleValue"], |
| 2077 converter: "ConvertLength", |
| 2078 initial: "InitialScrollSnapMargin", |
| 2079 include_paths: ["platform/Length.h"], |
| 2080 type_name: "Length", |
| 2081 runtime_flag: "CSSScrollSnapPoints", |
| 2082 }, |
| 2083 { |
| 2084 name: "scroll-snap-margin-left", |
| 2085 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2086 api_methods: ["parseSingleValue"], |
| 2087 converter: "ConvertLength", |
| 2088 initial: "InitialScrollSnapMargin", |
| 2089 include_paths: ["platform/Length.h"], |
| 2090 type_name: "Length", |
| 2091 runtime_flag: "CSSScrollSnapPoints", |
| 2092 }, |
| 2093 { |
| 2094 name: "scroll-snap-margin-right", |
| 2095 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2096 api_methods: ["parseSingleValue"], |
| 2097 converter: "ConvertLength", |
| 2098 initial: "InitialScrollSnapMargin", |
| 2099 include_paths: ["platform/Length.h"], |
| 2100 type_name: "Length", |
| 2101 runtime_flag: "CSSScrollSnapPoints", |
| 2102 }, |
| 2103 { |
| 2104 name: "scroll-snap-margin-block-start", |
| 2105 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2106 api_methods: ["parseSingleValue"], |
| 2107 converter: "ConvertLength", |
| 2108 initial: "InitialScrollSnapMargin", |
| 2109 direction_aware: true, |
| 2110 include_paths: ["platform/Length.h"], |
| 2111 type_name: "Length", |
| 2112 runtime_flag: "CSSScrollSnapPoints", |
| 2113 }, |
| 2114 { |
| 2115 name: "scroll-snap-margin-block-end", |
| 2116 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2117 api_methods: ["parseSingleValue"], |
| 2118 converter: "ConvertLength", |
| 2119 initial: "InitialScrollSnapMargin", |
| 2120 direction_aware: true, |
| 2121 include_paths: ["platform/Length.h"], |
| 2122 type_name: "Length", |
| 2123 runtime_flag: "CSSScrollSnapPoints", |
| 2124 }, |
| 2125 { |
| 2126 name: "scroll-snap-margin-inline-start", |
| 2127 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2128 api_methods: ["parseSingleValue"], |
| 2129 converter: "ConvertLength", |
| 2130 initial: "InitialScrollSnapMargin", |
| 2131 direction_aware: true, |
| 2132 include_paths: ["platform/Length.h"], |
| 2133 type_name: "Length", |
| 2134 runtime_flag: "CSSScrollSnapPoints", |
| 2135 }, |
| 2136 { |
| 2137 name: "scroll-snap-margin-inline-end", |
| 2138 api_class: "CSSPropertyAPIScrollSnapMargin", |
| 2139 api_methods: ["parseSingleValue"], |
| 2140 converter: "ConvertLength", |
| 2141 initial: "InitialScrollSnapMargin", |
| 2142 direction_aware: true, |
| 2143 include_paths: ["platform/Length.h"], |
| 2144 type_name: "Length", |
| 2145 runtime_flag: "CSSScrollSnapPoints", |
| 2146 }, |
| 2147 { |
1980 name: "shape-image-threshold", | 2148 name: "shape-image-threshold", |
1981 api_class: true, | 2149 api_class: true, |
1982 api_methods: ["parseSingleValue"], | 2150 api_methods: ["parseSingleValue"], |
1983 interpolable: true, | 2151 interpolable: true, |
1984 field_template: "storage_only", | 2152 field_template: "storage_only", |
1985 type_name: "float", | 2153 type_name: "float", |
1986 field_group: "rare-non-inherited", | 2154 field_group: "rare-non-inherited", |
1987 default_value: "0.0", | 2155 default_value: "0.0", |
1988 }, | 2156 }, |
1989 { | 2157 { |
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3372 }, | 3540 }, |
3373 { | 3541 { |
3374 name: "page-break-before", | 3542 name: "page-break-before", |
3375 longhands: "break-before", | 3543 longhands: "break-before", |
3376 }, | 3544 }, |
3377 { | 3545 { |
3378 name: "page-break-inside", | 3546 name: "page-break-inside", |
3379 longhands: "break-inside", | 3547 longhands: "break-inside", |
3380 }, | 3548 }, |
3381 { | 3549 { |
| 3550 name: "scroll-padding", |
| 3551 longhands: "scroll-padding-top;scroll-padding-right;scroll-padding-bottom;
scroll-padding-left", |
| 3552 runtime_flag: "CSSScrollSnapPoints", |
| 3553 }, |
| 3554 { |
| 3555 name: "scroll-padding-block", |
| 3556 longhands: "scroll-padding-block-start;scroll-padding-block-end", |
| 3557 runtime_flag: "CSSScrollSnapPoints", |
| 3558 }, |
| 3559 { |
| 3560 name: "scroll-padding-inline", |
| 3561 longhands: "scroll-padding-inline-start;scroll-padding-inline-end", |
| 3562 runtime_flag: "CSSScrollSnapPoints", |
| 3563 }, |
| 3564 { |
| 3565 name: "scroll-snap-margin", |
| 3566 longhands: "scroll-snap-margin-top;scroll-snap-margin-right;scroll-snap-ma
rgin-bottom;scroll-snap-margin-left", |
| 3567 runtime_flag: "CSSScrollSnapPoints", |
| 3568 }, |
| 3569 { |
| 3570 name: "scroll-snap-margin-block", |
| 3571 longhands: "scroll-snap-margin-block-start;scroll-snap-margin-block-end", |
| 3572 runtime_flag: "CSSScrollSnapPoints", |
| 3573 }, |
| 3574 { |
| 3575 name: "scroll-snap-margin-inline", |
| 3576 longhands: "scroll-snap-margin-inline-start;scroll-snap-margin-inline-end"
, |
| 3577 runtime_flag: "CSSScrollSnapPoints", |
| 3578 }, |
| 3579 { |
3382 name: "transition", | 3580 name: "transition", |
3383 longhands: "transition-property;transition-duration;transition-timing-func
tion;transition-delay", | 3581 longhands: "transition-property;transition-duration;transition-timing-func
tion;transition-delay", |
3384 }, | 3582 }, |
3385 { | 3583 { |
3386 name: "-webkit-border-after", | 3584 name: "-webkit-border-after", |
3387 longhands: "-webkit-border-after-width;-webkit-border-after-style;-webkit-
border-after-color", | 3585 longhands: "-webkit-border-after-width;-webkit-border-after-style;-webkit-
border-after-color", |
3388 }, | 3586 }, |
3389 { | 3587 { |
3390 name: "-webkit-border-before", | 3588 name: "-webkit-border-before", |
3391 longhands: "-webkit-border-before-width;-webkit-border-before-style;-webki
t-border-before-color", | 3589 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... |
3719 { | 3917 { |
3720 name: "-webkit-transition-timing-function", | 3918 name: "-webkit-transition-timing-function", |
3721 alias_for: "transition-timing-function", | 3919 alias_for: "transition-timing-function", |
3722 }, | 3920 }, |
3723 { | 3921 { |
3724 name: "-webkit-user-select", | 3922 name: "-webkit-user-select", |
3725 alias_for: "user-select", | 3923 alias_for: "user-select", |
3726 }, | 3924 }, |
3727 ], | 3925 ], |
3728 } | 3926 } |
OLD | NEW |