diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2018-04-16 08:23:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 08:23:26 -0400 |
commit | ded797b8bb211a2e5591d4b7d21c017a7c23b67b (patch) | |
tree | 1fadaebd6fb18fcffe476b0ace7ee516e3727ed9 /dom/webidl | |
parent | 6d7fac84400bb19cdcdb8d39619ff6da74372f9d (diff) | |
parent | f8b9aba8214b9c1f6ccd5852879d6a1cbb16a304 (diff) | |
download | UXP-ded797b8bb211a2e5591d4b7d21c017a7c23b67b.tar UXP-ded797b8bb211a2e5591d4b7d21c017a7c23b67b.tar.gz UXP-ded797b8bb211a2e5591d4b7d21c017a7c23b67b.tar.lz UXP-ded797b8bb211a2e5591d4b7d21c017a7c23b67b.tar.xz UXP-ded797b8bb211a2e5591d4b7d21c017a7c23b67b.zip |
Merge pull request #172 from janekptacijarabaci/svg_canvasImageSource_1
moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource
Diffstat (limited to 'dom/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; |