Bug 226964
| Summary: | canvas.drawImage should support SVGImageElement | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philip Jägenstedt <philip> |
| Component: | Canvas | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dino, karlcow, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=250662 | ||
Philip Jägenstedt
There's a FIXME in the IDL for this:
https://github.com/WebKit/WebKit/blob/aef5bd9e27d33901f93a2100ba05f8737801ae24/Source/WebCore/html/canvas/CanvasDrawImage.idl#L26-L37
I came across this while updating this data:
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage#browser_compatibility
If the other data is correct, WebKit would be the only engine to not support this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/79555760>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/8753
EWS
Committed 259869@main (ec00146f5e49): <https://commits.webkit.org/259869@main>
Reviewed commits have been landed. Closing PR #8753 and removing active labels.