-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
There was a problem hiding this 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.
This pull request has merge conflicts that must be resolved before it can be merged. |
Heh, fixed! |
There was a problem hiding this 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.
api/HTMLElement.json
Outdated
@@ -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." |
There was a problem hiding this comment.
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?)
There was a problem hiding this comment.
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.
api/HTMLElement.json
Outdated
@@ -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><details></code> elements that include the <code>popover</code> attribute." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 👍
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