[Webkit-unassigned] [Bug 12499] External <use> xlink:href references do not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 11:12:42 PDT 2011


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





--- Comment #53 from Nate Chapin <japhet at chromium.org>  2011-03-24 11:12:40 PST ---
(In reply to comment #48)
> (In reply to comment #33) 
> > This is an incomplete patch. I'm asking for a preliminary review only.
> > 
> > I split HTMLFrameOwnerElement in three, with the parent Owner, and the children HTMLFrameOwnerElement (same name and behavior as the old one) and SVGResourceOwnerElement.
> I fail to see the need to reuse anything of the frame logic. It boils down to the question how loading is now handled? My first attempt would be to make SVGUseElement a CachedResourceClient, and let it load a CachedDocument, async, then process it. How is loading handled for frames? How do you want to implement it, using this frame-like concept?

I'm really sorry for not jumping in sooner on this.

The reason for implementing this with a FrameOwner concept is that Subresources can't load if they're in a Document with a null frame.  Note that we exit early in http://trac.webkit.org/browser/trunk/Source/WebCore/loader/SubresourceLoader.cpp#L65 if frame is null, and that Frame will be the Document's Frame.

I'm not an svg expert, but my understanding is that external use references should be able to pull in, e.g., images from the external document, and for that you need the Document to have a Frame.

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