summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLImageElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLImageElement.idl')
-rw-r--r--Source/WebCore/html/HTMLImageElement.idl59
1 files changed, 28 insertions, 31 deletions
diff --git a/Source/WebCore/html/HTMLImageElement.idl b/Source/WebCore/html/HTMLImageElement.idl
index d893b6c0c..ce1ea1799 100644
--- a/Source/WebCore/html/HTMLImageElement.idl
+++ b/Source/WebCore/html/HTMLImageElement.idl
@@ -18,38 +18,35 @@
* Boston, MA 02110-1301, USA.
*/
-module html {
-
- interface [
- JSGenerateToNativeObject
- ] HTMLImageElement : HTMLElement {
- attribute [Reflect] DOMString name;
- attribute [Reflect] DOMString align;
- attribute [Reflect] DOMString alt;
- attribute [Reflect] DOMString border;
- attribute [Reflect] DOMString crossOrigin;
- attribute long height;
- attribute [Reflect] long hspace;
- attribute [Reflect] boolean isMap;
- attribute [Reflect, URL] DOMString longDesc;
- attribute [Reflect, URL] DOMString src;
- attribute [Reflect] DOMString useMap;
- attribute [Reflect] long vspace;
- attribute long width;
-
- // Extensions
- readonly attribute boolean complete;
- attribute [Reflect,URL] DOMString lowsrc;
- readonly attribute long naturalHeight;
- readonly attribute long naturalWidth;
- readonly attribute long x;
- readonly attribute long y;
+[
+ JSGenerateToNativeObject
+] interface HTMLImageElement : HTMLElement {
+ [Reflect] attribute DOMString name;
+ [Reflect] attribute DOMString align;
+ [Reflect] attribute DOMString alt;
+ [Reflect] attribute DOMString border;
+ [Reflect] attribute DOMString crossOrigin;
+ attribute long height;
+ [Reflect] attribute long hspace;
+ [Reflect] attribute boolean isMap;
+ [Reflect, URL] attribute DOMString longDesc;
+ [Reflect, URL] attribute DOMString src;
+ [Reflect] attribute DOMString useMap;
+ [Reflect] attribute long vspace;
+ attribute long width;
+
+ // Extensions
+ readonly attribute boolean complete;
+ [Reflect,URL] attribute DOMString lowsrc;
+ readonly attribute long naturalHeight;
+ readonly attribute long naturalWidth;
+ readonly attribute long x;
+ readonly attribute long y;
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
- // Objective-C extension:
- readonly attribute DOMString altDisplayString;
- readonly attribute URL absoluteImageURL;
+ // Objective-C extension:
+ readonly attribute DOMString altDisplayString;
+ readonly attribute URL absoluteImageURL;
#endif
- };
+};
-}