| 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 2087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2098 { | 2098 { |
| 2099 name: "scroll-behavior", | 2099 name: "scroll-behavior", |
| 2100 runtime_flag: "CSSOMSmoothScroll", | 2100 runtime_flag: "CSSOMSmoothScroll", |
| 2101 type_name: "ScrollBehavior", | 2101 type_name: "ScrollBehavior", |
| 2102 field_template: "storage_only", | 2102 field_template: "storage_only", |
| 2103 field_group: "rare-non-inherited", | 2103 field_group: "rare-non-inherited", |
| 2104 field_size: 2, | 2104 field_size: 2, |
| 2105 default_value: "kScrollBehaviorAuto", | 2105 default_value: "kScrollBehaviorAuto", |
| 2106 }, | 2106 }, |
| 2107 { | 2107 { |
| 2108 name: "scroll-boundary-behavior-x", |
| 2109 default_value: "auto", |
| 2110 field_template: "keyword", |
| 2111 keywords: ["auto", "contain", "none"], |
| 2112 type_name: "EScrollBoundaryBehavior", |
| 2113 runtime_flag: "CSSScrollBoundaryBehavior", |
| 2114 }, |
| 2115 { |
| 2116 name: "scroll-boundary-behavior-y", |
| 2117 default_value: "auto", |
| 2118 field_template: "keyword", |
| 2119 keywords: ["auto", "contain", "none"], |
| 2120 type_name: "EScrollBoundaryBehavior", |
| 2121 runtime_flag: "CSSScrollBoundaryBehavior", |
| 2122 }, |
| 2123 { |
| 2108 name: "scroll-snap-type", | 2124 name: "scroll-snap-type", |
| 2109 api_class: true, | 2125 api_class: true, |
| 2110 api_methods: ["parseSingleValue"], | 2126 api_methods: ["parseSingleValue"], |
| 2111 converter: "ConvertSnapType", | 2127 converter: "ConvertSnapType", |
| 2112 getter: "GetScrollSnapType", | 2128 getter: "GetScrollSnapType", |
| 2113 runtime_flag: "CSSScrollSnapPoints", | 2129 runtime_flag: "CSSScrollSnapPoints", |
| 2114 field_template: "external", | 2130 field_template: "external", |
| 2115 type_name: "ScrollSnapType", | 2131 type_name: "ScrollSnapType", |
| 2116 field_group: "rare-non-inherited->scroll-snap", | 2132 field_group: "rare-non-inherited->scroll-snap", |
| 2117 include_paths: ["core/style/ScrollSnap.h"], | 2133 include_paths: ["core/style/ScrollSnap.h"], |
| (...skipping 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3816 name: "outline", | 3832 name: "outline", |
| 3817 longhands: "outline-color;outline-style;outline-width", | 3833 longhands: "outline-color;outline-style;outline-width", |
| 3818 }, | 3834 }, |
| 3819 { | 3835 { |
| 3820 name: "overflow", | 3836 name: "overflow", |
| 3821 longhands: "overflow-x;overflow-y", | 3837 longhands: "overflow-x;overflow-y", |
| 3822 api_class: true, | 3838 api_class: true, |
| 3823 api_methods: ["parseShorthand"], | 3839 api_methods: ["parseShorthand"], |
| 3824 }, | 3840 }, |
| 3825 { | 3841 { |
| 3842 name: "scroll-boundary-behavior", |
| 3843 longhands: "scroll-boundary-behavior-x;scroll-boundary-behavior-y", |
| 3844 runtime_flag: "CSSScrollBoundaryBehavior", |
| 3845 }, |
| 3846 { |
| 3826 name: "padding", | 3847 name: "padding", |
| 3827 longhands: "padding-top;padding-right;padding-bottom;padding-left", | 3848 longhands: "padding-top;padding-right;padding-bottom;padding-left", |
| 3828 }, | 3849 }, |
| 3829 { | 3850 { |
| 3830 name: "page-break-after", | 3851 name: "page-break-after", |
| 3831 longhands: "break-after", | 3852 longhands: "break-after", |
| 3832 }, | 3853 }, |
| 3833 { | 3854 { |
| 3834 name: "page-break-before", | 3855 name: "page-break-before", |
| 3835 longhands: "break-before", | 3856 longhands: "break-before", |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4212 { | 4233 { |
| 4213 name: "-webkit-transition-timing-function", | 4234 name: "-webkit-transition-timing-function", |
| 4214 alias_for: "transition-timing-function", | 4235 alias_for: "transition-timing-function", |
| 4215 }, | 4236 }, |
| 4216 { | 4237 { |
| 4217 name: "-webkit-user-select", | 4238 name: "-webkit-user-select", |
| 4218 alias_for: "user-select", | 4239 alias_for: "user-select", |
| 4219 }, | 4240 }, |
| 4220 ], | 4241 ], |
| 4221 } | 4242 } |
| OLD | NEW |