From ccc4c690e0c8d9780c34b88f51ffceb87dba149c Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Wed, 16 Oct 2024 08:47:40 -0700 Subject: [PATCH 1/2] Adds overflow-anchor --- features/overflow-anchor.yml | 9 +++++++++ features/overflow-anchor.yml.dist | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 features/overflow-anchor.yml create mode 100644 features/overflow-anchor.yml.dist diff --git a/features/overflow-anchor.yml b/features/overflow-anchor.yml new file mode 100644 index 00000000000..6e384820716 --- /dev/null +++ b/features/overflow-anchor.yml @@ -0,0 +1,9 @@ +name: overflow-anchor +description: The `overflow-anchor` CSS property sets the eligibility of an element to be a scroll anchor, reducing unintended scrolling when document changes occur above the current scrollport. This is enabled by default where supported. +spec: https://drafts.csswg.org/css-scroll-anchoring-1/#exclusion-api +caniuse: css-overflow-anchor +group: scrolling +compat_features: + - css.properties.overflow-anchor + - css.properties.overflow-anchor.auto + - css.properties.overflow-anchor.none diff --git a/features/overflow-anchor.yml.dist b/features/overflow-anchor.yml.dist new file mode 100644 index 00000000000..1a3fa03b633 --- /dev/null +++ b/features/overflow-anchor.yml.dist @@ -0,0 +1,15 @@ +# Generated from: overflow-anchor.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "56" + chrome_android: "56" + edge: "79" + firefox: "66" + firefox_android: "66" +compat_features: + - css.properties.overflow-anchor + - css.properties.overflow-anchor.auto + - css.properties.overflow-anchor.none From 23e4d56a91eecd2b2662eb6bd95fcabed8c7abb3 Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Fri, 18 Oct 2024 09:48:46 -0700 Subject: [PATCH 2/2] Updates description --- features/overflow-anchor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/overflow-anchor.yml b/features/overflow-anchor.yml index 6e384820716..7888ff11f8a 100644 --- a/features/overflow-anchor.yml +++ b/features/overflow-anchor.yml @@ -1,5 +1,5 @@ name: overflow-anchor -description: The `overflow-anchor` CSS property sets the eligibility of an element to be a scroll anchor, reducing unintended scrolling when document changes occur above the current scrollport. This is enabled by default where supported. +description: The `overflow-anchor` CSS property sets an element as a possible scroll anchor, reducing unintended scrolling when document changes occur above the current scrollport. This is enabled by default where supported. spec: https://drafts.csswg.org/css-scroll-anchoring-1/#exclusion-api caniuse: css-overflow-anchor group: scrolling