summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLImageElement.webidl
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-01-27 22:59:08 -0600
committerathenian200 <athenian200@outlook.com>2020-01-27 22:59:08 -0600
commit3c4f414db74b84f7d2a6fb13fd888a47a153699b (patch)
treeea81fca559849967a79d598a6f460830762ec9ea /dom/webidl/HTMLImageElement.webidl
parent1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03 (diff)
parentc4b0715baaffc541670fd1158557aa7e61e521d3 (diff)
downloadUXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar
UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.gz
UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.lz
UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.xz
UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into form-disabled-issue
Diffstat (limited to 'dom/webidl/HTMLImageElement.webidl')
-rw-r--r--dom/webidl/HTMLImageElement.webidl36
1 files changed, 19 insertions, 17 deletions
diff --git a/dom/webidl/HTMLImageElement.webidl b/dom/webidl/HTMLImageElement.webidl
index 243c65509..e50a9ef8e 100644
--- a/dom/webidl/HTMLImageElement.webidl
+++ b/dom/webidl/HTMLImageElement.webidl
@@ -16,25 +16,26 @@ interface imgIRequest;
interface URI;
interface nsIStreamListener;
-[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
+[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;
@@ -43,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