[Webkit-unassigned] [Bug 14003] WebKit invalidates *way* too much during JS based SVG animation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 5 14:53:13 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14003
------- Comment #1 from eric at webkit.org 2007-06-05 14:53 PDT -------
Ok, it turns out the problem is due to this line:
while (child) {
if (!child->isRenderPath() ||
static_cast<RenderPath*>(child)->hasRelativeValues())
child->setNeedsLayout(true);
We end up causing any container child to re-layout, even when not necessary.
Instead the RenderSVGContainer code needs to be smart enough to see if it's
width/height has changed, and then (and only then) bother to mark it's
relative-length path or container kids as needing layout.
--
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