Implement the Image NamedConstructor for HTMLImageElement

This commit is contained in:
Joel Teichroeb 2015-05-17 23:47:35 +00:00
parent 012be81eab
commit d33579183a
6 changed files with 53 additions and 53 deletions

View file

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://www.whatwg.org/html/#htmlimageelement
//[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
attribute DOMString alt;
attribute DOMString src;