Re: [whatwg/dom] Add before removing steps (PR #1185)

> Yes, implementations run steps after as well.
> Things chromium does before removal:
> 
>     Hides popovers
>     Fires sync mutation events
>     Cleans up Range instances
> 
> Things chromium does after removal:
> 
>     Clears some style invalidation bits
>     Removes the associated computed style
>     Removes references to the element's id and name attributes from the document
>     Removes the element from the document's top layer

That implies, the "hide a popover" algorithm (https://html.spec.whatwg.org/multipage/popover.html#hide-popover-algorithm) needs to be adapted too, since the element is removed from the document's top layer in that algorithm.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1185#issuecomment-1568202363
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1185/c1568202363@github.com>

Received on Tuesday, 30 May 2023 10:39:18 UTC