You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the new approach for popup, and the associated resolution not to have a "live" open content attribute, there needs to be a way to open/reopen the popup via Javascript. The most straightforward would seem to be something like:
That would require adding a show() or showPopup() IDL method to HTMLElement. And then the question becomes: what happens if this is called on an element that lacks the popup attribute? Or for which the value of the popup attribute is invalid? I think it likely should do nothing, but it could also throw, and it could also add a valid popup attribute to the element. The last one feels odd, but I suppose it's an option.
The text was updated successfully, but these errors were encountered:
Given the new approach for popup, and the associated resolution not to have a "live"
open
content attribute, there needs to be a way to open/reopen the popup via Javascript. The most straightforward would seem to be something like:That would require adding a
show()
orshowPopup()
IDL method toHTMLElement
. And then the question becomes: what happens if this is called on an element that lacks thepopup
attribute? Or for which the value of thepopup
attribute is invalid? I think it likely should do nothing, but it could also throw, and it could also add a validpopup
attribute to the element. The last one feels odd, but I suppose it's an option.The text was updated successfully, but these errors were encountered: