[Webkit-unassigned] [Bug 15391] New: SVGRenderContainer forces too many kids to relayout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 6 00:21:33 PDT 2007


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

           Summary: SVGRenderContainer forces too many kids to relayout
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: hyatt at apple.com, zimmermann at kde.org


SVGRenderContainer forces too many kids to relayout

SVGRenderContainer currently forces all kids to relayout whenever it has
selfNeedsLayout() true.  This is set to true when the corresponding <g> element
had its transform change OR when the nearest viewport changed bounds or a
parent had a transform change.

SVGRenderContainer used to try and be smarter using
SVGStyledElement::hasRelativeValues(), but when it became clear that changing
the transform would also require forcing kids to relayout,  this "trick" no
longer worked (since we can't differentiate currently between a "transform"
inspired relayout or a "bounds" inspired relayout.

This bug is requesting that we make SVG renderers layout() methods smarter to
avoid these unnecessary layouts of non-relative value elements.


-- 
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