-
Notifications
You must be signed in to change notification settings - Fork 22.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anchor attribute is at risk, should it be prominently documented? #38233
Comments
By "as widely as it is" what are you referring to? I think a single page is about the right amount of attention that each feature deserves, but if it has its own mention in a guide page, we are happy to point to alternatives instead. Our policy is anything that's available in browsers should be documented, so even if Chrome unships it, we need to wait two years to remove its documentation. |
Chrome never did ship it fwiw. It's in Chrome behind a flag which I don't believe has the same requirements but could be wrong. It's also mentioned on the main Using CSS Anchor Positioning page https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_anchor_positioning/Using#html_method possiblye elsewhere too. |
This issue comes from #37990 (comment) |
I think we should remove its mention in the guide, but keep its reference, unless Chrome actually unships it, in which case it may be not subject to the 2-year rule if we think Canary means unstable anyway. |
I agree 100 % with Josh. FYI @chrisdavidmills - this is tangentially related to the popover stuff. Is it something you could clean? |
Done in b9c9e03 |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/anchor
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
The feature this page (and other pages) refers to is only implemented behind a flag in one browser and is at risk from a standardisation point of view. The spec PR can be found here: whatwg/html#9144 overall the sentiment seems mixed. This lead to the recent implicit anchoring feature of showPopover({source}) and popovertarget.
What did you expect to see?
This is to discuss whether this feature should be documented at all, or at least as widely as it is?
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: