| Index: core/html/HTMLImageElement.idl
|
| diff --git a/core/html/HTMLImageElement.idl b/core/html/HTMLImageElement.idl
|
| index efd1c6a2f4c8e526dc9b0d044840d01bb17d4f5d..1ef0e5048a4faf3f8d05485a7298d92579458f07 100644
|
| --- a/core/html/HTMLImageElement.idl
|
| +++ b/core/html/HTMLImageElement.idl
|
| @@ -18,29 +18,32 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| +// FIXME: NamedConstructor does not support optional without Default. Fortunately using Undefined makes
|
| +// us use 0 which happens to be the default width and height anyway.
|
| [
|
| + // FIXME(MERGE_DARTIUM): Breaks Dart code gen for Chrome 32 / 1700 roll.
|
| + // NamedConstructor=Image([Default=Undefined] optional long width, [Default=Undefined] optional 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;
|
| + [Reflect, TreatNullAs=NullString] attribute DOMString name;
|
| + [Reflect, TreatNullAs=NullString] attribute DOMString align;
|
| + [Reflect, TreatNullAs=NullString] attribute DOMString alt;
|
| + [Reflect, TreatNullAs=NullString] attribute DOMString border;
|
| + [Reflect, TreatNullAs=NullString] 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, EnabledAtRuntime=Srcset] attribute DOMString srcset;
|
| - [Reflect] attribute DOMString useMap;
|
| + [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString longDesc;
|
| + [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
|
| + [Reflect, TreatNullAs=NullString, RuntimeEnabled=Srcset] attribute DOMString srcset;
|
| + [Reflect, TreatNullAs=NullString] attribute DOMString useMap;
|
| [Reflect] attribute long vspace;
|
| attribute long width;
|
|
|
| // Extensions
|
| readonly attribute boolean complete;
|
| - [Reflect,URL] attribute DOMString lowsrc;
|
| + [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString lowsrc;
|
| readonly attribute long naturalHeight;
|
| readonly attribute long naturalWidth;
|
| readonly attribute long x;
|
| readonly attribute long y;
|
| };
|
| -
|
|
|