summaryrefslogtreecommitdiffstats
path: root/dom/webidl/CanvasRenderingContext2D.webidl
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-15 06:51:24 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-15 06:51:24 +0200
commitf8b9aba8214b9c1f6ccd5852879d6a1cbb16a304 (patch)
tree0546fc32641026f256ee00a88bc069c2d5ca795b /dom/webidl/CanvasRenderingContext2D.webidl
parent8a95c03dcd2a7f2c6d64b6ee917f6cb363e9ca60 (diff)
downloadUXP-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.webidl3
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;