Skip to content

Popover light dismiss algorithm doesn't account for commandfor #11607

@lukewarlow

Description

@lukewarlow

What is the issue with the HTML Standard?

In https://html.spec.whatwg.org/multipage/popover.html#nearest-inclusive-target-popover we get the popover target element for a node but that only checks popovertarget, we should also check commandfor.

The spec currently doesn't match how the browsers behave in this regard. Tests can be found at https://wpt.fyi/results/html/semantics/popovers/popover-light-dismiss-command.html

Metadata

Metadata

Labels

topic: popoverThe popover attribute and friends

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions