Bug 54025 - Adjusting relatedTarget can be much faster and more accurate
: Adjusting relatedTarget can be much faster and more accurate
Status: NEW
Product: WebKit
Classification: Unclassified
Component: HTML DOM
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To: Dimitri Glazkov (Google)
:
Depends on: 52065 52963
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-08 11:43 PST by Dimitri Glazkov (Google)
Modified: 2012-01-12 14:42 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri Glazkov (Google) 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.
Comment 1 Hayato Ito 2011-08-19 00:03:25 PDT
I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.
Comment 2 Dimitri Glazkov (Google) 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 :(.
Comment 3 Hayato Ito 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 :(.
Comment 6 Eric Seidel 2012-01-12 14:42:27 PST
Nevermind.  We don't support those two events.  https://bugs.webkit.org/show_bug.cgi?id=18930