Bug 226964 - canvas.drawImage should support SVGImageElement
Summary: canvas.drawImage should support SVGImageElement
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: BrowserCompat, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2021-06-14 04:03 PDT by Philip Jägenstedt
Modified: 2023-02-05 07:53 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Jägenstedt 2021-06-14 04:03:26 PDT
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.
Comment 1 Radar WebKit Bug Importer 2021-06-21 04:04:30 PDT
<rdar://problem/79555760>
Comment 2 Said Abou-Hallawa 2023-01-17 20:52:41 PST
Pull request: https://github.com/WebKit/WebKit/pull/8753
Comment 3 EWS 2023-02-05 07:53:03 PST
Committed 259869@main (ec00146f5e49): <https://commits.webkit.org/259869@main>

Reviewed commits have been landed. Closing PR #8753 and removing active labels.