WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
108047
[Shadow] mouseIsReleasedOnPressedElement in EventHandler should not check ShadowRoot type
https://bugs.webkit.org/show_bug.cgi?id=108047
Summary
[Shadow] mouseIsReleasedOnPressedElement in EventHandler should not check Sha...
Shinya Kawanaka
Reported
2013-01-27 20:43:49 PST
Basically we should not check ShadowRoot type. However, otherwise it will break <input type="range"> Maybe we have to consider what the real solution for this issue.
Attachments
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2015-06-08 17:40:27 PDT
mouseIsReleasedOnPressedElement() was removed in the patch for
bug #145774
. I do not understand the need to special case the logic for dispatching a DOM click event to a user-agent shadow DOM. It seems sufficient to use the same logic for deciding when to dispatch a DOM click event for both kinds of shadow DOM tree so long as we take care to dispatch the DOM click event to the appropriate node. Specifically, we should use the same criterion for determining whether to dispatch a DOM click event for non-shadow tree nodes as we do we shadow tree nodes(*) with the only exception that we explicitly dispatch the click event at the shadow host element if the mouse press and mouse release occur within the same shadow tree and not on the same shadow tree element (which would have been handled by (*)).
Lucas Forschler
Comment 2
2019-02-06 09:18:55 PST
Mass move bugs into the DOM component.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug