Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update promises tests and Scroll Manager Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2090 name: "scroll-behavior", 2090 name: "scroll-behavior",
2091 runtime_flag: "CSSOMSmoothScroll", 2091 runtime_flag: "CSSOMSmoothScroll",
2092 type_name: "ScrollBehavior", 2092 type_name: "ScrollBehavior",
2093 field_template: "storage_only", 2093 field_template: "storage_only",
2094 field_group: "rare-non-inherited", 2094 field_group: "rare-non-inherited",
2095 field_size: 2, // FIXME: Convert this to a keyword field 2095 field_size: 2, // FIXME: Convert this to a keyword field
2096 default_value: "kScrollBehaviorAuto", 2096 default_value: "kScrollBehaviorAuto",
2097 default_generated_functions: ["getter", "setter"], 2097 default_generated_functions: ["getter", "setter"],
2098 }, 2098 },
2099 { 2099 {
2100 name: "scroll-boundary-behavior-x",
2101 default_value: "auto",
2102 field_template: "keyword",
2103 keywords: ["auto", "contain", "none"],
2104 type_name: "EScrollBoundaryBehavior",
2105 runtime_flag: "CSSScrollBoundaryBehavior",
2106 },
2107 {
2108 name: "scroll-boundary-behavior-y",
2109 default_value: "auto",
2110 field_template: "keyword",
2111 keywords: ["auto", "contain", "none"],
2112 type_name: "EScrollBoundaryBehavior",
2113 runtime_flag: "CSSScrollBoundaryBehavior",
2114 },
2115 {
2100 name: "scroll-snap-type", 2116 name: "scroll-snap-type",
2101 api_class: true, 2117 api_class: true,
2102 api_methods: ["parseSingleValue"], 2118 api_methods: ["parseSingleValue"],
2103 converter: "ConvertSnapType", 2119 converter: "ConvertSnapType",
2104 getter: "GetScrollSnapType", 2120 getter: "GetScrollSnapType",
2105 runtime_flag: "CSSScrollSnapPoints", 2121 runtime_flag: "CSSScrollSnapPoints",
2106 field_template: "external", 2122 field_template: "external",
2107 type_name: "ScrollSnapType", 2123 type_name: "ScrollSnapType",
2108 field_group: "rare-non-inherited->scroll-snap", 2124 field_group: "rare-non-inherited->scroll-snap",
2109 include_paths: ["core/style/ScrollSnap.h"], 2125 include_paths: ["core/style/ScrollSnap.h"],
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after
3810 api_class: true, 3826 api_class: true,
3811 api_methods: ["parseShorthand"], 3827 api_methods: ["parseShorthand"],
3812 }, 3828 },
3813 { 3829 {
3814 name: "overflow", 3830 name: "overflow",
3815 longhands: ["overflow-x", "overflow-y"], 3831 longhands: ["overflow-x", "overflow-y"],
3816 api_class: true, 3832 api_class: true,
3817 api_methods: ["parseShorthand"], 3833 api_methods: ["parseShorthand"],
3818 }, 3834 },
3819 { 3835 {
3836 name: "scroll-boundary-behavior",
3837 longhands: ["scroll-boundary-behavior-x", "scroll-boundary-behavior-y"],
3838 runtime_flag: "CSSScrollBoundaryBehavior",
3839 },
3840 {
3820 name: "padding", 3841 name: "padding",
3821 longhands: ["padding-top", "padding-right", "padding-bottom", "padding-lef t"], 3842 longhands: ["padding-top", "padding-right", "padding-bottom", "padding-lef t"],
3822 }, 3843 },
3823 { 3844 {
3824 name: "page-break-after", 3845 name: "page-break-after",
3825 longhands: ["break-after"], 3846 longhands: ["break-after"],
3826 }, 3847 },
3827 { 3848 {
3828 name: "page-break-before", 3849 name: "page-break-before",
3829 longhands: ["break-before"], 3850 longhands: ["break-before"],
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
4218 { 4239 {
4219 name: "-webkit-transition-timing-function", 4240 name: "-webkit-transition-timing-function",
4220 alias_for: "transition-timing-function", 4241 alias_for: "transition-timing-function",
4221 }, 4242 },
4222 { 4243 {
4223 name: "-webkit-user-select", 4244 name: "-webkit-user-select",
4224 alias_for: "user-select", 4245 alias_for: "user-select",
4225 }, 4246 },
4226 ], 4247 ],
4227 } 4248 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698