| 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 7e1621c92b7506c1678b5683ce07bdd2e8bb5819..16bd1ede96588ab3f8e12a3e2ad4a8ec7589926c 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSProperties.json5
|
| +++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
|
| @@ -1947,33 +1947,201 @@
|
| },
|
| {
|
| name: "scroll-snap-type",
|
| + api_class: true,
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertSnapType",
|
| + getter: "GetScrollSnapType",
|
| runtime_flag: "CSSScrollSnapPoints",
|
| - type_name: "ScrollSnapType",
|
| - field_template: "storage_only",
|
| - field_group: "rare-non-inherited",
|
| - field_size: 2,
|
| - default_value: "kScrollSnapTypeNone",
|
| },
|
| {
|
| - name: "scroll-snap-points-x",
|
| - converter: "ConvertSnapPoints",
|
| + name: "scroll-snap-align",
|
| + api_class: true,
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertSnapAlign",
|
| + getter: "GetScrollSnapAlign",
|
| runtime_flag: "CSSScrollSnapPoints",
|
| },
|
| {
|
| - name: "scroll-snap-points-y",
|
| - converter: "ConvertSnapPoints",
|
| + name: "scroll-snap-stop",
|
| + default_value: "normal",
|
| + field_template: "keyword",
|
| + keywords: ["normal", "always"],
|
| runtime_flag: "CSSScrollSnapPoints",
|
| },
|
| {
|
| - name: "scroll-snap-destination",
|
| - converter: "ConvertPosition",
|
| + name: "scroll-padding-top",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| runtime_flag: "CSSScrollSnapPoints",
|
| },
|
| {
|
| - name: "scroll-snap-coordinate",
|
| - api_class: true,
|
| + name: "scroll-padding-bottom",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-left",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-right",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-block-start",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + direction_aware: true,
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-block-end",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + direction_aware: true,
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-inline-start",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + direction_aware: true,
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-inline-end",
|
| + api_class: "CSSPropertyAPIScrollPadding",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollPadding",
|
| + include_paths: ["platform/Length.h"],
|
| + typedom_types: ["Length", "Percent"],
|
| + type_name: "Length",
|
| + direction_aware: true,
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-top",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-bottom",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-left",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-right",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| api_methods: ["parseSingleValue"],
|
| - converter: "ConvertSnapCoordinates",
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-block-start",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + direction_aware: true,
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-block-end",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + direction_aware: true,
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-inline-start",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + direction_aware: true,
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-inline-end",
|
| + api_class: "CSSPropertyAPIScrollSnapMargin",
|
| + api_methods: ["parseSingleValue"],
|
| + converter: "ConvertLength",
|
| + initial: "InitialScrollSnapMargin",
|
| + direction_aware: true,
|
| + include_paths: ["platform/Length.h"],
|
| + type_name: "Length",
|
| runtime_flag: "CSSScrollSnapPoints",
|
| },
|
| {
|
| @@ -3378,6 +3546,36 @@
|
| name: "page-break-inside",
|
| longhands: "break-inside",
|
| },
|
| + {
|
| + name: "scroll-padding",
|
| + longhands: "scroll-padding-top;scroll-padding-right;scroll-padding-bottom;scroll-padding-left",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-block",
|
| + longhands: "scroll-padding-block-start;scroll-padding-block-end",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-padding-inline",
|
| + longhands: "scroll-padding-inline-start;scroll-padding-inline-end",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin",
|
| + longhands: "scroll-snap-margin-top;scroll-snap-margin-right;scroll-snap-margin-bottom;scroll-snap-margin-left",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-block",
|
| + longhands: "scroll-snap-margin-block-start;scroll-snap-margin-block-end",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| + {
|
| + name: "scroll-snap-margin-inline",
|
| + longhands: "scroll-snap-margin-inline-start;scroll-snap-margin-inline-end",
|
| + runtime_flag: "CSSScrollSnapPoints",
|
| + },
|
| {
|
| name: "transition",
|
| longhands: "transition-property;transition-duration;transition-timing-function;transition-delay",
|
|
|