| Index: core/html/HTMLImageElement.idl
|
| diff --git a/core/html/HTMLImageElement.idl b/core/html/HTMLImageElement.idl
|
| index 809b785745805da70ed98aed63c6dda36560d408..1914a5fad720ef2a705b08c6987fa018670cd94a 100644
|
| --- a/core/html/HTMLImageElement.idl
|
| +++ b/core/html/HTMLImageElement.idl
|
| @@ -21,7 +21,8 @@
|
| // 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.
|
| [
|
| - NamedConstructor=Image([Default=Undefined] optional long width, [Default=Undefined] optional long height)
|
| + NamedConstructor=Image([Default=Undefined] optional long width, [Default=Undefined] optional long height),
|
| + ConstructorCallWith=Document
|
| ] interface HTMLImageElement : HTMLElement {
|
| [Reflect] attribute DOMString align;
|
| [Reflect] attribute DOMString alt;
|
| @@ -31,18 +32,22 @@
|
| attribute long height;
|
| [Reflect] attribute long hspace;
|
| [Reflect] attribute boolean isMap;
|
| - [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString longDesc;
|
| - [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString lowsrc;
|
| + [Reflect, URL, LogActivity=SetterOnly] attribute DOMString longDesc;
|
| + [Reflect, URL, LogActivity=SetterOnly] attribute DOMString lowsrc;
|
| [Reflect] attribute DOMString name;
|
| readonly attribute long naturalHeight;
|
| readonly attribute long naturalWidth;
|
| - [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
|
| - [Reflect, RuntimeEnabled=Srcset] attribute DOMString srcset;
|
| + [Reflect, URL, LogActivity=SetterOnly] attribute DOMString src;
|
| + [Reflect] attribute DOMString srcset;
|
| + [Reflect, RuntimeEnabled=PictureSizes] attribute DOMString sizes;
|
| + [RuntimeEnabled=PictureSizes] readonly attribute DOMString currentSrc;
|
| [Reflect] attribute DOMString useMap;
|
| [Reflect] attribute long vspace;
|
| attribute long width;
|
|
|
| // Extensions
|
| - readonly attribute long x;
|
| - readonly attribute long y;
|
| + [MeasureAs=HTMLImageElementX] readonly attribute long x;
|
| + [MeasureAs=HTMLImageElementY] readonly attribute long y;
|
| +
|
| + [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
|
| };
|
|
|