[Webkit-unassigned] [Bug 12309] SVG hits an assertion when svg container has x/y offset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 18 16:52:41 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12309
------- Comment #1 from macdome at opendarwin.org 2007-01-18 16:52 PDT -------
Ok, we should just remove those asserts.
It turns out the when the root <svg> is translated in html (in a flow for
example), it will pass this translation along to it's kids through the tx, ty
calls, due to this implementation of RenderBox:
void RenderBox::paint(PaintInfo& paintInfo, int tx, int ty)
{
tx += m_x;
ty += m_y;
// default implementation. Just pass paint through to the children
PaintInfo childInfo(paintInfo);
childInfo.paintingRoot = paintingRootForChildren(paintInfo);
for (RenderObject* child = firstChild(); child; child =
child->nextSibling())
child->paint(childInfo, tx, ty);
}
We could also just use our own kid-painting code.
--
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