WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
54025
Adjusting relatedTarget can be much faster and more accurate
https://bugs.webkit.org/show_bug.cgi?id=54025
Summary
Adjusting relatedTarget can be much faster and more accurate
Dimitri Glazkov (Google)
Reported
2011-02-08 11:43:15 PST
Once we have O(1) access to shadowRoot, we can: 1) Easily determine whether we even need to walk anything. 2) Use scopes to check whether we need to adjust relatedTarget. See
http://dev.w3.org/2006/xbl2/#the-mouseover-and-mouseout-events
for more details. 3) Use scope chain to walk more quickly.
Attachments
Add attachment
proposed patch, testcase, etc.
Hayato Ito
Comment 1
2011-08-19 00:03:25 PDT
I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.
Dimitri Glazkov (Google)
Comment 2
2011-08-19 07:50:08 PDT
(In reply to
comment #1
)
> I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.
SVG is still blocking you :(.
Hayato Ito
Comment 3
2011-08-21 16:47:39 PDT
Thank you for the info. SVG still looks blocking as you said. :( (In reply to
comment #2
)
> (In reply to
comment #1
) > > I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code. > > SVG is still blocking you :(.
Eric Seidel (no email)
Comment 4
2012-01-12 14:38:11 PST
This isn't causing:
http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseleave.relatedTarget.html
and:
http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseenter.ctrlKey.html
is it?
Eric Seidel (no email)
Comment 5
2012-01-12 14:38:53 PST
Sorry,
http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseenter.relatedTarget.html
Eric Seidel (no email)
Comment 6
2012-01-12 14:42:27 PST
Nevermind. We don't support those two events.
https://bugs.webkit.org/show_bug.cgi?id=18930
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