aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/html.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/parse/html.rs')
-rw-r--r--components/script/parse/html.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs
index 7509fd5d447..9995d06593d 100644
--- a/components/script/parse/html.rs
+++ b/components/script/parse/html.rs
@@ -310,7 +310,7 @@ pub fn parse_html(document: JSRef<Document>,
// This is done by using a <plaintext> element as the html5ever tokenizer
// provides no other way to change to that state.
// Spec for text/plain handling is:
- // https://html.spec.whatwg.org/multipage/browsers.html#read-text
+ // https://html.spec.whatwg.org/multipage/#read-text
let page = format!("<pre>\u{000A}<plaintext>");
parser.parse_chunk(page);
parse_progress(&parser, url, &load_response);
@@ -331,7 +331,7 @@ pub fn parse_html(document: JSRef<Document>,
debug!("finished parsing");
}
-// https://html.spec.whatwg.org/multipage/syntax.html#parsing-html-fragments
+// https://html.spec.whatwg.org/multipage/#parsing-html-fragments
pub fn parse_html_fragment(context_node: JSRef<Node>,
input: DOMString,
output: &mut RootedVec<JS<Node>>) {