Bug 39059 - canvas drawImage does not render SVG with embedded images correctly
: canvas drawImage does not render SVG with embedded images correctly
Status: UNCONFIRMED
: WebKit
SVG
: 528+ (Nightly build)
: Macintosh Intel Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2010-05-13 06:31 PST by
Modified: 2010-07-03 16:22 PST (History)


Attachments
simple svg file with embedded image (960 bytes, image/svg+xml)
2010-05-13 06:31 PST, Justin Cormack
no flags Details
file that loads the svg file into canvas, renders without bitmap (410 bytes, text/html)
2010-05-13 06:32 PST, Justin Cormack
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-05-13 06:31:54 PST
Created an attachment (id=55968) [details]
simple svg file with embedded image

If you load an SVG image into a canvas using drawImage(), it does not draw any <image> items that are in the SVG file.

Example included - 2 files, 1 SVG file which renders correctly (3 circles and a red bitmap blob), plus Javascript that loads that image into canvas and does not show the bitmap.
------- Comment #1 From 2010-05-13 06:32:42 PST -------
Created an attachment (id=55969) [details]
file that loads the svg file into canvas, renders without bitmap