[Webkit-unassigned] [Bug 15280] New: SVG Subresources will not be saved when creating WebArchives

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 25 12:32:24 PDT 2007


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

           Summary: SVG Subresources will not be saved when creating
                    WebArchives
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


SVG Subresources will not be saved when creating WebArchives

SVG elements (actually the Obj-C DOM wrappers for the elements) do not
implement the _subresources, internal method to expose the urls of their
subresources.  I had to implement this for SVGImageElement, but I have not done
so for any of the other SVG Elements.  Mostly because the first two other
elements I looked at (foreignObject and script) did not expose their xlink:href
attribute via a binding method in their idls.  So there is some piping which
would need to be put in place in order to get the actual href values from each
of these SVG Elements and made available to the _subresources call.

See:
http://trac.webkit.org/projects/webkit/browser/trunk/WebKit/DOM/WebDOMOperations.mm

for examples of the _subresources code necessary.

see:
http://www.w3.org/TR/SVG/attindex.html
for a list of elements which use the xlink:href property (as well as any other
property which might make reference to an external file).


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