[Webkit-unassigned] [Bug 81515] New: SVG Resources layout needs refactoring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 09:02:54 PDT 2012


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

           Summary: SVG Resources layout needs refactoring
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: schenney at chromium.org
                CC: zimmermann at kde.org, schenney at chromium.org


SVG Resources are currently found in the same render tree as geometry elements, and use all the same layout infrastructure and are laid out in whatever order they happen to appear. This has been the source of at least one security problem (bug 81006) and possibly more. It may also lead to poor results, as things that depend on the resources may not have layout done when the resource changes.

Resources should be laid out before any geometry that uses them, and in a dependency ordering that lays out resources needed by other resources before their users. This will also aid in catching circular references in resources and other resource problems.

If it turns out that the resources and the geometry that uses them cannot be separated, then the entire SVG render tree should have layout done in dependency order. That is, rendered geometry that is also a resource must be part of the dependency ordering.

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