Bug 135336 (stevenvachon)
| Summary: | base64-encoded SVG documents do not display embedded images | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Steven Vachon <contact> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | zimmermann |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://svachon.com/webframes/examples.html | ||
Steven Vachon
http://svachon.com/webframes/examples.html
The non-vector-based images in the above link will not work in any WebKit browser, but they work everywhere else.
The SVG structure is a little different than anything you've probably encountered before. First, it is an SVG document containing base64 encoded <image>s. Second, that SVG document is then base64 encoded and embedded into an <image> within a parent SVG document. This was done to ensure that all CSS animations begin at exactly the same time, thereby preventing unsightly flickering.
The images will display in WebKit-based browsers if the document-level base64 encoding is skipped, however.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |