aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLAnchorElement.webidl
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-10-19 11:18:05 -0400
committerGitHub <noreply@github.com>2019-10-19 11:18:05 -0400
commit55e60f992c0a29dd9c3d168f586b5172e90bd35a (patch)
tree4420f5db7dc55b7d36f560880b85833ae4d7a696 /components/script/dom/webidls/HTMLAnchorElement.webidl
parent175c0d56ca48cea180500931f8a44acd1ac713be (diff)
parente271edad927c6cfb304e9df8719d7ed5fe0309f9 (diff)
downloadservo-55e60f992c0a29dd9c3d168f586b5172e90bd35a.tar.gz
servo-55e60f992c0a29dd9c3d168f586b5172e90bd35a.zip
Auto merge of #24506 - saschanaz:htmlconstructor, r=jdm
Convert [HTMLConstructor] as constructor extension <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24505 <!-- Either: --> - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/webidls/HTMLAnchorElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLAnchorElement.webidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/dom/webidls/HTMLAnchorElement.webidl b/components/script/dom/webidls/HTMLAnchorElement.webidl
index 89d3c863415..f1597112820 100644
--- a/components/script/dom/webidls/HTMLAnchorElement.webidl
+++ b/components/script/dom/webidls/HTMLAnchorElement.webidl
@@ -11,8 +11,10 @@
*/
// https://html.spec.whatwg.org/multipage/#htmlanchorelement
-[Exposed=Window, HTMLConstructor]
+[Exposed=Window]
interface HTMLAnchorElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[CEReactions]
attribute DOMString target;
// [CEReactions]