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
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 checkcommandfor.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