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

@domenic  Yup, let me investigate further. I'll answer it back when I get more insights.

What I know as of now:
- event.path and event.composedPath() are almost same in Blink. It is backed by the same helper function. So having event.path doesn't matter here.

- Blink has a kind of optimization for some events. See
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/dom/Document.h?q=Document.h&sq=package:chromium&dr=CSs&l=823

As far as I know, none of them are for O(1) dispatch. All of them are for skipping event dispatch entirely.

-- 
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-340709263

Received on Tuesday, 31 October 2017 09:39:38 UTC