summaryrefslogtreecommitdiff
path: root/dom/webidl/CanvasRenderingContext2D.webidl
diff options
context:
space:
mode:
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 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;