diff --git a/features/scroll-into-view-container.yml b/features/scroll-into-view-container.yml new file mode 100644 index 00000000000..af3861ae349 --- /dev/null +++ b/features/scroll-into-view-container.yml @@ -0,0 +1,6 @@ +name: scrollIntoView() container +description: The `container` option of the `scrollIntoView()` method sets which ancestor scroll container to scroll. The `"nearest"` value scrolls only the nearest ancestor, instead of the default `"all"`. +spec: https://drafts.csswg.org/cssom-view-1/#dom-scrollintoviewoptions-container +group: scrolling +compat_features: + - api.Element.scrollIntoView.options_parameter.container_option diff --git a/features/scroll-into-view-container.yml.dist b/features/scroll-into-view-container.yml.dist new file mode 100644 index 00000000000..212d6b58810 --- /dev/null +++ b/features/scroll-into-view-container.yml.dist @@ -0,0 +1,11 @@ +# Generated from: scroll-into-view-container.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "140" + chrome_android: "140" + edge: "140" +compat_features: + - api.Element.scrollIntoView.options_parameter.container_option diff --git a/features/scroll-into-view.yml b/features/scroll-into-view.yml index 6ed49af05e1..035733cc898 100644 --- a/features/scroll-into-view.yml +++ b/features/scroll-into-view.yml @@ -13,6 +13,3 @@ compat_features: # added quite a bit later than scrollIntoView itself. - api.Element.scrollIntoView.options_parameter.block_option - api.Element.scrollIntoView.options_parameter.inline_option - # TODO: decide whether to move this option to a separate feature. It's only - # in Chromium 140+. - - api.Element.scrollIntoView.options_parameter.container_option diff --git a/features/scroll-into-view.yml.dist b/features/scroll-into-view.yml.dist index 359a2d957fd..ff7a1a826bf 100644 --- a/features/scroll-into-view.yml.dist +++ b/features/scroll-into-view.yml.dist @@ -54,10 +54,3 @@ compat_features: # safari_ios: "14" - api.Element.scrollIntoView.options_parameter.block_option - api.Element.scrollIntoView.options_parameter.inline_option - - # baseline: false - # support: - # chrome: "140" - # chrome_android: "140" - # edge: "140" - - api.Element.scrollIntoView.options_parameter.container_option