Re: [whatwg/dom] Dispatching events section may not match browsers (#746)

@dtapuska is right that WebKit fires the event at the "bubbling phase" (Step 15 of https://dom.spec.whatwg.org/#dispatching-events), even though the event does not bubble. However, the only reason we do this is because we're at the target. We also set the event's phase to AT_TARGET before firing.

Note that if WebKit did not do this, then we'd get result=[1, 3] in the WPT test and we'd be even more different than Gecko and Blink.

I guess this shows that WebKit does not even fully match the spec and does something a little different, closer to Firefox and Gecko, with a different ordering though.

-- 
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/746#issuecomment-479067054

Received on Tuesday, 2 April 2019 16:00:11 UTC