[Webkit-unassigned] [Bug 12609] Any SVG element will create renderers even when children of HTML elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 6 05:49:01 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12609





------- Comment #3 from macdome at opendarwin.org  2007-02-06 05:49 PDT -------
I'd like to fix this by adding a

bool HTMLElement::childShouldCreateRenderer(Node* child)
{
    if (!child->isSVGElement() || child->hasTagName(SVGNames::svgTag))
        return true;
}

The problem with checking in createRenderer() is that then *every* SVG
createRenderer would need to check, since each of them is unique.


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



More information about the webkit-unassigned mailing list