[Webkit-unassigned] [Bug 55643] Chromium unnecessarily creates SVGImage when an SVG document contains images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 20:26:10 PST 2011


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





--- Comment #2 from Xianzhu Wang <wangxianzhu at google.com>  2011-03-02 20:26:10 PST ---
Just accidentally pressed Enter key before completed the last comment. Continued.

As the SVG document itself is loaded as the image, an SVGImage object is created and put into the cache and returned as the loaded image. Though this is incorrect, the ImageLoader will load the image again when the element has a non-empty base URL and this time the correct image will be loaded and returned.

Seems we should fix KURLGoogle to let it behave the same as the original KURL. Is this the correct solution?

HTMLImageLoader::sourceURI() just returns the trimmed input attribute. Why does SVGImageLoader::sourceURI() require the base url?

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