summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLLinkElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/HTMLLinkElement.webidl')
-rw-r--r--dom/webidl/HTMLLinkElement.webidl23
1 files changed, 12 insertions, 11 deletions
diff --git a/dom/webidl/HTMLLinkElement.webidl b/dom/webidl/HTMLLinkElement.webidl
index ec094e55e..eb83deab1 100644
--- a/dom/webidl/HTMLLinkElement.webidl
+++ b/dom/webidl/HTMLLinkElement.webidl
@@ -12,24 +12,25 @@
*/
// http://www.whatwg.org/specs/web-apps/current-work/#the-link-element
+[HTMLConstructor]
interface HTMLLinkElement : HTMLElement {
[Pure]
attribute boolean disabled;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString href;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString? crossOrigin;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString rel;
[PutForwards=value]
readonly attribute DOMTokenList relList;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString media;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString hreflang;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString type;
- [SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
+ [CEReactions, SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy;
[PutForwards=value] readonly attribute DOMTokenList sizes;
};
@@ -37,11 +38,11 @@ HTMLLinkElement implements LinkStyle;
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLLinkElement {
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString charset;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString rev;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString target;
};
@@ -53,6 +54,6 @@ partial interface HTMLLinkElement {
// https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelement-1
partial interface HTMLLinkElement {
- [SetterThrows]
+ [CEReactions, SetterThrows]
attribute DOMString integrity;
};