Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jul 3, 2023

@ghost ghost added the topic: popover The popover attribute and friends label Jul 3, 2023
@ghost ghost requested a review from josepharhar July 3, 2023 11:53
@ghost
Copy link
Author

ghost commented Jul 3, 2023

Copy link
Contributor

@josepharhar josepharhar left a comment

Choose a reason for hiding this comment

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

This matches what I am implementing in chromium. Thanks for the PR!

@josepharhar
Copy link
Contributor

Corresponding change is being merged in chromium: https://chromium-review.googlesource.com/c/chromium/src/+/4657399

@ghost
Copy link
Author

ghost commented Jul 10, 2023

CC @nt1m @rwlbuis

@annevk
Copy link
Member

annevk commented Jul 10, 2023

This seems like a normative change which normally has a PR template. How can be sure implementations will align with this change? I guess there's already a test which contradicts the current specification?

@josepharhar
Copy link
Contributor

I guess there's already a test which contradicts the current specification?

Yes, the current assertion in the spec about the invoker not being set will be hit. Presumably implementations have not added that assertion yet, because if they did, they would be hitting it without this PR

@ghost
Copy link
Author

ghost commented Jul 11, 2023

This seems like a normative change which normally has a PR template. How can be sure implementations will align with this change? I guess there's already a test which contradicts the current specification?

@annevk: Yes, there's a test which currently violates an assertion, see #9383 (comment).

@annevk annevk merged commit bf60fc7 into whatwg:main Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: popover The popover attribute and friends

Development

Successfully merging this pull request may close these issues.

Should "show popover" assert the element's popover invoker is null?

2 participants