aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLImageElement.webidl
diff options
context:
space:
mode:
authorJoel Teichroeb <joel@teichroeb.net>2015-05-17 23:47:35 +0000
committerJoel Teichroeb <joel@teichroeb.net>2015-06-24 10:42:54 -0700
commitd33579183a19796b702576a9eb99805f20a608b1 (patch)
tree66af147867bc83257822f678b6546613438eea7d /components/script/dom/webidls/HTMLImageElement.webidl
parent012be81eaba1c6328b25a9558ef7d76f25f7439c (diff)
downloadservo-d33579183a19796b702576a9eb99805f20a608b1.tar.gz
servo-d33579183a19796b702576a9eb99805f20a608b1.zip
Implement the Image NamedConstructor for HTMLImageElement
Diffstat (limited to 'components/script/dom/webidls/HTMLImageElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLImageElement.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/HTMLImageElement.webidl b/components/script/dom/webidls/HTMLImageElement.webidl
index 71b49229393..defbfb68257 100644
--- a/components/script/dom/webidls/HTMLImageElement.webidl
+++ b/components/script/dom/webidls/HTMLImageElement.webidl
@@ -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;