summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLImageElement.idl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLImageElement.idl
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLImageElement.idl')
-rw-r--r--Source/WebCore/html/HTMLImageElement.idl32
1 files changed, 15 insertions, 17 deletions
diff --git a/Source/WebCore/html/HTMLImageElement.idl b/Source/WebCore/html/HTMLImageElement.idl
index 8c551f87b..b681dd22f 100644
--- a/Source/WebCore/html/HTMLImageElement.idl
+++ b/Source/WebCore/html/HTMLImageElement.idl
@@ -19,35 +19,33 @@
*/
[
+ ExportMacro=WEBCORE_EXPORT,
JSGenerateToNativeObject,
+ NamedConstructor=Image(optional unsigned long width, optional unsigned long height)
] 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, TreatNullAs=EmptyString] attribute DOMString border;
+ attribute DOMString? crossOrigin;
+ attribute unsigned long height;
+ [Reflect] attribute unsigned long hspace;
[Reflect] attribute boolean isMap;
- [Reflect, URL] attribute DOMString longDesc;
- [Reflect, URL] attribute DOMString src;
- [Reflect] attribute DOMString srcset;
+ [Reflect, URL] attribute USVString longDesc;
+ [Reflect, URL] attribute USVString src;
+ [Reflect] attribute USVString srcset;
+ [Reflect] attribute DOMString sizes;
+ readonly attribute USVString currentSrc;
[Reflect] attribute DOMString useMap;
- [Reflect] attribute long vspace;
- attribute long width;
-
+ [Reflect] attribute unsigned long vspace;
+ attribute unsigned long width;
+
// Extensions
readonly attribute boolean complete;
- [Reflect,URL] attribute DOMString lowsrc;
+ [Reflect,URL] attribute USVString 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;
-#endif
};