aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/shadowroot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/shadowroot.rs')
-rw-r--r--components/script/dom/shadowroot.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/shadowroot.rs b/components/script/dom/shadowroot.rs
index 2c9e56d8352..6326e9fd9a7 100644
--- a/components/script/dom/shadowroot.rs
+++ b/components/script/dom/shadowroot.rs
@@ -217,12 +217,12 @@ impl ShadowRootMethods for ShadowRoot {
elements
}
- /// https://dom.spec.whatwg.org/#dom-shadowroot-mode
+ /// <https://dom.spec.whatwg.org/#dom-shadowroot-mode>
fn Mode(&self) -> ShadowRootMode {
ShadowRootMode::Closed
}
- /// https://dom.spec.whatwg.org/#dom-shadowroot-host
+ /// <https://dom.spec.whatwg.org/#dom-shadowroot-host>
fn Host(&self) -> DomRoot<Element> {
let host = self.host.get();
host.expect("Trying to get host from a detached shadow root")