diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-10-10 11:55:09 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-10-10 11:55:09 -0400 |
commit | 85f2b6fc5bd3d51ebb7a091fe2776fdd1cfbbb33 (patch) | |
tree | 897db3185c292d272aa7794581d8e5a901b13df9 /components/script/dom/htmlscriptelement.rs | |
parent | 9cccd98254191b1663dcaee9010eee63fa8074a3 (diff) | |
download | servo-85f2b6fc5bd3d51ebb7a091fe2776fdd1cfbbb33.tar.gz servo-85f2b6fc5bd3d51ebb7a091fe2776fdd1cfbbb33.zip |
Replace usage of old-style WHATWG spec links
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
-rw-r--r-- | components/script/dom/htmlscriptelement.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs index cba43a2724f..19014b2005d 100644 --- a/components/script/dom/htmlscriptelement.rs +++ b/components/script/dom/htmlscriptelement.rs @@ -107,7 +107,7 @@ impl HTMLScriptElement { /// Supported script types as defined by -/// <https://whatwg.org/html/#support-the-scripting-language>. +/// <https://html.spec.whatwg.org/multipage/#support-the-scripting-language>. static SCRIPT_JS_MIMES: StaticStringVec = &[ "application/ecmascript", "application/javascript", @@ -569,7 +569,7 @@ impl VirtualMethods for HTMLScriptElement { s.cloning_steps(copy, maybe_doc, clone_children); } - // https://whatwg.org/html/#already-started + // https://html.spec.whatwg.org/multipage/#already-started if self.already_started.get() { let copy_elem = HTMLScriptElementCast::to_ref(copy).unwrap(); copy_elem.mark_already_started(); @@ -583,12 +583,12 @@ impl HTMLScriptElementMethods for HTMLScriptElement { // https://html.spec.whatwg.org/multipage/#dom-script-src make_setter!(SetSrc, "src"); - // https://www.whatwg.org/html/#dom-script-text + // https://html.spec.whatwg.org/multipage#dom-script-text fn Text(&self) -> DOMString { Node::collect_text_contents(NodeCast::from_ref(self).children()) } - // https://www.whatwg.org/html/#dom-script-text + // https://html.spec.whatwg.org/multipage#dom-script-text fn SetText(&self, value: DOMString) { let node = NodeCast::from_ref(self); node.SetTextContent(Some(value)) |