[Webkit-unassigned] [Bug 118068] New: SVG data:uri images are not handled properly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 26 10:12:35 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118068
Summary: SVG data:uri images are not handled properly
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: BlinkMergeCandidate
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pdr at google.com
CC: zimmermann at kde.org, krit at webkit.org, rniwa at webkit.org
At the moment SVG data uri images (bitmap or vector) are not allowed in SVG images. This is a huge bummer and prevents WebKit from showing many Adobe Illustrator SVG files where Illustrator filters are flattened into images.
For example:
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- base64 encoded image: <svg width='100' height='100' xmlns='http://www.w3.org/2000/svg'><rect fill='green' width='100' height='100'></rect></svg> -->
<image width="100" height="100" xlink:href="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAwJyBoZWlnaHQ9JzEwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cmVjdCBmaWxsPSdncmVlbicgd2lkdGg9JzEwMCcgaGVpZ2h0PScxMDAnPjwvcmVjdD48L3N2Zz4="/>
</svg>
A full testcase is available at crbug.com/224317
This can be fixed by merging the following Blink patches:
1) https://codereview.chromium.org/16433002 - Prepopulate the memoryCache with data:uri images
(This is not a straight merge and requires plumbing the data uri parsing from somewhere, possible DataURI.h)
2) https://codereview.chromium.org/16922002 - Do not load deferred/disabled data uri images
3) https://codereview.chromium.org/17682003 - Do not fire load events from frames with scripting disabled
--
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