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).
This commit is contained in:
Ms2ger 2015-04-14 10:44:51 +02:00
parent 4997d3a112
commit 49393a8762
19 changed files with 146 additions and 146 deletions

View file

@ -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>>) {