...and some algorithms in DOM spec don't like that, or at least might behave a bit unexpectedly.
(Sure, CEReactions might also lead to somewhat unexpected behavior in some cases, if custom elements happen to tweak values in DOM)
Removing popover attribute calls "hide popover algorithm given element, true, true, and false", where the second true is for fireEvents, which will trigger beforetoggle event synchronously.
...and some algorithms in DOM spec don't like that, or at least might behave a bit unexpectedly.
(Sure, CEReactions might also lead to somewhat unexpected behavior in some cases, if custom elements happen to tweak values in DOM)
Removing popover attribute calls "hide popover algorithm given element, true, true, and false", where the second true is for fireEvents, which will trigger beforetoggle event synchronously.