togglePopover should return a boolean
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: jarhar, Unassigned)
Details
(Keywords: dev-doc-needed)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Steps to reproduce:
Called HTMLElement.togglePopover() from script.
Actual results:
There was no return value.
Expected results:
togglePopover should return true if the popover is open after the call, otherwise false. We are changing this in the HTML spec here: https://github.com/whatwg/html/pull/9393
Comment 1•2 years ago
|
||
FYI, there is an MDN issue for this here: https://github.com/mdn/content/issues/27417. I've added dev-doc-needed to trigger docs work when this is done.
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•