Skip to content
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

Chrome 133 supports HTML popover="hint" attribute value #25864

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

chrisdavidmills
Copy link
Contributor

Summary

Chrome 133 supports the popover attribute hint value, which creates popovers that do not light-dismiss auto popovers when shown. This is useful for situations where, for example, you have toolbar buttons that can be pressed to show UI popovers, but you also want to reveal tooltips when the buttons are hovered, without dismissing the UI popovers.

This PR adds data points for the HTML popover attribute hint value and the hint value of the HTMLElement.popover DOM API equivalent.

See https://chromestatus.com/feature/5073251081912320 for the data source.

Test results and supporting details

Related issues

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:m [PR only] 25-100 LoC changed labels Feb 6, 2025
@@ -2326,6 +2326,44 @@
"standard_track": true,
"deprecated": false
}
},
"popover_hint": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just hint, given that the parent feature is popover?

Suggested change
"popover_hint": {
"hint": {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason. I've updated both instances to match your suggestion.

@caugner caugner changed the title Chrome 133 supports popover=hint attribute value Chrome 133 supports HTML popover="hint" attribute value Feb 6, 2025
@caugner caugner merged commit 722f44c into mdn:main Feb 6, 2025
7 checks passed
@mdn-bot mdn-bot mentioned this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:m [PR only] 25-100 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants