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

Unified Diff: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Disable touch on mac Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/CSSProperties.json5
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.json5 b/third_party/WebKit/Source/core/css/CSSProperties.json5
index a286a048d5f032dfb73902e1d1133dc3fc605285..14ddbccf860f8c4bd36d9ae38a6828bd3a8d92f6 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -2104,6 +2104,22 @@
field_size: 2,
default_value: "kScrollBehaviorAuto",
},
+ {
+ name: "scroll-boundary-behavior-x",
+ default_value: "auto",
+ field_template: "keyword",
+ keywords: ["auto", "contain", "none"],
+ type_name: "EScrollBoundaryBehavior",
+ runtime_flag: "CSSScrollBoundaryBehavior",
+ },
+ {
+ name: "scroll-boundary-behavior-y",
+ default_value: "auto",
+ field_template: "keyword",
+ keywords: ["auto", "contain", "none"],
+ type_name: "EScrollBoundaryBehavior",
+ runtime_flag: "CSSScrollBoundaryBehavior",
+ },
{
name: "scroll-snap-type",
api_class: true,
@@ -3822,6 +3838,11 @@
api_class: true,
api_methods: ["parseShorthand"],
},
+ {
+ name: "scroll-boundary-behavior",
+ longhands: "scroll-boundary-behavior-x;scroll-boundary-behavior-y",
+ runtime_flag: "CSSScrollBoundaryBehavior",
+ },
{
name: "padding",
longhands: "padding-top;padding-right;padding-bottom;padding-left",

Powered by Google App Engine
This is Rietveld 408576698