diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 06:51:24 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 06:51:24 +0200 |
commit | f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304 (patch) | |
tree | 0546fc32641026f256ee00a88bc069c2d5ca795b /dom/webidl/CanvasRenderingContext2D.webidl | |
parent | 8a95c03dcd2a7f2c6d64b6ee917f6cb363e9ca60 (diff) | |
download | uxp-f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304.tar.gz |
moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource
Diffstat (limited to 'dom/webidl/CanvasRenderingContext2D.webidl')
-rw-r--r-- | dom/webidl/CanvasRenderingContext2D.webidl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/webidl/CanvasRenderingContext2D.webidl b/dom/webidl/CanvasRenderingContext2D.webidl index 38a30f9e39..1c55642152 100644 --- a/dom/webidl/CanvasRenderingContext2D.webidl +++ b/dom/webidl/CanvasRenderingContext2D.webidl @@ -27,6 +27,9 @@ dictionary HitRegionOptions { }; typedef (HTMLImageElement or + SVGImageElement) HTMLOrSVGImageElement; + +typedef (HTMLOrSVGImageElement or HTMLCanvasElement or HTMLVideoElement or ImageBitmap) CanvasImageSource; |