summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLImageElement.webidl
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-02 21:46:47 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:10 -0500
commit6ea0acf750ea7ba38b86cae1f3c6ba8d239c6e9e (patch)
treeb5be4959844173e01962c9e2d85a9c48257c88be /dom/webidl/HTMLImageElement.webidl
parent5222f6e9daa4cb74b404f769b23510b3d600efd9 (diff)
downloadUXP-6ea0acf750ea7ba38b86cae1f3c6ba8d239c6e9e.tar
UXP-6ea0acf750ea7ba38b86cae1f3c6ba8d239c6e9e.tar.gz
UXP-6ea0acf750ea7ba38b86cae1f3c6ba8d239c6e9e.tar.lz
UXP-6ea0acf750ea7ba38b86cae1f3c6ba8d239c6e9e.tar.xz
UXP-6ea0acf750ea7ba38b86cae1f3c6ba8d239c6e9e.zip
Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass;
Tag UXP Issue #1344
Diffstat (limited to 'dom/webidl/HTMLImageElement.webidl')
-rw-r--r--dom/webidl/HTMLImageElement.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/webidl/HTMLImageElement.webidl b/dom/webidl/HTMLImageElement.webidl
index 243c65509..c6bc3e4c8 100644
--- a/dom/webidl/HTMLImageElement.webidl
+++ b/dom/webidl/HTMLImageElement.webidl
@@ -16,7 +16,8 @@ interface imgIRequest;
interface URI;
interface nsIStreamListener;
-[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
+[HTMLConstructor,
+ NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
[SetterThrows]
attribute DOMString alt;