RESOLVED INVALID 59826
Change EventContext logic to use treeScopes
https://bugs.webkit.org/show_bug.cgi?id=59826
Summary Change EventContext logic to use treeScopes
Dimitri Glazkov (Google)
Reported 2011-04-29 13:53:15 PDT
Once treeScopes are used in all SVG instances, we no longer need to build a full vector of EventContexts (http://codesearch.google.com/codesearch/p#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/dom/EventDispatcher.cpp&l=237&exact_package=chromium). Instead, we could rely on tree scopes at the time of dispatch to determine whether to retarget.
Attachments
Dimitri Glazkov (Google)
Comment 1 2011-06-08 15:09:53 PDT
This is wrong. Since we need to know the _previous_ treeScope, we are still stuck with walking up the tree. Perhaps the data structure could be optimized for non-shadow DOM cases, but this is no critical at all.
Note You need to log in before you can comment on or make changes to this bug.