Re: [whatwg/dom] event.composedPath() may return different results if DOM is modified between two calls (#525)

Oh, -1 shouldn't happen if slot's closed root is already in the composed path.
How to express that...
While creating the composed path, add a flag to the closed root whether it is hidden or not and then when dealing with slot, do -1 only if its root is hidden

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

Received on Thursday, 9 November 2017 14:56:53 UTC