Bug 842376 - Update HTMLImageElement's named constructor to use optional arguments; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2013-02-19 18:26:44 -05:00
parent 007c5b7899
commit 3e838cdbc0

View File

@ -17,9 +17,7 @@ interface URI;
interface MozChannel;
interface nsIStreamListener;
[NamedConstructor=Image(),
NamedConstructor=Image(unsigned long width),
NamedConstructor=Image(unsigned long width, unsigned long height)]
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
[SetterThrows]
attribute DOMString alt;