css.properties.overflow-anchor - Is this a good proxy for the Scroll Anchoring feature?
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
This is more of a question than an issue.
Currently, the page about CSS Scroll Anchoring: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scroll_anchoring/Scroll_anchoring lists the following BCD keys in the browser compat section:
- css.properties.overflow-anchor
- css.properties.overflow-anchor.auto
- css.properties.overflow-anchor.none
These keys are for the overflow-anchor property.
The CSS scroll anchoring, and the overflow-anchor CSS property are related but different:
- The former is a browser feature that prevents sudden jumps when content above the viewport changes.
- The latter is a mechanism which allows developers to opt-out of scroll anchoring for certain elements.
My question is: is it correct to use the support information for overflow-anchor to represent the support for the broader scroll anchoring feature?
I suspect that browsers could decide to implement the scroll anchoring feature without necessarily also implementing the opt-out mechanism. If that were to happen, then the compat data at the bottom of https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scroll_anchoring/Scroll_anchoring would be incorrect.
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
Depending on the answer to my question above, I would expect to see a new BCD key just for the scroll anchoring feature, sepaerate from the overflow-anchor BCD keys.
Did you test this? If so, how?
N/A
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scroll_anchoring/Scroll_anchoring
MDN metadata
MDN page report details
- Query:
css.properties.overflow-anchor - Report started: 2025-05-27T13:21:32.921Z
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MDN Scroll Anchoring page and the existing css.properties.overflow-anchor compatibility entries, then compare the feature and property definitions with browser support information, especially for Safari. Done means determining whether the existing keys accurately represent the feature and documenting the agreed BCD data change, if one is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100