[Webkit-unassigned] [Bug 15443] SVGImage does not support sub-resource loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 23:24:06 PST 2011


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





--- Comment #10 from Cosmin Truta <ctruta at chromium.org>  2011-01-26 23:24:05 PST ---
(In reply to comment #7)
> The potential fix is to re-architecture SVGImage in a manner than makes it work in a less hack-ish way. Discussions about this came down to an idea of a CachedDocument class to handle documents like SVG files. 

After a brief discussion with Dirk on #ksvg, I understood that the caching mechanism that exists in rendering/svg/ should do this trick. Assuming that my understanding is correct, I wonder: how can SVGImage and SVGResourcesCache communicate (if they can communicate at all)?

SVGImage loads subresources through the appropriately-named "giant hack", which is SVGImage::dataChanged. SVGResourcesCache and SVGResourcesCycleSolver kick in later, after everything is loaded. I am having difficulty seeing how could I use at load-time the cache-handling code from the renderer, and I would greatly appreciate if someone could enlighten me.

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