aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/html.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-04-14 10:44:51 +0200
committerMs2ger <ms2ger@gmail.com>2015-04-14 10:44:51 +0200
commit49393a87623d3d7d0453689bf0d633753dd8921d (patch)
treee8448fb4b5ef7d7c7599bd01b3116267ecf81985 /components/script/parse/html.rs
parent4997d3a112354a407365fede1ab1944834a2e13c (diff)
downloadservo-49393a87623d3d7d0453689bf0d633753dd8921d.tar.gz
servo-49393a87623d3d7d0453689bf0d633753dd8921d.zip
Update some URLs.
The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect).
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>>) {