[Webkit-unassigned] [Bug 91790] SVG Fragment Identifier With CSS Backgrounds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 25 07:59:08 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=91790
--- Comment #5 from Antoine Quint <graouts at webkit.org> 2014-02-25 07:56:15 PST ---
I think the problem actually stems from the fact that when we create the SVGDocument for an SVG image loaded by an <img>, SVGImage::dataChanged() is called higher up in the call stack and calls the following line:
loader.activeDocumentLoader()->writer().begin(URL()); // create the empty document
Note the empty URL, which eventually causes us to bail in FrameView::scrollToFragment() when we notice that we don't have a fragment identifier for the URL nor do we have a pre-set CSS target.
I think we might be able to deal with this in SVGImage::dataChanged() by getting the loaded resource's URL through the image observer's resource request.
--
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