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