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

Update data for the Popover API #19428

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

chrisdavidmills
Copy link
Contributor

Summary

The Popover API is going to be available in Chrome 114. I've had this confirmed by the relevant engineers, and it is also reflected by the platform status entry: https://chromestatus.com/feature/5463833265045504.

Some of the compat data for this API was already added, but this PR completes it.

See my research document for further details of what has been added in this PR.

cc @keithamus

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML labels Apr 19, 2023
Copy link
Contributor

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

LGTM. This might hit merge errors if #19358 is merged first.

@github-actions github-actions bot added the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Apr 20, 2023
@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Apr 25, 2023
@chrisdavidmills
Copy link
Contributor Author

LGTM. This might hit merge errors if #19358 is merged first.

Heh, fixed!

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Looks good to me but I have a question.

@@ -388,7 +388,8 @@
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-beforetoggle",
"support": {
"chrome": {
"version_added": "114"
"version_added": "114",
"notes": "Only available on elements that include the <code>popover</code> attribute."
Copy link
Member

Choose a reason for hiding this comment

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

Is this behavior per spec (then why do we have this note?) or is it a bug in Chrome? (should we add partial_implementation then?)

Copy link
Contributor Author

@chrisdavidmills chrisdavidmills Apr 26, 2023

Choose a reason for hiding this comment

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

Doh, good point. Yes, these are per spec, and not particular to Chrome. And the pages explain them. Removed.

@@ -2092,7 +2093,8 @@
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-toggle",
"support": {
"chrome": {
"version_added": "114"
"version_added": "114",
"notes": "Only available on non-<code>&lt;details&gt;</code> elements that include the <code>popover</code> attribute."
Copy link
Member

Choose a reason for hiding this comment

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

Same question

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Great! 👍

@Elchi3 Elchi3 merged commit 1baf0e0 into mdn:main Apr 26, 2023
@chrisdavidmills chrisdavidmills deleted the update-popover-api-data branch April 27, 2023 06:23
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:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants