Bug 54025
Summary: | Adjusting relatedTarget can be much faster and more accurate | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dimitri Glazkov (Google) <dglazkov> |
Component: | DOM | Assignee: | Dimitri Glazkov (Google) <dglazkov> |
Status: | NEW | ||
Severity: | Normal | CC: | dglazkov, eric, hayato, rolandsteiner, tonikitoo |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
Bug Depends on: | 52065, 52963 | ||
Bug Blocks: |
Dimitri Glazkov (Google)
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
I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.
Dimitri Glazkov (Google)
(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
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)
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)
Sorry, http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseenter.relatedTarget.html
Eric Seidel (no email)
Nevermind. We don't support those two events. https://bugs.webkit.org/show_bug.cgi?id=18930