[Webkit-unassigned] [Bug 184250] Unable to call event.preventDefault in dynamically added event listener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 20:58:22 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184250

--- Comment #5 from Dean Jackson <dino at apple.com> ---
In the linked examples, I see the main problem being that we explicitly mark mousemove events as being not cancelable:

MouseEvent::create

bool isCancelable = eventType != eventNames().mousemoveEvent && !isMouseEnterOrLeave;

Whereas the spec says it should be:

https://www.w3.org/TR/uievents/#event-type-mousemove

However, it looks like we've implemented it that way since 2013, so this wouldn't be a recent regression.

For touch events, it's been similarly unchanged since 2014.

I think I'll have to make a different test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180411/1ed7531a/attachment-0002.html>


More information about the webkit-unassigned mailing list