aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/webidls/HTMLImageElement.webidl
diff options
context:
space:
mode:
authorSankha Narayan Guria <sankha93@gmail.com>2014-04-07 15:11:04 +0530
committerSankha Narayan Guria <sankha93@gmail.com>2014-04-08 08:44:38 +0530
commit58e5feca9fd6c404861b11676d85c6cde59fb636 (patch)
tree795cc9316463460ba30e6eb9d6db94a3ec3572b4 /src/components/script/dom/webidls/HTMLImageElement.webidl
parent7541b5752642a96a9f860f4115681af211c897e1 (diff)
downloadservo-58e5feca9fd6c404861b11676d85c6cde59fb636.tar.gz
servo-58e5feca9fd6c404861b11676d85c6cde59fb636.zip
HTMLImageElement attribute getters and setters
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;
};