diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-04 21:41:41 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:19 -0500 |
commit | 3fd2f619496d7c3a2d0a45ed3d44aead22d64c99 (patch) | |
tree | ec4bf4c6c92cad41a0d702053f005e9ed6f80399 /dom/webidl/HTMLImageElement.webidl | |
parent | 1674f8f750b650e6d5fe2245f2c9bcfb5de48230 (diff) | |
download | UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.gz UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.lz UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.xz UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.zip |
Bug 1340027 - Part 2: Add HTML CEReactions annotation.
Tag UXP Issue #1344
Diffstat (limited to 'dom/webidl/HTMLImageElement.webidl')
-rw-r--r-- | dom/webidl/HTMLImageElement.webidl | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/dom/webidl/HTMLImageElement.webidl b/dom/webidl/HTMLImageElement.webidl index c6bc3e4c8..e50a9ef8e 100644 --- a/dom/webidl/HTMLImageElement.webidl +++ b/dom/webidl/HTMLImageElement.webidl @@ -19,23 +19,23 @@ interface nsIStreamListener; [HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)] interface HTMLImageElement : HTMLElement { - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString alt; - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString src; - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString srcset; - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString? crossOrigin; - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString useMap; - [SetterThrows, Pref="network.http.enablePerElementReferrer"] + [CEReactions, SetterThrows, Pref="network.http.enablePerElementReferrer"] attribute DOMString referrerPolicy; - [SetterThrows] + [CEReactions, SetterThrows] attribute boolean isMap; - [SetterThrows] + [CEReactions, SetterThrows] attribute unsigned long width; - [SetterThrows] + [CEReactions, SetterThrows] attribute unsigned long height; readonly attribute unsigned long naturalWidth; readonly attribute unsigned long naturalHeight; @@ -44,30 +44,31 @@ interface HTMLImageElement : HTMLElement { // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis partial interface HTMLImageElement { - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString name; - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString align; - [SetterThrows] + [CEReactions, SetterThrows] attribute unsigned long hspace; - [SetterThrows] + [CEReactions, SetterThrows] attribute unsigned long vspace; - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString longDesc; - [TreatNullAs=EmptyString,SetterThrows] attribute DOMString border; + [CEReactions, TreatNullAs=EmptyString,SetterThrows] attribute DOMString border; }; // [Update me: not in whatwg spec yet] // http://picture.responsiveimages.org/#the-img-element partial interface HTMLImageElement { - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString sizes; readonly attribute DOMString currentSrc; }; // Mozilla extensions. partial interface HTMLImageElement { + [CEReactions] attribute DOMString lowsrc; // These attributes are offsets from the closest view (to mimic |