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 UXP-f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304.tar.gz UXP-f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304.tar.lz UXP-f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304.tar.xz UXP-f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304.zip |
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 38a30f9e3..1c5564215 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; |