[Webkit-unassigned] [Bug 52788] Any class other than Element should not use setShadowHost()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 18:45:45 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=52788





--- Comment #9 from Dominic Cooney <dominicc at chromium.org>  2011-04-18 18:45:44 PST ---
(From update of attachment 90125)
View in context: https://bugs.webkit.org/attachment.cgi?id=90125&action=review

> Source/WebCore/dom/EventDispatcher.cpp:248
> +        bool isSVGShadowRoot = ancestor->isSVGShadowRoot();

This avoids doing the test twice. I tried something more adventurous splitting this into three branches for shadows, SVG shadows and ordinary nodes, but I couldn’t find a clean way to make it work without some (excessive?) duplication. But I could try with fresh eyes tomorrow.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list