aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/webidls/HTMLImageElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/webidls/HTMLImageElement.webidl')
-rw-r--r--src/components/script/dom/webidls/HTMLImageElement.webidl11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/components/script/dom/webidls/HTMLImageElement.webidl b/src/components/script/dom/webidls/HTMLImageElement.webidl
index 2131124b856..482f7e69c1d 100644
--- a/src/components/script/dom/webidls/HTMLImageElement.webidl
+++ b/src/components/script/dom/webidls/HTMLImageElement.webidl
@@ -13,15 +13,11 @@
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
- [SetterThrows]
attribute DOMString alt;
- [SetterThrows]
attribute DOMString src;
[SetterThrows]
attribute DOMString crossOrigin;
- [SetterThrows]
attribute DOMString useMap;
- [SetterThrows]
attribute boolean isMap;
attribute unsigned long width;
attribute unsigned long height;
@@ -32,16 +28,11 @@ interface HTMLImageElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLImageElement {
- [SetterThrows]
attribute DOMString name;
- [SetterThrows]
attribute DOMString align;
- [SetterThrows]
attribute unsigned long hspace;
- [SetterThrows]
attribute unsigned long vspace;
- [SetterThrows]
attribute DOMString longDesc;
- [TreatNullAs=EmptyString,SetterThrows] attribute DOMString border;
+ [TreatNullAs=EmptyString] attribute DOMString border;
};