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

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

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Add documentation 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 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2102 name: "scroll-behavior", 2102 name: "scroll-behavior",
2103 runtime_flag: "CSSOMSmoothScroll", 2103 runtime_flag: "CSSOMSmoothScroll",
2104 type_name: "ScrollBehavior", 2104 type_name: "ScrollBehavior",
2105 field_template: "storage_only", 2105 field_template: "storage_only",
2106 field_group: "rare-non-inherited", 2106 field_group: "rare-non-inherited",
2107 field_size: 2, // FIXME: Convert this to a keyword field 2107 field_size: 2, // FIXME: Convert this to a keyword field
2108 default_value: "kScrollBehaviorAuto", 2108 default_value: "kScrollBehaviorAuto",
2109 default_generated_functions: ["getter", "setter"], 2109 default_generated_functions: ["getter", "setter"],
2110 }, 2110 },
2111 { 2111 {
2112 name: "scroll-boundary-behavior-x",
2113 default_value: "auto",
2114 field_template: "keyword",
2115 keywords: ["auto", "contain", "none"],
2116 type_name: "EScrollBoundaryBehavior",
2117 runtime_flag: "CSSScrollBoundaryBehavior",
2118 },
2119 {
2120 name: "scroll-boundary-behavior-y",
2121 default_value: "auto",
2122 field_template: "keyword",
2123 keywords: ["auto", "contain", "none"],
2124 type_name: "EScrollBoundaryBehavior",
2125 runtime_flag: "CSSScrollBoundaryBehavior",
2126 },
2127 {
2112 name: "scroll-snap-type", 2128 name: "scroll-snap-type",
2113 api_class: true, 2129 api_class: true,
2114 api_methods: ["parseSingleValue"], 2130 api_methods: ["parseSingleValue"],
2115 converter: "ConvertSnapType", 2131 converter: "ConvertSnapType",
2116 getter: "GetScrollSnapType", 2132 getter: "GetScrollSnapType",
2117 runtime_flag: "CSSScrollSnapPoints", 2133 runtime_flag: "CSSScrollSnapPoints",
2118 field_template: "external", 2134 field_template: "external",
2119 type_name: "ScrollSnapType", 2135 type_name: "ScrollSnapType",
2120 field_group: "rare-non-inherited->scroll-snap", 2136 field_group: "rare-non-inherited->scroll-snap",
2121 include_paths: ["core/style/ScrollSnap.h"], 2137 include_paths: ["core/style/ScrollSnap.h"],
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after
3822 api_class: true, 3838 api_class: true,
3823 api_methods: ["parseShorthand"], 3839 api_methods: ["parseShorthand"],
3824 }, 3840 },
3825 { 3841 {
3826 name: "overflow", 3842 name: "overflow",
3827 longhands: ["overflow-x", "overflow-y"], 3843 longhands: ["overflow-x", "overflow-y"],
3828 api_class: true, 3844 api_class: true,
3829 api_methods: ["parseShorthand"], 3845 api_methods: ["parseShorthand"],
3830 }, 3846 },
3831 { 3847 {
3848 name: "scroll-boundary-behavior",
3849 longhands: ["scroll-boundary-behavior-x", "scroll-boundary-behavior-y"],
3850 runtime_flag: "CSSScrollBoundaryBehavior",
3851 },
3852 {
3832 name: "padding", 3853 name: "padding",
3833 longhands: ["padding-top", "padding-right", "padding-bottom", "padding-lef t"], 3854 longhands: ["padding-top", "padding-right", "padding-bottom", "padding-lef t"],
3834 }, 3855 },
3835 { 3856 {
3836 name: "page-break-after", 3857 name: "page-break-after",
3837 longhands: ["break-after"], 3858 longhands: ["break-after"],
3838 }, 3859 },
3839 { 3860 {
3840 name: "page-break-before", 3861 name: "page-break-before",
3841 longhands: ["break-before"], 3862 longhands: ["break-before"],
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
4236 { 4257 {
4237 name: "-webkit-transition-timing-function", 4258 name: "-webkit-transition-timing-function",
4238 alias_for: "transition-timing-function", 4259 alias_for: "transition-timing-function",
4239 }, 4260 },
4240 { 4261 {
4241 name: "-webkit-user-select", 4262 name: "-webkit-user-select",
4242 alias_for: "user-select", 4263 alias_for: "user-select",
4243 }, 4264 },
4244 ], 4265 ],
4245 } 4266 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698