Update the specification to use HTTPS URLs where possible and update references.
authorMs2ger <ms2ger@gmail.com>
Thu, 13 Feb 2014 11:20:22 +0100
changeset 734 28f516366550
parent 733 fbd22998ba8f
child 735 07d356bde327
Update the specification to use HTTPS URLs where possible and update references.
editing.html
preprocess
source.html
--- a/editing.html	Thu Feb 13 20:50:18 2014 +0900
+++ b/editing.html	Thu Feb 13 11:20:22 2014 +0100
@@ -1,6 +1,6 @@
 <!DOCTYPE html><meta charset=utf-8>
 <title>HTML Editing APIs</title>
-<link href=http://www.whatwg.org/style/specification rel=stylesheet>
+<link href=https://www.whatwg.org/style/specification rel=stylesheet>
 <style>
 pre, code, xmp { font-family:monospace, sans-serif; }
 h2 code, h3 code, h3 code,
@@ -66,26 +66,26 @@
 </style>
 <body class=draft>
 <div class=head id=head>
-<p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
+<p><a href=https://www.w3.org/><img alt=W3C height=48 src=https://www.w3.org/Icons/w3c_home width=72></a></p>
 <h1>HTML Editing APIs</h1>
-<h2 class="no-num no-toc" id=work-in-progress-&mdash;-last-update-20-may-2012>Work in Progress &mdash; Last Update 20 May 2012</h2>
+<h2 class="no-num no-toc" id=work-in-progress-&mdash;-last-update-13-february-2014>Work in Progress &mdash; Last Update 13 February 2014</h2>
 <dl>
  <dt>Editor
  <dd>Aryeh Gregor &lt;<a href=mailto:ayg@aryeh.name>ayg@aryeh.name</a>&gt;
 
  <dt>Latest version
- <dd><a href=http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html>W3C Mercurial</a>
+ <dd><a href=https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html>W3C Mercurial</a>
 
  <dt>Version history
  <dd><a href=https://dvcs.w3.org/hg/editing>W3C Mercurial</a>
  <dd><a href=https://github.com/ayg/editing>github mirror</a>
 
  <dt>Issue tracker
- <dd><a href="http://www.w3.org/Bugs/Public/buglist.cgi?component=HTML+Editing+APIs&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED">All open issues</a>
- <dd><a href="http://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=HTML+Editing+APIs">File an issue</a>
+ <dd><a href="https://www.w3.org/Bugs/Public/buglist.cgi?component=HTML+Editing+APIs&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED">All open issues</a>
+ <dd><a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=HTML+Editing+APIs">File an issue</a>
 
  <dt>Mailing list
- <dd><a href="mailto:public-webapps@w3.org?cc=ayg@aryeh.name&amp;subject=%5Bediting%5D%20">public-webapps</a> (<a href=http://lists.w3.org/Archives/Public/public-webapps/>archive</a>;
+ <dd><a href="mailto:public-webapps@w3.org?cc=ayg@aryeh.name&amp;subject=%5Bediting%5D%20">public-webapps</a> (<a href=https://lists.w3.org/Archives/Public/public-webapps/>archive</a>;
  include "[editing]" in the subject)
 
  <dt>IRC chat
@@ -98,9 +98,9 @@
 
 <p>This document is a preliminary draft of a specification for HTML editing
 APIs, mainly defining <a href=#concept-selection title=concept-selection>selections</a>, <code><a href=#execcommand()>execCommand()</a></code> and related
-functionality.  It replaces a couple of old sections of the <a href=http://www.whatwg.org/html>HTML</a> specification, and the <a href=#concept-selection title=concept-selection>selection</a>
+functionality.  It replaces a couple of old sections of the <a href=https://www.whatwg.org/html>HTML</a> specification, and the <a href=#concept-selection title=concept-selection>selection</a>
 part of the old DOM Range specification.  Issues that don't necessarily need
-discussion should preferably be <a href="http://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=HTML+Editing+APIs">filed
+discussion should preferably be <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=HTML+Editing+APIs">filed
 in the issue tracker</a>.  Feedback that needs discussion should preferably be
 sent to <a href="mailto:public-webapps@w3.org?cc=ayg@aryeh.name&amp;subject=%5Bediting%5D%20">the
 public-webapps list</a>, with the string "[editing]" somewhere in the subject,
@@ -108,22 +108,22 @@
 I will handle all feedback I'm aware of, either addressing it immediately or
 filing a bug if it needs longer-term consideration and is not already filed.
 
-<p>Copyright &copy; 2012 the Contributors to the HTML Editing APIs Specification,
+<p>Copyright &copy; 2014 the Contributors to the HTML Editing APIs Specification,
 published by the <a href=https://www.w3.org/community/editing/>W3C Editing
 APIs Community Group</a> under the <a href=https://www.w3.org/community/about/agreements/cla/>W3C Community
-Contributor License Agreement (CLA)</a>. A human-readable <a href=http://www.w3.org/community/about/agreements/cla-deed/>summary</a> is
+Contributor License Agreement (CLA)</a>. A human-readable <a href=https://www.w3.org/community/about/agreements/cla-deed/>summary</a> is
 available.
 
 <p>This specification, along with the accompanying JavaScript implementation
-and tests, may also be used under the terms of the <a href=http://creativecommons.org/publicdomain/zero/1.0/>CC0 1.0 Universal
+and tests, may also be used under the terms of the <a href=https://creativecommons.org/publicdomain/zero/1.0/>CC0 1.0 Universal
 License</a>.  Thus anyone may reuse, modify, and redistribute them without
 restriction.
 
-<p>This specification was published by the <a href=http://www.w3.org/community/editing/>W3C Editing APIs Community Group</a>.
+<p>This specification was published by the <a href=https://www.w3.org/community/editing/>W3C Editing APIs Community Group</a>.
 It is not a W3C Standard nor is it on the W3C Standards Track. Please note that
-under the <a href=http://www.w3.org/community/about/agreements/cla/>W3C
+under the <a href=https://www.w3.org/community/about/agreements/cla/>W3C
 Community Contributor License Agreement (CLA)</a> there is a limited opt-out
-and other conditions apply. Learn more about <a href=http://www.w3.org/community/>W3C Community and Business Groups</a>.
+and other conditions apply. Learn more about <a href=https://www.w3.org/community/>W3C Community and Business Groups</a>.
 
 
 <h2 class=no-num id=table-of-contents>Table of contents</h2>
@@ -328,7 +328,7 @@
 merged into the command spec, but neither the spec text nor the tests have been
 fully unified at the time of this writing.
 
-<p>Thus the selection tests live in their own directory, <a href=selecttest/>selecttest/</a>.  They use the standard <a href=http://dvcs.w3.org/hg/html/file/tip/tests/resources/testharness.js>testharness.js</a>
+<p>Thus the selection tests live in their own directory, <a href=selecttest/>selecttest/</a>.  They use the standard <a href=https://github.com/w3c/testharness.js/blob/master/testharness.js>testharness.js</a>
 framework developed by James Graham.  They're entirely self-contained, sharing
 nothing with the command tests (except invoking the testharness.js library).
 At the time of this writing, they're not nearly as comprehensive as the command
@@ -351,7 +351,7 @@
 anyone other than the spec's editor.
 
 <p>Conformance tests were added later.  They run the same tests as the
-development tests, but in an entirely non-interactive format, using the <a href=http://dvcs.w3.org/hg/html/file/tip/tests/resources/testharness.js>testharness.js</a>
+development tests, but in an entirely non-interactive format, using the <a href=https://github.com/w3c/testharness.js/blob/master/testharness.js>testharness.js</a>
 framework like the selection tests.  They always run the same set of tests,
 don't vary behavior between browsers (hopefully), and are unforgiving of any
 deviation.  However, they're significantly more cumbersome to set up and use,
@@ -515,7 +515,7 @@
 <p>The conformance tests operate more like one would expect from tests.  Once
 generated, they consist of a single page, <a href=conformancetest/runtest.html>conformancetest/runtest.html</a>, which runs
 all the tests and prints out a table of passes and fails.  Like many other
-recent web standards suites, they use the <a href=http://dvcs.w3.org/hg/html/file/tip/tests/resources/testharness.js>testharness.js</a>
+recent web standards suites, they use the <a href=https://github.com/w3c/testharness.js/blob/master/testharness.js>testharness.js</a>
 framework, and browser implementers should be able to make them part of their
 automated regression test frameworks.
 
@@ -768,23 +768,23 @@
 <code title=dom-Document-getSelection><a href=#dom-document-getselection>document.getSelection()</a></code>.
 </div>
 
-<p>Every <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a> with a non-null
+<p>Every <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a> with a non-null
 <code class=external data-anolis-spec=html title=dom-Document-defaultView><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-document-defaultview>defaultView</a></code>
 has a unique <code><a href=#selection>Selection</a></code> object associated with it.
 <code><a href=#selection>Selection</a></code> objects are known as
 <dfn id=concept-selection title=concept-selection>selections</dfn>.  Each <a href=#concept-selection title=concept-selection>selection</a> is
-associated with a single <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>, which may be null and is initially null.
-This one <a href=#concept-selection title=concept-selection>selection</a> must be shared by all the content of the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>
-(though not by nested <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>documents</a>), including any editing hosts in the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>.  <a href=#editing-host title="editing host">Editing hosts</a> that are not
-inside a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a> cannot have a <a href=#concept-selection title=concept-selection>selection</a>.
+associated with a single <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>, which may be null and is initially null.
+This one <a href=#concept-selection title=concept-selection>selection</a> must be shared by all the content of the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>
+(though not by nested <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>documents</a>), including any editing hosts in the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>.  <a href=#editing-host title="editing host">Editing hosts</a> that are not
+inside a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a> cannot have a <a href=#concept-selection title=concept-selection>selection</a>.
 
 <p class=comments>This is a requirement of the HTML spec.  IE9 and Opera Next
 12.00 alpha seem to follow it, while Firefox 12.0a1 and Chrome 17 dev seem not
 to.  See <a href=selecttest/Document-open.html>test</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=717339">Mozilla bug</a>, <a href="https://bugs.webkit.org/show_bug.cgi?id=76114">WebKit bug</a>.
 
 <p class=note>A document's selection is a singleton object associated with that
-document, so it gets replaced with a new object when <code class=external data-anolis-spec=html title=dom-Document-open><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#dom-document-open>Document.open()</a></code> is called.
+document, so it gets replaced with a new object when <code class=external data-anolis-spec=html title=dom-Document-open><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#dom-document-open>Document.open()</a></code> is called.
 
 <p class=comments>See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15470">bug 15470</a>.  IE9
 and Opera Next 12.00 alpha allow the user to reset the range to null after the
@@ -793,46 +793,46 @@
 
 <p>The user agent should allow the user to change the <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#active-document title="active document">active document</a>'s
 <a href=#concept-selection title=concept-selection>selection</a>.  If the user makes any modification to a <a href=#concept-selection title=concept-selection>selection</a>, the user
-agent must create a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> with suitable <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>
-and associate the <a href=#concept-selection title=concept-selection>selection</a> with this new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> (not modify the
-existing <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>).  The user agent must not allow the user to set a
-<a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to null if it was not already null.
+agent must create a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> with suitable <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>
+and associate the <a href=#concept-selection title=concept-selection>selection</a> with this new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> (not modify the
+existing <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>).  The user agent must not allow the user to set a
+<a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to null if it was not already null.
 
 <p class=comments>This matches Firefox 12.0a1, as far as I can tell.  Chrome 17
 dev and Opera Next 12.00 alpha return copies from getRangeAt(), so the
 requirement isn't testable for them.  IE9 threw weird exceptions in my testing,
 so I match the only browser I could test.
 
-<p>Once a <a href=#concept-selection title=concept-selection>selection</a> is associated with a given <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>, it must continue
-to be associated with that same <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> until this specification requires
+<p>Once a <a href=#concept-selection title=concept-selection>selection</a> is associated with a given <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>, it must continue
+to be associated with that same <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> until this specification requires
 otherwise.
 
 <p class=note>For instance, if the DOM changes in a way that changes the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary points</a>, or a script modifies the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary points</a> of
-the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>, the same <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> object must continue to be associated with
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary points</a>, or a script modifies the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary points</a> of
+the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>, the same <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> object must continue to be associated with
 the <a href=#concept-selection title=concept-selection>selection</a>.  However, if the user changes the selection or a script
 calls <code title=dom-Selection-addRange><a href=#dom-selection-addrange>addRange()</a></code>, the <a href=#concept-selection title=concept-selection>selection</a>
-must be associated with a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> object, as required elsewhere in this
+must be associated with a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> object, as required elsewhere in this
 specification.
 
 <p class=comments>This paragraph is vague.  It needs to be replaced by detailed
 conformance requirements saying exactly what to do for particular keystrokes,
 like we have for backspace/delete/etc.
 
-<p>If the <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is not null and is <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-collapsed>collapsed</a></code>, then
-the caret position must be at that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>.  When the
+<p>If the <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is not null and is <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dom.spec.whatwg.org/#dom-range-collapsed>collapsed</a></code>, then
+the caret position must be at that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>.  When the
 <a href=#concept-selection title=concept-selection>selection</a> is not empty, this specification does not define the caret
 position; user agents should follow platform conventions in deciding whether
 the caret is at the start of the <a href=#concept-selection title=concept-selection>selection</a>, the end of the <a href=#concept-selection title=concept-selection>selection</a>,
 or somewhere else.
 
-<p class=comments>This short-changes Mac users.  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13909">bug 13909</a>.
+<p class=comments>This short-changes Mac users.  See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13909">bug 13909</a>.
 
 <p>Each <a href=#concept-selection title=concept-selection>selection</a> has a <dfn id=concept-selection-dir title=concept-selection-dir>direction</dfn>,
 either <i title="">forwards</i> or <i title="">backwards</i>. If the user creates a
-<a href=#concept-selection title=concept-selection>selection</a> by indicating first one <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> of the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> and
+<a href=#concept-selection title=concept-selection>selection</a> by indicating first one <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> of the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> and
 then the other (such as by clicking on one point and dragging to another), and
-the first indicated <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-after title=concept-range-bp-after>after</a> the second, then the
+the first indicated <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-after title=concept-range-bp-after>after</a> the second, then the
 corresponding <a href=#concept-selection title=concept-selection>selection</a> must initially be backwards. Otherwise, it must be
 forwards (including if the user didn't create the <a href=#concept-selection title=concept-selection>selection</a>, created it by
 selecting an entire part of the page using a keyboard shortcut, etc.).
@@ -841,39 +841,39 @@
 direction?
 
 <p><a href=#concept-selection title=concept-selection>Selections</a> also have an <dfn id=anchor>anchor</dfn> and a <dfn id=focus>focus</dfn>.  If
-the <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null, its <a href=#anchor>anchor</a> and
-<a href=#focus>focus</a> are both null.  If the <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is not null
-and its <a href=#concept-selection-dir title=concept-selection-dir>direction</a> is forwards, its <a href=#anchor>anchor</a> is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>'s
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>, and its <a href=#focus>focus</a> is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>.  Otherwise, its
-<a href=#focus>focus</a> is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and its <a href=#anchor>anchor</a> is the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>.
+the <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null, its <a href=#anchor>anchor</a> and
+<a href=#focus>focus</a> are both null.  If the <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is not null
+and its <a href=#concept-selection-dir title=concept-selection-dir>direction</a> is forwards, its <a href=#anchor>anchor</a> is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>'s
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>, and its <a href=#focus>focus</a> is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>.  Otherwise, its
+<a href=#focus>focus</a> is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and its <a href=#anchor>anchor</a> is the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>.
 
 <pre class=idl>interface <dfn id=selection>Selection</dfn> {
-  readonly attribute <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node>Node</a>? <a href=#dom-selection-anchornode title=dom-Selection-anchorNode>anchorNode</a>;
+  readonly attribute <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#node>Node</a>? <a href=#dom-selection-anchornode title=dom-Selection-anchorNode>anchorNode</a>;
   readonly attribute unsigned long <a href=#dom-selection-anchoroffset title=dom-Selection-anchorOffset>anchorOffset</a>;
-  readonly attribute <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node>Node</a>? <a href=#dom-selection-focusnode title=dom-Selection-focusNode>focusNode</a>;
+  readonly attribute <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#node>Node</a>? <a href=#dom-selection-focusnode title=dom-Selection-focusNode>focusNode</a>;
   readonly attribute unsigned long <a href=#dom-selection-focusoffset title=dom-Selection-focusOffset>focusOffset</a>;
 
   readonly attribute boolean <a href=#dom-selection-iscollapsed title=dom-Selection-isCollapsed>isCollapsed</a>;
-  void               <a href=#dom-selection-collapse title=dom-Selection-collapse>collapse</a>(<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node>Node</a> node, unsigned long offset);
+  void               <a href=#dom-selection-collapse title=dom-Selection-collapse>collapse</a>(<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#node>Node</a> node, unsigned long offset);
   void               <a href=#dom-selection-collapsetostart title=dom-Selection-collapseToStart>collapseToStart</a>();
   void               <a href=#dom-selection-collapsetoend title=dom-Selection-collapseToEnd>collapseToEnd</a>();
 
-  void               <a href=#dom-selection-extend title=dom-Selection-extend>extend</a>(<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node>Node</a> node, unsigned long offset);
-
-  void               <a href=#dom-selection-selectallchildren title=dom-Selection-selectAllChildren>selectAllChildren</a>(<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node>Node</a> node);
+  void               <a href=#dom-selection-extend title=dom-Selection-extend>extend</a>(<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#node>Node</a> node, unsigned long offset);
+
+  void               <a href=#dom-selection-selectallchildren title=dom-Selection-selectAllChildren>selectAllChildren</a>(<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#node>Node</a> node);
   void               <a href=#dom-selection-deletefromdocument title=dom-Selection-deleteFromDocument>deleteFromDocument</a>();
 
   readonly attribute unsigned long <a href=#dom-selection-rangecount title=dom-Selection-rangeCount>rangeCount</a>;
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#range>Range</a>              <a href=#dom-selection-getrangeat title=dom-Selection-getRangeAt>getRangeAt</a>(unsigned long index);
-  void               <a href=#dom-selection-addrange title=dom-Selection-addRange>addRange</a>(<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#range>Range</a> range);
-  void               <a href=#dom-selection-removerange title=dom-Selection-removeRange>removeRange</a>(<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#range>Range</a> range);
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#range>Range</a>              <a href=#dom-selection-getrangeat title=dom-Selection-getRangeAt>getRangeAt</a>(unsigned long index);
+  void               <a href=#dom-selection-addrange title=dom-Selection-addRange>addRange</a>(<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#range>Range</a> range);
+  void               <a href=#dom-selection-removerange title=dom-Selection-removeRange>removeRange</a>(<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#range>Range</a> range);
   void               <a href=#dom-selection-removeallranges title=dom-Selection-removeAllRanges>removeAllRanges</a>();
 
   <a href=#dom-selection-stringifier title=dom-Selection-stringifier>stringifier</a>;
 };</pre>
 
-<p class=comments>See also <a href=http://lxr.mozilla.org/mozilla/source/content/base/public/nsISelection.idl>nsISelection.idl</a>
+<p class=comments>See also <a href=https://mxr.mozilla.org/mozilla/source/content/base/public/nsISelection.idl>nsISelection.idl</a>
 from Gecko.  This spec doesn't have everything from there yet, in particular
 selectionLanguageChange() and containsNode() are missing. They are missing
 because I couldn't work out how to define them in terms of Ranges.
@@ -898,8 +898,8 @@
 </div>
 
 <p>All of the members of the <code><a href=#selection>Selection</a></code> interface are defined in
-terms of operations on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> object (if any) represented by the object.
-These operations can raise exceptions, as defined for the <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#range>Range</a></code> interface; this can therefore result in the
+terms of operations on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> object (if any) represented by the object.
+These operations can raise exceptions, as defined for the <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#range>Range</a></code> interface; this can therefore result in the
 members of the <code><a href=#selection>Selection</a></code> interface raising exceptions as well, in
 addition to any explicitly called out below.
 
@@ -938,20 +938,20 @@
 </dl>
 
 <p>The <dfn id=dom-selection-anchornode title=dom-Selection-anchorNode><code>anchorNode</code></dfn>
-attribute must return the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#anchor>anchor</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>,
+attribute must return the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#anchor>anchor</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>,
 or null if the <a href=#anchor>anchor</a> is null.
 
 <p>The <dfn id=dom-selection-anchoroffset title=dom-Selection-anchorOffset><code>anchorOffset</code></dfn>
-attribute must return the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#anchor>anchor</a>'s
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>, or 0 if the <a href=#anchor>anchor</a> is null.
+attribute must return the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#anchor>anchor</a>'s
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>, or 0 if the <a href=#anchor>anchor</a> is null.
 
 <p>The <dfn id=dom-selection-focusnode title=dom-Selection-focusNode><code>focusNode</code></dfn>
-attribute must return the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#focus>focus</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, or
+attribute must return the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#focus>focus</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, or
 null if the <a href=#focus>focus</a> is null.
 
 <p>The <dfn id=dom-selection-focusoffset title=dom-Selection-focusOffset><code>focusOffset</code></dfn>
-attribute must return the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#focus>focus</a>'s
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>, or 0 if the <a href=#focus>focus</a> is null.
+attribute must return the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#focus>focus</a>'s
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>, or 0 if the <a href=#focus>focus</a> is null.
 
 <dl class=domintro>
   <dt><var title="">collapsed</var> = <var title="">selection</var> . <code title=dom-Selection-isCollapsed><a href=#dom-selection-iscollapsed>isCollapsed</a></code>()
@@ -965,22 +965,22 @@
   <dd>
     <p>Replaces the selection with a collapsed one at the given position.
 
-    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#indexsizeerror>IndexSizeError</a></code> exception if <var title="">offset</var> is negative
-    or longer than <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#indexsizeerror>IndexSizeError</a></code> exception if <var title="">offset</var> is negative
+    or longer than <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 
   <dt><var title="">selection</var> . <code title=dom-Selection-collapseToStart><a href=#dom-selection-collapsetostart>collapseToStart</a></code>()
   <dd>
     <p>Replaces the selection with an empty one at the position of the start of
     the current selection.
 
-    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror>InvalidStateError</a></code> exception if there is no selection.
+    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidstateerror>InvalidStateError</a></code> exception if there is no selection.
 
   <dt><var title="">selection</var> . <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd</a></code>()
   <dd>
     <p>Replaces the selection with an empty one at the position of the end of
     the current selection.
 
-    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror>InvalidStateError</a></code> exception if there is no selection.
+    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidstateerror>InvalidStateError</a></code> exception if there is no selection.
 
   <dt><var title="">selection</var> .
   <code title=dom-Selection-extend><a href=#dom-selection-extend>extend</a></code>(<var title="">node</var>,
@@ -989,10 +989,10 @@
     <p>Changes the <a href=#focus>focus</a> while leaving the <a href=#anchor>anchor</a> in
     place.
 
-    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror>InvalidStateError</a></code> if there's no selection, an
-    <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidnodetypeerror>InvalidNodeTypeError</a></code> if <var title="">node</var> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-doctype title=concept-doctype>doctype</a>, and an
-    <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#indexsizeerror>IndexSizeError</a></code> exception if <var title="">offset</var> is negative or longer
-    than <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidstateerror>InvalidStateError</a></code> if there's no selection, an
+    <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidnodetypeerror>InvalidNodeTypeError</a></code> if <var title="">node</var> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-doctype title=concept-doctype>doctype</a>, and an
+    <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#indexsizeerror>IndexSizeError</a></code> exception if <var title="">offset</var> is negative or longer
+    than <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 </dl>
 
 <p>The <dfn id=dom-selection-iscollapsed title=dom-Selection-isCollapsed><code>isCollapsed</code></dfn>
@@ -1000,10 +1000,10 @@
 are the same (including if both are null).  Otherwise it must return false.
 
 <p>The <dfn id=dom-selection-collapse title=dom-Selection-collapse><code>collapse(<var title="">node</var>,
-<var title="">offset</var>)</code></dfn> method must create a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>,
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> both its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to
-(<var title="">node</var>, <var title="">offset</var>), and set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>
-to the newly-created <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
+<var title="">offset</var>)</code></dfn> method must create a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>,
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> both its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to
+(<var title="">node</var>, <var title="">offset</var>), and set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>
+to the newly-created <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
 
 <p class=comments>For collapseToStart/End, IE9 mutates the existing range,
 while Firefox 9.0a2 and Chrome 15 dev replace it with a new one.  The spec
@@ -1011,18 +1011,18 @@
 object unchanged.
 
 <p>The <dfn id=dom-selection-collapsetostart title=dom-Selection-collapseToStart><code>collapseToStart()</code></dfn> method
-must <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw title=concept-throw>throw</a> an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror>InvalidStateError</a></code> exception if the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null.  Otherwise, it must create a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> object,
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> both its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>, and then set the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to the newly-created <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
+must <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-throw title=concept-throw>throw</a> an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidstateerror>InvalidStateError</a></code> exception if the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null.  Otherwise, it must create a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> object,
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> both its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>, and then set the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to the newly-created <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
 
 <p>The <dfn id=dom-selection-collapsetoend title=dom-Selection-collapseToEnd><code>collapseToEnd()</code></dfn> method
-must <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw title=concept-throw>throw</a> an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror>InvalidStateError</a></code> exception if the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null.  Otherwise, it must create a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> object,
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> both its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>, and then set the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to the newly-created <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
+must <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-throw title=concept-throw>throw</a> an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidstateerror>InvalidStateError</a></code> exception if the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null.  Otherwise, it must create a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> object,
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> both its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>, and then set the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to the newly-created <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
 
 <p class=comments>Reverse-engineered circa January 2011.  IE doesn't support it, so I'm
 relying on Firefox (implemented extend() sometime before 2000) and WebKit
@@ -1038,12 +1038,12 @@
   a zero-length selection at the given point, Opera silently ignores it.
   Gecko's behavior of throwing wins, but with a standardized exception type.
 
-  <p>If the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null, <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw title=concept-throw>throw</a> an
-  <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.
-
-  <li>Let <var title="">anchor</var> and <var title="">focus</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+  <p>If the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null, <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-throw title=concept-throw>throw</a> an
+  <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.
+
+  <li>Let <var title="">anchor</var> and <var title="">focus</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
   <a href=#anchor>anchor</a> and <a href=#focus>focus</a>, and let <var title="">new focus</var> be
-  the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>).
+  the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>).
 
   <li>
   <p class=comments>Firefox 12.0a1 seems to mutate the existing range.  IE9
@@ -1052,28 +1052,28 @@
   copy anyway.  Nevertheless, I go against Gecko here, to be consistent with
   collapse().
 
-  <p>Let <var title="">new range</var> be a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
+  <p>Let <var title="">new range</var> be a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
 
   <li>
   <p class=comments>Gecko sets the direction backwards here.  Why backwards?  I
   don't know.  I'm ignoring direction for collapsed selections for now.
 
-  <p>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-root title=concept-tree-root>root</a> is not the same as the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-root title=concept-range-root>root</a>, <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> <var title="">new range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>
-  and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to (<var title="">node</var>, <var title="">offset</var>).
-
-  <li>Otherwise, if <var title="">anchor</var> is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-before title=concept-range-bp-before>before</a> or equal to
-  <var title="">new focus</var>, <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> <var title="">new range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> to
-  <var title="">anchor</var>, then <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to
+  <p>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-root title=concept-tree-root>root</a> is not the same as the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-root title=concept-range-root>root</a>, <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> <var title="">new range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>
+  and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to (<var title="">node</var>, <var title="">offset</var>).
+
+  <li>Otherwise, if <var title="">anchor</var> is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-before title=concept-range-bp-before>before</a> or equal to
+  <var title="">new focus</var>, <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> <var title="">new range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> to
+  <var title="">anchor</var>, then <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to
   <var title="">new focus</var>.
 
-  <li>Otherwise, <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> <var title="">new range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> to <var title="">new
-  focus</var>, then <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>set</a> its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to <var title="">anchor</var>.
-
-  <li>Set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to <var title="">new range</var>.
-
-  <li>If <var title="">new focus</var> is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-before title=concept-range-bp-before>before</a> <var title="">anchor</var>, set the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection-dir title=concept-selection-dir>direction</a> to backwards.  Otherwise, set it to forwards.
+  <li>Otherwise, <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> <var title="">new range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> to <var title="">new
+  focus</var>, then <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>set</a> its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to <var title="">anchor</var>.
+
+  <li>Set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to <var title="">new range</var>.
+
+  <li>If <var title="">new focus</var> is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-before title=concept-range-bp-before>before</a> <var title="">anchor</var>, set the
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection-dir title=concept-selection-dir>direction</a> to backwards.  Otherwise, set it to forwards.
 </ol>
 
 <p class=comments>Reverse-engineered from WebKit circa January-February 2011.
@@ -1121,16 +1121,16 @@
   This matches IE9 and Firefox 12.0a1.  (Chrome 17 dev and Opera Next 12.00
   alpha can't be tested, because getRangeAt() returns a copy anyway.)
 
-  <p>Let <var title="">range</var> be a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
-
-  <li><a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>Set</a> <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> to (<var title="">node</var>, 0).
-
-  <li><a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-set title=concept-range-bp-set>Set</a> <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> to (<var title="">node</var>, number
-  of <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>).
-
-  <li>Set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to <var title="">range</var>.
-
-  <li>Set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection-dir title=concept-selection-dir>direction</a> to <i title="">forwards</i>.
+  <p>Let <var title="">range</var> be a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
+
+  <li><a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>Set</a> <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> to (<var title="">node</var>, 0).
+
+  <li><a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-set title=concept-range-bp-set>Set</a> <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> to (<var title="">node</var>, number
+  of <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>).
+
+  <li>Set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to <var title="">range</var>.
+
+  <li>Set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection-dir title=concept-selection-dir>direction</a> to <i title="">forwards</i>.
 </ol>
 
 <p class=comments>This is the one method that actually mutates the range
@@ -1139,9 +1139,9 @@
 anyway.)
 
 <p>The <dfn id=dom-selection-deletefromdocument title=dom-Selection-deleteFromDocument><code>deleteFromDocument()</code></dfn>
-method must do nothing if the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null, and
-otherwise must invoke the <code class=external data-anolis-spec=dom title=dom-Range-deleteContents><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-deletecontents>deleteContents()</a></code> method on the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
+method must do nothing if the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null, and
+otherwise must invoke the <code class=external data-anolis-spec=dom title=dom-Range-deleteContents><a href=http://dom.spec.whatwg.org/#dom-range-deletecontents>deleteContents()</a></code> method on the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
 
 <p class=XXX>Should we replace the range rather than mutating it here?  This is
 currently the only Selection method that actually mutates an existing range in
@@ -1150,18 +1150,18 @@
 <dl class=domintro>
   <dt><var title="">selection</var> . <code title=dom-Selection-rangeCount><a href=#dom-selection-rangecount>rangeCount</a></code>
   <dd>
-    <p>Returns the number of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>s in the selection (either 0 or 1).
+    <p>Returns the number of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>s in the selection (either 0 or 1).
 
   <dt><var title="">selection</var> . <code title=dom-Selection-getRangeAt><a href=#dom-selection-getrangeat>getRangeAt</a></code>(<var title="">index</var>)
   <dd>
-    <p>Returns the selection's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>, if <var title="">index</var> is 0.
-
-    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#indexsizeerror>IndexSizeError</a></code> exception if <var title="">index</var> is not 0, or if
-    there is no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> in the selection.
+    <p>Returns the selection's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>, if <var title="">index</var> is 0.
+
+    <p>Throws an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#indexsizeerror>IndexSizeError</a></code> exception if <var title="">index</var> is not 0, or if
+    there is no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> in the selection.
 
   <dt><var title="">selection</var> . <code title=dom-Selection-addRange><a href=#dom-selection-addrange>addRange</a></code>(<var title="">range</var>)
   <dd>
-    <p>Adds the given <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to the selection.
+    <p>Adds the given <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to the selection.
 
   <dt><var title="">selection</var> . <code title=dom-Selection-removeRange><a href=#dom-selection-removerange>removeRange</a></code>(<var title="">range</var>)
   <dd>
@@ -1174,18 +1174,18 @@
 </dl>
 
 <p>The <dfn id=dom-selection-rangecount title=dom-Selection-rangeCount><code>rangeCount</code></dfn>
-attribute must return 0 if the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null, otherwise
+attribute must return 0 if the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null, otherwise
 1.
 
 <p class=comments>IE9 and Firefox 4.0 return the same object every time, as the
 spec says.  Chrome 12 dev and Opera 11.10 return a different object every time.
 
 <p>The <dfn id=dom-selection-getrangeat title=dom-Selection-getRangeAt><code>getRangeAt(<var title="">index</var>)</code></dfn>
-method must <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw title=concept-throw>throw</a> an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#indexsizeerror>IndexSizeError</a></code> exception if <var title="">index</var> is not
-0, or if the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is null.  Otherwise, it must return
-a reference to (not a copy of) the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>. (Thus
+method must <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-throw title=concept-throw>throw</a> an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#indexsizeerror>IndexSizeError</a></code> exception if <var title="">index</var> is not
+0, or if the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is null.  Otherwise, it must return
+a reference to (not a copy of) the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>. (Thus
 subsequent calls must return the same object if nothing has removed the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> in the meantime.)
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> in the meantime.)
 
 <div class=comments>
 <p>IE9 and Firefox 4.0 store a reference, as described here.  Chrome 12 dev and
@@ -1198,28 +1198,28 @@
 </div>
 
 <p>The <dfn id=dom-selection-addrange title=dom-Selection-addRange><code>addRange(<var title="">range</var>)</code></dfn>
-method must set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to a reference to (not a copy
+method must set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to a reference to (not a copy
 of) <var title="">range</var>. Since <var title="">range</var> is added by reference, subsequent
 calls to <code title=dom-Selection-getRangeAt><a href=#dom-selection-getrangeat>getRangeAt(0)</a></code> must return
 the same object, and any changes that a script makes to <var title="">range</var> after
 it is added must be reflected in the <a href=#concept-selection title=concept-selection>selection</a>, until something else
-removes or replaces the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>.
+removes or replaces the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>.
 
 <p>The <dfn id=dom-selection-removerange title=dom-Selection-removeRange><code>removeRange(<var title="">range</var>)</code></dfn>
-method must set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to null if its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> is
+method must set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to null if its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> is
 currently <var title="">range</var>, otherwise do nothing.
 
 <p class=XXX>Do we check for object equality here or just equality of boundary
 points?
 
 <p>The <dfn id=dom-selection-removeallranges title=dom-Selection-removeAllRanges><code>removeAllRanges()</code></dfn> method
-must set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to null and its <a href=#concept-selection-dir title=concept-selection-dir>direction</a> to
+must set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to null and its <a href=#concept-selection-dir title=concept-selection-dir>direction</a> to
 forwards.
 
 <p>The <dfn id=dom-selection-stringifier title=dom-Selection-stringifier>stringifier</dfn> must . . .
 
 <p class=XXX>Complicated.  The Selection stringifier is magical like innerText.
-See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10583">W3C bug
+See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=10583">W3C bug
 10583</a>.
 
 <p>This specification extends several interfaces to provide entry points to the
@@ -1233,7 +1233,7 @@
     stringifies to the text of the current selection.
 </dl>
 
-<pre class=idl>partial interface <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document>Document</a> {
+<pre class=idl>partial interface <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#document>Document</a> {
   <a href=#selection>Selection</a> <a href=#dom-document-getselection title=dom-Document-getSelection>getSelection</a>();
 };</pre>
 
@@ -1246,7 +1246,7 @@
 <code title="">getSelection()</code> on it?  IE9 seems to return a different Selection
 object.  Firefox 12.0a1 and Opera Next 12.00 alpha return the same object as
 for the current window.  Chrome 17 dev returns null.  See
-<a href=http://lists.w3.org/Archives/Public/public-webapps/2012JanMar/0159.html>discussion</a>.
+<a href=https://lists.w3.org/Archives/Public/public-webapps/2012JanMar/0159.html>discussion</a>.
 There's no meaningful selection associated with such a document, so we follow
 WebKit and require returning null.
 
@@ -1258,9 +1258,9 @@
 </div>
 
 <p>The <dfn id=dom-document-getselection title=dom-Document-getSelection><code>getSelection()</code></dfn>
-method on the <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document>Document</a></code> interface must return
-null if the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <code class=external data-anolis-spec=html title=dom-Document-defaultView><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-document-defaultview>defaultView</a></code> is null, and the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a> otherwise.
+method on the <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#document>Document</a></code> interface must return
+null if the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <code class=external data-anolis-spec=html title=dom-Document-defaultView><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-document-defaultview>defaultView</a></code> is null, and the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a> otherwise.
 
 <pre class=idl>partial interface <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window>Window</a> {
   <a href=#selection>Selection</a> <a href=#dom-window-getselection title=dom-Window-getSelection>getSelection</a>();
@@ -1269,8 +1269,8 @@
 <p>The <dfn id=dom-window-getselection title=dom-Window-getSelection><code>getSelection()</code></dfn>
 method on the <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window>Window</a></code> interface must return
 the same thing as calling
-<code title=dom-Document-getSelection><a href=#dom-document-getselection>getSelection()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>
-returned by the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+<code title=dom-Document-getSelection><a href=#dom-document-getselection>getSelection()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>
+returned by the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
 <code class=external data-anolis-spec=html title=dom-document-0><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-document-0>document</a></code> property.
 
 
@@ -1279,7 +1279,7 @@
 <h3 id=properties-of-commands>Properties of commands</h3>
 
 <p>This specification defines a number of <dfn id=command title=command>commands</dfn>,
-identified by <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#ascii-case-insensitive>ASCII case-insensitive</a>
+identified by <a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#ascii-case-insensitive>ASCII case-insensitive</a>
 strings.  Each <a href=#command>command</a> can have several pieces of data associated
 with it:
 
@@ -1438,11 +1438,11 @@
 always <a href=#enabled>enabled</a>, except for <a href=#the-cut-command>the <code title="">cut</code>
 command</a> and <a href=#the-paste-command>the <code title="">paste</code> command</a>.  The
 other <a href=#command title=command>commands</a> defined here are <a href=#enabled>enabled</a>
-if the <a href=#active-range>active range</a> is not null, its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> is either
-<a href=#editable>editable</a> or an <a href=#editing-host>editing host</a>, its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a> is
+if the <a href=#active-range>active range</a> is not null, its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> is either
+<a href=#editable>editable</a> or an <a href=#editing-host>editing host</a>, its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a> is
 either <a href=#editable>editable</a> or an <a href=#editing-host>editing host</a>, and there is some
-<a href=#editing-host>editing host</a> that is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of both its
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>.
+<a href=#editing-host>editing host</a> that is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of both its
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>.
 
 
 
@@ -1455,23 +1455,23 @@
 not finalized yet and can still be easily changed.</strong>
 
 <pre class=idl>[Constructor(DOMString <var title="">type</var>, optional <a href=#editingbeforeinputeventinit>EditingBeforeInputEventInit</a> <var title="">eventInitDict</var>)]
-interface <dfn id=editingbeforeinputevent>EditingBeforeInputEvent</dfn> : <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event>Event</a> {
+interface <dfn id=editingbeforeinputevent>EditingBeforeInputEvent</dfn> : <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#event>Event</a> {
   readonly attribute DOMString <a href=#dom-editingbeforeinputevent-command title=dom-EditingBeforeInputEvent-command>command</a>;
   readonly attribute DOMString <a href=#dom-editingbeforeinputevent-value title=dom-EditingBeforeInputEvent-value>value</a>;
 };
 
-dictionary <dfn id=editingbeforeinputeventinit>EditingBeforeInputEventInit</dfn> : <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#eventinit>EventInit</a> {
+dictionary <dfn id=editingbeforeinputeventinit>EditingBeforeInputEventInit</dfn> : <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#eventinit>EventInit</a> {
   DOMString command;
   DOMString value;
 };
 
 [Constructor(DOMString <var title="">type</var>, optional <a href=#editinginputeventinit>EditingInputEventInit</a> <var title="">eventInitDict</var>)]
-interface <dfn id=editinginputevent>EditingInputEvent</dfn> : <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event>Event</a> {
+interface <dfn id=editinginputevent>EditingInputEvent</dfn> : <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#event>Event</a> {
   readonly attribute DOMString <a href=#dom-editinginputevent-command title=dom-EditingInputEvent-command>command</a>;
   readonly attribute DOMString <a href=#dom-editinginputevent-value title=dom-EditingInputEvent-value>value</a>;
 };
 
-dictionary <dfn id=editinginputeventinit>EditingInputEventInit</dfn> : <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#eventinit>EventInit</a> {
+dictionary <dfn id=editinginputeventinit>EditingInputEventInit</dfn> : <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#eventinit>EventInit</a> {
   DOMString command;
   DOMString value;
 };</pre>
@@ -1531,21 +1531,21 @@
 
   <ol>
     <li>Let <var title="">affected editing host</var> be the <a href=#editing-host>editing host</a>
-    that is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the <a href=#active-range>active range</a>'s
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>, and is not the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of any
-    <a href=#editing-host>editing host</a> that is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the
-    <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>.
+    that is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the <a href=#active-range>active range</a>'s
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>, and is not the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of any
+    <a href=#editing-host>editing host</a> that is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the
+    <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>.
 
     <p class=note>Such an editing host must exist, because otherwise the
     command would not be <a href=#enabled>enabled</a>.
 
-    <li><a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-dispatch title=concept-event-dispatch>Dispatch</a> an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event title=concept-event>event</a> at <var title="">affected editing host</var> that uses
+    <li><a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-event-dispatch title=concept-event-dispatch>Dispatch</a> an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-event title=concept-event>event</a> at <var title="">affected editing host</var> that uses
     the <code><a href=#editingbeforeinputevent>EditingBeforeInputEvent</a></code> interface.  The event's
-    <code class=external data-anolis-spec=dom title=dom-Event-type><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-type>type</a></code> attribute must
+    <code class=external data-anolis-spec=dom title=dom-Event-type><a href=http://dom.spec.whatwg.org/#dom-event-type>type</a></code> attribute must
     be initialized to "beforeinput"; its
-    <code class=external data-anolis-spec=dom title=dom-Event-isTrusted><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-istrusted>isTrusted</a></code>,
-    <code class=external data-anolis-spec=dom title=dom-Event-bubbles><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-bubbles>bubbles</a></code>, and
-    <code class=external data-anolis-spec=dom title=dom-Event-cancelable><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-cancelable>cancelable</a></code>
+    <code class=external data-anolis-spec=dom title=dom-Event-isTrusted><a href=http://dom.spec.whatwg.org/#dom-event-istrusted>isTrusted</a></code>,
+    <code class=external data-anolis-spec=dom title=dom-Event-bubbles><a href=http://dom.spec.whatwg.org/#dom-event-bubbles>bubbles</a></code>, and
+    <code class=external data-anolis-spec=dom title=dom-Event-cancelable><a href=http://dom.spec.whatwg.org/#dom-event-cancelable>cancelable</a></code>
     attributes must be initialized to true; its
     <code title=dom-EditingBeforeInputEvent-command><a href=#dom-editingbeforeinputevent-command>command</a></code> attribute
     must be initialized to <var title="">command</var>; and its
@@ -1561,10 +1561,10 @@
     getSelection().removeAllRanges().
 
     <li>Let <var title="">affected editing host</var> be the <a href=#editing-host>editing host</a>
-    that is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the <a href=#active-range>active range</a>'s
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>, and is not the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of any
-    <a href=#editing-host>editing host</a> that is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the
-    <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>.
+    that is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the <a href=#active-range>active range</a>'s
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>, and is not the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of any
+    <a href=#editing-host>editing host</a> that is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of the
+    <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>.
 
     <p class=XXX>This new affected editing host is what we'll fire the input
     event at in a couple of lines.  We want to compute it beforehand just to be
@@ -1582,12 +1582,12 @@
 
   <li>If <var title="">command</var> is not in the
   <a href=#miscellaneous-commands>Miscellaneous commands</a> section, then
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-dispatch title=concept-event-dispatch>dispatch</a> an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event title=concept-event>event</a> at <var title="">affected editing host</var> that uses the
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-event-dispatch title=concept-event-dispatch>dispatch</a> an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-event title=concept-event>event</a> at <var title="">affected editing host</var> that uses the
   <code><a href=#editinginputevent>EditingInputEvent</a></code> interface.  The event's
-  <code class=external data-anolis-spec=dom title=dom-Event-type><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-type>type</a></code> attribute must be
+  <code class=external data-anolis-spec=dom title=dom-Event-type><a href=http://dom.spec.whatwg.org/#dom-event-type>type</a></code> attribute must be
   initialized to "input"; its
-  <code class=external data-anolis-spec=dom title=dom-Event-isTrusted><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-istrusted>isTrusted</a></code> and
-  <code class=external data-anolis-spec=dom title=dom-Event-bubbles><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-event-bubbles>bubbles</a></code> attributes
+  <code class=external data-anolis-spec=dom title=dom-Event-isTrusted><a href=http://dom.spec.whatwg.org/#dom-event-istrusted>isTrusted</a></code> and
+  <code class=external data-anolis-spec=dom title=dom-Event-bubbles><a href=http://dom.spec.whatwg.org/#dom-event-bubbles>bubbles</a></code> attributes
   must be initialized to true; its
   <code title=dom-EditingInputEvent-command><a href=#dom-editinginputevent-command>command</a></code> attribute must be
   initialized to <var title="">command</var>; and its
@@ -1724,7 +1724,7 @@
   <li>Return <var title="">command</var>'s <a href=#value>value</a>.
 </ol>
 
-<p>All of these methods must treat their <var title="">command</var> argument <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#ascii-case-insensitive title="ASCII case-insensitive">ASCII
+<p>All of these methods must treat their <var title="">command</var> argument <a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#ascii-case-insensitive title="ASCII case-insensitive">ASCII
 case-insensitively</a>.
 
 <div class=note>
@@ -1759,8 +1759,8 @@
 
 <h2 id=common-definitions>Common definitions</h2>
 
-<p>An <dfn id=html-element>HTML element</dfn> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-namespace title=concept-element-namespace>namespace</a> is the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#html-namespace>HTML namespace</a>.
+<p>An <dfn id=html-element>HTML element</dfn> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-namespace title=concept-element-namespace>namespace</a> is the
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#html-namespace>HTML namespace</a>.
 
 <p>A <dfn id=prohibited-paragraph-child-name>prohibited paragraph child name</dfn> is "address", "article",
 "aside", "blockquote", "caption", "center", "col", "colgroup", "dd", "details",
@@ -1774,7 +1774,7 @@
 a p either, although it won't auto-close it.
 
 <p>A <dfn id=prohibited-paragraph-child>prohibited paragraph child</dfn> is an <a href=#html-element>HTML element</a>
-whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#prohibited-paragraph-child-name>prohibited paragraph child name</a>.
+whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#prohibited-paragraph-child-name>prohibited paragraph child name</a>.
 
 <p class=comments>The block/inline node definitions are CSS-based.  "Prohibited
 paragraph child" is conceptually similar to "block node", but based on the
@@ -1784,35 +1784,35 @@
 need to become "visible block node", now that block nodes can be invisible (if
 they descend from display: none).
 
-<p>A <dfn id=block-node>block node</dfn> is either an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> whose "display" property
+<p>A <dfn id=block-node>block node</dfn> is either an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> whose "display" property
 does not have <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "inline" or "inline-block" or "inline-table" or
-"none", or a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>, or a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#documentfragment>DocumentFragment</a></code>.
-
-<p>An <dfn id=inline-node>inline node</dfn> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that is not a <a href=#block-node>block
+"none", or a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>, or a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#documentfragment>DocumentFragment</a></code>.
+
+<p>An <dfn id=inline-node>inline node</dfn> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> that is not a <a href=#block-node>block
 node</a>.
 
-<p>An <dfn id=editing-host>editing host</dfn> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that is either an <a href=#html-element>HTML
+<p>An <dfn id=editing-host>editing host</dfn> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> that is either an <a href=#html-element>HTML
 element</a> with a <code class=external data-anolis-spec=html title=attr-contenteditable><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#attr-contenteditable>contenteditable</a></code> attribute set to the true
-state, or the <a href=#html-element>HTML element</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a> whose <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#designMode>designMode</a></code> is enabled.
-
-<p>Something is <dfn id=editable>editable</dfn> if it is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>; it is not an
+state, or the <a href=#html-element>HTML element</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a> whose <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#designMode>designMode</a></code> is enabled.
+
+<p>Something is <dfn id=editable>editable</dfn> if it is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>; it is not an
 <a href=#editing-host>editing host</a>; it does not have a <code class=external data-anolis-spec=html title=attr-contenteditable><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#attr-contenteditable>contenteditable</a></code> attribute set to the false
-state; its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#editing-host>editing host</a> or <a href=#editable>editable</a>;
+state; its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#editing-host>editing host</a> or <a href=#editable>editable</a>;
 and either it is an <a href=#html-element>HTML element</a>, or it is an <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#svg>svg</a></code> or <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#math>math</a></code>
-element, or it is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#html-element>HTML
+element, or it is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#html-element>HTML
 element</a>.
 
-<p class=note>An <a href=#editable>editable</a> node cannot be a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a> or
-<code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#documentfragment>DocumentFragment</a></code>, its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> cannot be null, and it must descend from
-either an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> or a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>.
+<p class=note>An <a href=#editable>editable</a> node cannot be a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a> or
+<code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#documentfragment>DocumentFragment</a></code>, its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> cannot be null, and it must descend from
+either an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> or a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>.
 
 <p>The <dfn id=editing-host-of>editing host of</dfn> <var title="">node</var> is null if <var title="">node</var> is
 neither <a href=#editable>editable</a> nor an <a href=#editing-host>editing host</a>; <var title="">node</var>
 itself, if <var title="">node</var> is an <a href=#editing-host>editing host</a>; or the nearest
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var> that is an <a href=#editing-host>editing host</a>, if
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var> that is an <a href=#editing-host>editing host</a>, if
 <var title="">node</var> is <a href=#editable>editable</a>.
 
-<p>Two <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a> are <dfn id=in-the-same-editing-host>in the same editing host</dfn> if the <a href=#editing-host-of>editing
+<p>Two <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a> are <dfn id=in-the-same-editing-host>in the same editing host</dfn> if the <a href=#editing-host-of>editing
 host of</a> the first is non-null and the same as the <a href=#editing-host-of>editing host
 of</a> the second.
 
@@ -1848,13 +1848,13 @@
 and seeing what happens.  (Actually, setting display: none, so that it doesn't
 mess up ranges.)
 
-<p>A <dfn id=whitespace-node>whitespace node</dfn> is either a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is
-the empty string; or a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> consists only of one or
+<p>A <dfn id=whitespace-node>whitespace node</dfn> is either a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is
+the empty string; or a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> consists only of one or
 more tabs (0x0009), line feeds (0x000A), carriage returns (0x000D), and/or
-spaces (0x0020), and whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> whose <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for
-"white-space" is "normal" or "nowrap"; or a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code>
+spaces (0x0020), and whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> whose <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for
+"white-space" is "normal" or "nowrap"; or a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code>
 consists only of one or more tabs (0x0009), carriage returns (0x000D), and/or
-spaces (0x0020), and whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> whose <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for
+spaces (0x0020), and whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> whose <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for
 "white-space" is "pre-line".
 
 <p><var title="">node</var> is a <dfn id=collapsed-whitespace-node>collapsed whitespace node</dfn> if the following
@@ -1872,17 +1872,17 @@
 <ol>
   <li>If <var title="">node</var> is not a <a href=#whitespace-node>whitespace node</a>, return false.
 
-  <li>If <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is the empty string, return true.
-
-  <li>Let <var title="">ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <li>If <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is the empty string, return true.
+
+  <li>Let <var title="">ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>If <var title="">ancestor</var> is null, return true.
 
-  <li>If the "display" property of some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var> has
+  <li>If the "display" property of some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var> has
   <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "none", return true.
 
   <li>While <var title="">ancestor</var> is not a <a href=#block-node>block node</a> and its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not null, set <var title="">ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not null, set <var title="">ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>
   <div class=comments>
@@ -1903,15 +1903,15 @@
 
   <p>Let <var title="">reference</var> be <var title="">node</var>.
 
-  <li>While <var title="">reference</var> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">ancestor</var>:
-
-  <ol>
-    <li>Let <var title="">reference</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> before it in <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>.
+  <li>While <var title="">reference</var> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">ancestor</var>:
+
+  <ol>
+    <li>Let <var title="">reference</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> before it in <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>.
 
     <li>If <var title="">reference</var> is a <a href=#block-node>block node</a> or a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>,
     return true.
 
-    <li>If <var title="">reference</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node that is not a
+    <li>If <var title="">reference</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node that is not a
     <a href=#whitespace-node>whitespace node</a>, or is an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, break from this loop.
   </ol>
 
@@ -1922,16 +1922,16 @@
 
   <p>Let <var title="">reference</var> be <var title="">node</var>.
 
-  <li>While <var title="">reference</var> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">ancestor</var>:
-
-  <ol>
-    <li>Let <var title="">reference</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> after it in <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>, or
-    null if there is no such <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>.
+  <li>While <var title="">reference</var> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">ancestor</var>:
+
+  <ol>
+    <li>Let <var title="">reference</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> after it in <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>, or
+    null if there is no such <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>.
 
     <li>If <var title="">reference</var> is a <a href=#block-node>block node</a> or a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>,
     return true.
 
-    <li>If <var title="">reference</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node that is not a
+    <li>If <var title="">reference</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node that is not a
     <a href=#whitespace-node>whitespace node</a>, or is an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, break from this loop.
   </ol>
 
@@ -1943,14 +1943,14 @@
 replaced content that has nonzero height and width" or such.  When fixing this,
 make sure to audit for other occurrences of this assumption.
 
-<p>Something is <dfn id=visible>visible</dfn> if it is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that either is a
-<a href=#block-node>block node</a>, or a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node that is not a <a href=#collapsed-whitespace-node>collapsed
+<p>Something is <dfn id=visible>visible</dfn> if it is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> that either is a
+<a href=#block-node>block node</a>, or a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node that is not a <a href=#collapsed-whitespace-node>collapsed
 whitespace node</a>, or an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, or a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> that is not an
-<a href=#extraneous-line-break>extraneous line break</a>, or any <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> with a <a href=#visible>visible</a>
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a>; excluding any <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> with an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a>
-<code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> whose "display" property has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "none".
-
-<p>Something is <dfn id=invisible>invisible</dfn> if it is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that is not
+<a href=#extraneous-line-break>extraneous line break</a>, or any <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> with a <a href=#visible>visible</a>
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a>; excluding any <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> with an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a>
+<code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> whose "display" property has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "none".
+
+<p>Something is <dfn id=invisible>invisible</dfn> if it is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> that is not
 <a href=#visible>visible</a>.
 
 <p class=comments>TODO: Reconsider whether we want to lump invisible nodes in
@@ -1960,9 +1960,9 @@
 
 <p>A <dfn id=collapsed-block-prop>collapsed block prop</dfn> is either a <a href=#collapsed-line-break>collapsed line
 break</a> that is not an <a href=#extraneous-line-break>extraneous line break</a>, or an
-<code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> that is an <a href=#inline-node>inline node</a> and whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> are all
+<code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> that is an <a href=#inline-node>inline node</a> and whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> are all
 either <a href=#invisible>invisible</a> or <a href=#collapsed-block-prop title="collapsed block prop">collapsed
-block props</a> and that has at least one <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> that is a
+block props</a> and that has at least one <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> that is a
 <a href=#collapsed-block-prop>collapsed block prop</a>.
 
 <p class=note>A collapsed block prop is something like the <code title="">&lt;br&gt;</code> in <code title="">&lt;p&gt;&lt;br&gt;&lt;/p&gt;</code>, or the <code title="">&lt;br&gt;</code> and <code title="">&lt;span&gt;</code> in <code title="">&lt;p&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;</code>.  These are necessary to
@@ -1977,8 +1977,8 @@
 ranges to avoid overlap.  It probably makes the most sense in the long term to
 have the command affect all ranges.  But I'll leave this for later.
 
-<p>The <dfn id=active-range>active range</dfn> is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> of the <a href=#concept-selection title=concept-selection>selection</a> given by
-calling <code title=dom-Document-getSelection><a href=#dom-document-getselection>getSelection()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>.  (Thus the <a href=#active-range>active
+<p>The <dfn id=active-range>active range</dfn> is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> of the <a href=#concept-selection title=concept-selection>selection</a> given by
+calling <code title=dom-Document-getSelection><a href=#dom-document-getselection>getSelection()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>.  (Thus the <a href=#active-range>active
 range</a> may be null.)
 
 <p>Each <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#htmldocument>HTMLDocument</a></code> has a boolean <dfn id=css-styling-flag>CSS styling flag</dfn> associated
@@ -1997,9 +1997,9 @@
 override</dfn>.  These do not change the <a href=#command>command</a>'s
 <a href=#state>state</a> or <a href=#value>value</a>, but change the way some algorithms
 behave, as specified in those algorithms' definitions.  Initially, both must be
-unset for every <a href=#command>command</a>.  Whenever the number of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>ranges</a> in the
-<a href=#concept-selection title=concept-selection>selection</a> changes to something different, and whenever a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>
-of the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> at a given index in the <a href=#concept-selection title=concept-selection>selection</a> changes to something
+unset for every <a href=#command>command</a>.  Whenever the number of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>ranges</a> in the
+<a href=#concept-selection title=concept-selection>selection</a> changes to something different, and whenever a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>
+of the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> at a given index in the <a href=#concept-selection title=concept-selection>selection</a> changes to something
 different, the <a href=#state-override>state override</a> and <a href=#value-override>value override</a> must
 be unset for every <a href=#command>command</a>.  The <a href=#value-override>value override</a> for
 <a href=#the-backcolor-command>the <code title="">backColor</code> command</a> must be the same as the
@@ -2019,14 +2019,14 @@
 <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=16207">bug 16207</a>.
 
 <p>When
-<code class=external data-anolis-spec=html title=dom-Document-open><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#dom-document-open>document.open()</a></code> is
-called and a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>'s singleton objects are all replaced by new instances
+<code class=external data-anolis-spec=html title=dom-Document-open><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#dom-document-open>document.open()</a></code> is
+called and a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>'s singleton objects are all replaced by new instances
 of those objects, editing state associated with that document (including the
 <a href=#css-styling-flag>CSS styling flag</a>, <a href=#default-single-line-container-name>default single-line container name</a>,
 and any <a href=#state-override title="state override">state overrides</a> or
 <a href=#value-override title="value override">value overrides</a>) must be reset.
 
-<p class=note>Of course, any action that replaces a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a> object
+<p class=note>Of course, any action that replaces a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a> object
 entirely, such as reloading the page, will also reset any editing state
 associated with the document.
 
@@ -2037,8 +2037,8 @@
 property when a script refers to it, and must continue to use the
 specification-defined behavior when this specification refers to it.
 
-<p>When a list or set of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a> is assigned to a variable without specifying
-the order, they must be initially in <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>, if they share a root.
+<p>When a list or set of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a> is assigned to a variable without specifying
+the order, they must be initially in <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>, if they share a root.
 (If they don't share a root, the order will be specified.)  When the user agent
 is instructed to run particular steps for each member of a list, it must do so
 sequentially in the list's order.
@@ -2048,10 +2048,10 @@
 
 <h3 id=assorted-common-algorithms>Assorted common algorithms</h3>
 
-<p>To move a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> to a new location, <dfn id=preserving-ranges>preserving ranges</dfn>, remove
-the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> from its original <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> (if any), then insert it in the new
+<p>To move a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> to a new location, <dfn id=preserving-ranges>preserving ranges</dfn>, remove
+the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> from its original <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> (if any), then insert it in the new
 location.  In doing so, follow these rules instead of those defined by the
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-insert title=concept-node-insert>insert</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-remove title=concept-node-remove>remove</a> algorithms:
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-insert title=concept-node-insert>insert</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-remove title=concept-node-remove>remove</a> algorithms:
 
 <p class=note>Many of the algorithms in this specification move nodes around in
 the DOM.  The normal rules for range mutation require that any range endpoints
@@ -2062,36 +2062,36 @@
 ranges", so that the text "foo" is still selected.
 
 <ol>
-  <li>Let <var title="">node</var> be the moved <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, <var title="">old parent</var> and
-  <var title="">old index</var> be the old <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> (which may be null) and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>,
-  and <var title="">new parent</var> and <var title="">new index</var> be the new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> and
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>.
+  <li>Let <var title="">node</var> be the moved <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, <var title="">old parent</var> and
+  <var title="">old index</var> be the old <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> (which may be null) and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>,
+  and <var title="">new parent</var> and <var title="">new index</var> be the new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> and
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>.
 
   <li>
   <p class=comments>This is actually implicit, but I state it anyway for
   completeness.
 
-  <p>If a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> is the same as or a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of
+  <p>If a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> is the same as or a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of
   <var title="">node</var>, leave it unchanged, so it moves to the new location.
 
-  <li>If a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> is <var title="">new parent</var> and its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a> is greater than <var title="">new index</var>, add one to its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
-
-  <li>If a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> is <var title="">old parent</var> and its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a> is <var title="">old index</var> or <var title="">old index</var> + 1, set its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> to <var title="">new parent</var> and add <var title="">new index</var> &minus;
-  <var title="">old index</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
-
-  <li>If a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> is <var title="">old parent</var> and its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a> is greater than <var title="">old index</var> + 1, subtract one from its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
+  <li>If a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> is <var title="">new parent</var> and its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a> is greater than <var title="">new index</var>, add one to its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
+
+  <li>If a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> is <var title="">old parent</var> and its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a> is <var title="">old index</var> or <var title="">old index</var> + 1, set its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> to <var title="">new parent</var> and add <var title="">new index</var> &minus;
+  <var title="">old index</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
+
+  <li>If a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> is <var title="">old parent</var> and its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a> is greater than <var title="">old index</var> + 1, subtract one from its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
 </ol>
 
 <p class=comments>TODO: Do we want to get rid of attributes that are no longer
 allowed here?
 
-<p>To <dfn id=set-the-tag-name>set the tag name</dfn> of an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> <var title="">element</var> to
+<p>To <dfn id=set-the-tag-name>set the tag name</dfn> of an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> <var title="">element</var> to
 <var title="">new name</var>:
 
 <p class=note>This is needed because the DOM doesn't allow any way of changing
@@ -2101,30 +2101,30 @@
 the old element's children, and remove the old element.
 
 <ol>
-  <li>If <var title="">element</var> is an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a>
+  <li>If <var title="">element</var> is an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a>
   equal to <var title="">new name</var>, return <var title="">element</var>.
 
-  <li>If <var title="">element</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null, return <var title="">element</var>.
-
-  <li>Let <var title="">replacement element</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement(<var title="">new name</var>)</a></code> on
-  the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">element</var>.
+  <li>If <var title="">element</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null, return <var title="">element</var>.
+
+  <li>Let <var title="">replacement element</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement(<var title="">new name</var>)</a></code> on
+  the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">element</var>.
 
   <li>Insert <var title="">replacement element</var> into <var title="">element</var>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> immediately before <var title="">element</var>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> immediately before <var title="">element</var>.
 
   <li>Copy all attributes of <var title="">element</var> to <var title="">replacement
   element</var>, in order.
 
-  <li>While <var title="">element</var> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, append the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of
-  <var title="">element</var> as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">replacement element</var>,
+  <li>While <var title="">element</var> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, append the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of
+  <var title="">element</var> as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">replacement element</var>,
   <a href=#preserving-ranges>preserving ranges</a>.
 
-  <li>Remove <var title="">element</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <li>Remove <var title="">element</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>Return <var title="">replacement element</var>.
 </ol>
 
-<p>To <dfn id=remove-extraneous-line-breaks-before>remove extraneous line breaks before</dfn> a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>
+<p>To <dfn id=remove-extraneous-line-breaks-before>remove extraneous line breaks before</dfn> a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>
 <var title="">node</var>:
 
 <p class=note><code title="">&lt;br&gt;</code> sometimes has no effect in CSS, such
@@ -2132,35 +2132,35 @@
 we like to remove the extra markup to keep things tidy.
 
 <ol>
-  <li>Let <var title="">ref</var> be the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> of <var title="">node</var>.
+  <li>Let <var title="">ref</var> be the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> of <var title="">node</var>.
 
   <li>If <var title="">ref</var> is null, abort these steps.
 
-  <li>While <var title="">ref</var> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, set <var title="">ref</var> to its
-  <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code>.
+  <li>While <var title="">ref</var> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, set <var title="">ref</var> to its
+  <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code>.
 
   <li>While <var title="">ref</var> is <a href=#invisible>invisible</a> but not an
   <a href=#extraneous-line-break>extraneous line break</a>, and <var title="">ref</var> does not equal
-  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>, set <var title="">ref</var> to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> before it in
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>.
+  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>, set <var title="">ref</var> to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> before it in
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>.
 
   <li>If <var title="">ref</var> is an <a href=#editable>editable</a> <a href=#extraneous-line-break>extraneous line
-  break</a>, remove it from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  break</a>, remove it from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 </ol>
 
-<p>To <dfn id=remove-extraneous-line-breaks-at-the-end-of>remove extraneous line breaks at the end of</dfn> a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>
+<p>To <dfn id=remove-extraneous-line-breaks-at-the-end-of>remove extraneous line breaks at the end of</dfn> a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>
 <var title="">node</var>:
 
 <ol>
   <li>Let <var title="">ref</var> be <var title="">node</var>.
 
-  <li>While <var title="">ref</var> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, set <var title="">ref</var> to its
-  <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code>.
+  <li>While <var title="">ref</var> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, set <var title="">ref</var> to its
+  <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code>.
 
   <li>While <var title="">ref</var> is <a href=#invisible>invisible</a> but not an
   <a href=#extraneous-line-break>extraneous line break</a>, and <var title="">ref</var> does not equal
-  <var title="">node</var>, set <var title="">ref</var> to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> before it in
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>.
+  <var title="">node</var>, set <var title="">ref</var> to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> before it in
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>.
 
   <li>If <var title="">ref</var> is an <a href=#editable>editable</a> <a href=#extraneous-line-break>extraneous line
   break</a>:
@@ -2170,25 +2170,25 @@
     <p class=comments>If the block ends with <code title="">&lt;span&gt;&lt;br&gt;&lt;/span&gt;</code>, for
     instance, we want to remove the span too.
 
-    <p>While <var title="">ref</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#editable>editable</a> and
-    <a href=#invisible>invisible</a>, set <var title="">ref</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Remove <var title="">ref</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <p>While <var title="">ref</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#editable>editable</a> and
+    <a href=#invisible>invisible</a>, set <var title="">ref</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Remove <var title="">ref</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
   </ol>
 </ol>
 
-<p>To <dfn id=remove-extraneous-line-breaks-from>remove extraneous line breaks from</dfn> a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, first
+<p>To <dfn id=remove-extraneous-line-breaks-from>remove extraneous line breaks from</dfn> a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, first
 <a href=#remove-extraneous-line-breaks-before>remove extraneous line breaks before</a> it, then <a href=#remove-extraneous-line-breaks-at-the-end-of>remove
 extraneous line breaks at the end of</a> it.
 
 
 <h3 id=wrapping-a-list-of-nodes>Wrapping a list of nodes</h3>
 
-<p>To <dfn id=wrap>wrap</dfn> a list <var title="">node list</var> of consecutive <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-sibling title=concept-tree-sibling>sibling</a>
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, run the following algorithm.  In addition to <var title="">node list</var>,
+<p>To <dfn id=wrap>wrap</dfn> a list <var title="">node list</var> of consecutive <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-sibling title=concept-tree-sibling>sibling</a>
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, run the following algorithm.  In addition to <var title="">node list</var>,
 the algorithm accepts two inputs: an algorithm <var title="">sibling criteria</var> that
-accepts a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> as input and outputs a boolean, and an algorithm <var title="">new
-parent instructions</var> that accepts nothing as input and outputs a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>
+accepts a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> as input and outputs a boolean, and an algorithm <var title="">new
+parent instructions</var> that accepts nothing as input and outputs a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>
 or null.  If not provided, <var title="">sibling criteria</var> returns false and
 <var title="">new parent instructions</var> returns null.
 
@@ -2210,7 +2210,7 @@
   <p>If every member of <var title="">node list</var> is <a href=#invisible>invisible</a>, and
   none is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, return null and abort these steps.
 
-  <li>If <var title="">node list</var>'s first member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null, return null
+  <li>If <var title="">node list</var>'s first member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null, return null
   and abort these steps.
 
   <li>
@@ -2219,11 +2219,11 @@
   instead of vanishing as they should.
 
   <p>If <var title="">node list</var>'s last member is an <a href=#inline-node>inline node</a>
-  that's not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and <var title="">node list</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>
+  that's not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and <var title="">node list</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>
   is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, append that <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> to <var title="">node list</var>.
 
   <li>
-  <p class=comments>See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13811">bug 13811</a>, <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14231">bug 14231</a>.  If
+  <p class=comments>See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13811">bug 13811</a>, <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14231">bug 14231</a>.  If
   there's a non-adjacent sibling that matches the sibling criteria and only
   invisible nodes intervene, we want to skip over the invisible nodes.  For
   instance, bolding <code title="">&lt;b&gt;foo&lt;/b&gt;&lt;!--bar--&gt;[baz]</code> should produce
@@ -2232,20 +2232,20 @@
   <code title="">&lt;ol&gt;&lt;li&gt;foo&lt;/li&gt; &lt;li&gt;[bar]&lt;/ol&gt;</code>, not
   <code title="">&lt;ol&gt;&lt;li&gt;foo&lt;/ol&gt; &lt;ol&gt;&lt;li&gt;[bar]&lt;/ol&gt;</code>.
 
-  <p>While <var title="">node list</var>'s first member's <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> is
+  <p>While <var title="">node list</var>'s first member's <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> is
   <a href=#invisible>invisible</a>, prepend it to <var title="">node list</var>.
 
-  <li>While <var title="">node list</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is
+  <li>While <var title="">node list</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is
   <a href=#invisible>invisible</a>, append it to <var title="">node list</var>.
 
-  <li>If the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> of the first member of <var title="">node list</var>
+  <li>If the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> of the first member of <var title="">node list</var>
   is <a href=#editable>editable</a> and running <var title="">sibling criteria</var> on it
-  returns true, let <var title="">new parent</var> be the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> of the
+  returns true, let <var title="">new parent</var> be the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> of the
   first member of <var title="">node list</var>.
 
-  <li>Otherwise, if the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of the last member of <var title="">node
+  <li>Otherwise, if the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of the last member of <var title="">node
   list</var> is <a href=#editable>editable</a> and running <var title="">sibling criteria</var>
-  on it returns true, let <var title="">new parent</var> be the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of the
+  on it returns true, let <var title="">new parent</var> be the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of the
   last member of <var title="">node list</var>.
 
   <li>Otherwise, run <var title="">new parent instructions</var>, and let <var title="">new
@@ -2264,10 +2264,10 @@
   be moved to an uncle or something.  The toggle lists algorithm makes use of
   this.
 
-  <p>If <var title="">new parent</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null:
-
-  <ol>
-    <li>Insert <var title="">new parent</var> into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of the first member of
+  <p>If <var title="">new parent</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null:
+
+  <ol>
+    <li>Insert <var title="">new parent</var> into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of the first member of
     <var title="">node list</var> immediately before the first member of <var title="">node
     list</var>.
 
@@ -2323,27 +2323,27 @@
     <p>TODO: Think about this some more.  Maybe there's a better way.
     </div>
 
-    <p>If any <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> equal to the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">new parent</var> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a> equal to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-    of <var title="">new parent</var>, add one to that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
-  </ol>
-
-  <li>Let <var title="">original parent</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of the first member of
+    <p>If any <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> equal to the
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">new parent</var> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a> equal to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+    of <var title="">new parent</var>, add one to that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
+  </ol>
+
+  <li>Let <var title="">original parent</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of the first member of
   <var title="">node list</var>.
 
   <li>If <var title="">new parent</var> is before the first member of <var title="">node
-  list</var> in <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>:
+  list</var> in <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>:
 
   <ol>
     <li>If <var title="">new parent</var> is not an <a href=#inline-node>inline node</a>, but the
-    last <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var> and the first
-    <a href=#visible>visible</a> member of <var title="">node list</var> are both <a href=#inline-node title="inline node">inline nodes</a>, and the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new
-    parent</var> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">new parent</var> and append the result as the
-    last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>.
+    last <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var> and the first
+    <a href=#visible>visible</a> member of <var title="">node list</var> are both <a href=#inline-node title="inline node">inline nodes</a>, and the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new
+    parent</var> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">new parent</var> and append the result as the
+    last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>.
 
     <li>For each <var title="">node</var> in <var title="">node list</var>, append
-    <var title="">node</var> as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>,
+    <var title="">node</var> as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>,
     <a href=#preserving-ranges>preserving ranges</a>.
   </ol>
 
@@ -2351,14 +2351,14 @@
 
   <ol>
     <li>If <var title="">new parent</var> is not an <a href=#inline-node>inline node</a>, but the
-    first <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var> and the last
+    first <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var> and the last
     <a href=#visible>visible</a> member of <var title="">node list</var> are both <a href=#inline-node title="inline node">inline nodes</a>, and the last member of <var title="">node
-    list</var> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">new parent</var> and insert the result as the
-    first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>.
+    list</var> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">new parent</var> and insert the result as the
+    first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>.
 
     <li>For each <var title="">node</var> in <var title="">node list</var>, <em>in reverse
-    order</em>, insert <var title="">node</var> as the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new
+    order</em>, insert <var title="">node</var> as the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new
     parent</var>, <a href=#preserving-ranges>preserving ranges</a>.
   </ol>
 
@@ -2367,29 +2367,29 @@
   returned a node whose parent wasn't null.
 
   <p>If <var title="">original parent</var> is <a href=#editable>editable</a> and has no
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, remove it from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, remove it from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>
   <p class=comments>Probably because both the previous and next sibling met
   them.  We want to merge them in this case.
 
-  <p>If <var title="">new parent</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is <a href=#editable>editable</a> and
+  <p>If <var title="">new parent</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is <a href=#editable>editable</a> and
   running <var title="">sibling criteria</var> on it returns true:
 
   <ol>
     <li>If <var title="">new parent</var> is not an <a href=#inline-node>inline node</a>, but
-    <var title="">new parent</var>'s last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> and <var title="">new parent</var>'s
-    <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>'s first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> are both <a href=#inline-node title="inline node">inline
-    nodes</a>, and <var title="">new parent</var>'s last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>,
-    call <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">new parent</var> and append the result as the
-    last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>.
-
-    <li>While <var title="">new parent</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, append
-    its first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>,
+    <var title="">new parent</var>'s last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> and <var title="">new parent</var>'s
+    <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>'s first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> are both <a href=#inline-node title="inline node">inline
+    nodes</a>, and <var title="">new parent</var>'s last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>,
+    call <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">new parent</var> and append the result as the
+    last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>.
+
+    <li>While <var title="">new parent</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, append
+    its first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">new parent</var>,
     <a href=#preserving-ranges>preserving ranges</a>.
 
-    <li>Remove <var title="">new parent</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>Remove <var title="">new parent</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
   </ol>
 
   <li><a href=#remove-extraneous-line-breaks-from>Remove extraneous line breaks from</a> <var title="">new parent</var>.
@@ -2417,7 +2417,7 @@
 "xmp", "big", "blink", "font", "marquee", "nobr", or "tt".
 
 <p>An <dfn id=element-with-inline-contents>element with inline contents</dfn> is an <a href=#html-element>HTML element</a>
-whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#name-of-an-element-with-inline-contents>name of an element with inline contents</a>.
+whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#name-of-an-element-with-inline-contents>name of an element with inline contents</a>.
 
 <div class=comments>
 <p>TODO: This list doesn't currently match HTML's validity requirements for a
@@ -2439,11 +2439,11 @@
 
 <p>I deliberately allow <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> to contain headers and such, in violation of
 HTML.  If I didn't, then when the user tried to formatBlock a <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> as a
-header, it would break apart the whole <code class=external data-anolis-spec=html title="the dl element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element>dl</a></code>, which seems worse.  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201">bug 13201</a>.
+header, it would break apart the whole <code class=external data-anolis-spec=html title="the dl element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element>dl</a></code>, which seems worse.  See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13201">bug 13201</a>.
 </div>
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> or string <var title="">child</var> is an <dfn id=allowed-child>allowed child</dfn> of a
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> or string <var title="">parent</var> if the following algorithm returns true:
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> or string <var title="">child</var> is an <dfn id=allowed-child>allowed child</dfn> of a
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> or string <var title="">parent</var> if the following algorithm returns true:
 
 <p class=note>Often we move around nodes, and sometimes this can result in
 unreasonable things like two <code title="">&lt;p&gt;</code>'s nested inside one
@@ -2454,23 +2454,23 @@
 
 <ol>
   <li>If <var title="">parent</var> is "colgroup", "table", "tbody", "tfoot", "thead",
-  "tr", or an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> equal to one of
-  those, and <var title="">child</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> does not
-  consist solely of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#space-character title="space character">space characters</a>, return false.
+  "tr", or an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> equal to one of
+  those, and <var title="">child</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node whose <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> does not
+  consist solely of <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace title="ascii whitespace">space characters</a>, return false.
 
   <li>
   <p class=comments> Actually, no node can occur in the DOM after plaintext,
   generally.  But let's not get too carried away.
 
   <p>If <var title="">parent</var> is "script", "style", "plaintext", or "xmp", or an
-  <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> equal to one of those, and
-  <var title="">child</var> is not a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, return false.
-
-  <li>If <var title="">child</var> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document title=concept-document>document</a>, <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#documentfragment>DocumentFragment</a></code>, or
-  <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#documenttype>DocumentType</a></code>, return false.
+  <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> equal to one of those, and
+  <var title="">child</var> is not a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, return false.
+
+  <li>If <var title="">child</var> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-document title=concept-document>document</a>, <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#documentfragment>DocumentFragment</a></code>, or
+  <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#documenttype>DocumentType</a></code>, return false.
 
   <li>If <var title="">child</var> is an <a href=#html-element>HTML element</a>, set <var title="">child</var>
-  to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> of <var title="">child</var>.
+  to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> of <var title="">child</var>.
 
   <li>If <var title="">child</var> is not a string, return true.
 
@@ -2483,7 +2483,7 @@
     &lt;a&gt;foo&lt;table&gt;&lt;td&gt;&lt;a&gt;bar&lt;/a&gt;&lt;/td&gt;&lt;/table&gt;baz&lt;/a&gt;,
     but it's invalid in those cases too, so no need for complication.
 
-    <p>If <var title="">child</var> is "a", and <var title="">parent</var> or some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a>
+    <p>If <var title="">child</var> is "a", and <var title="">parent</var> or some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a>
     of <var title="">parent</var> is an <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code>, return false.
 
     <li>
@@ -2493,25 +2493,25 @@
     supposed to happen anyway.
 
     <p>If <var title="">child</var> is a <a href=#prohibited-paragraph-child-name>prohibited paragraph child name</a>
-    and <var title="">parent</var> or some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">parent</var> is an
+    and <var title="">parent</var> or some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">parent</var> is an
     <a href=#element-with-inline-contents>element with inline contents</a>, return false.
 
     <li>
     <p class=comments>Also can't be serialized as text/html.
 
     <p>If <var title="">child</var> is "h1", "h2", "h3", "h4", "h5", or "h6", and
-    <var title="">parent</var> or some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">parent</var> is an
-    <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> "h1", "h2", "h3", "h4", "h5",
+    <var title="">parent</var> or some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">parent</var> is an
+    <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> "h1", "h2", "h3", "h4", "h5",
     or "h6", return false.
 
     <li>
     <p class=comments>Further requirements only care about the parent itself,
     not ancestors, so we don't need to know the node itself.
 
-    <p>Let <var title="">parent</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> of <var title="">parent</var>.
-  </ol>
-
-  <li>If <var title="">parent</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> or <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#documentfragment>DocumentFragment</a></code>, return
+    <p>Let <var title="">parent</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> of <var title="">parent</var>.
+  </ol>
+
+  <li>If <var title="">parent</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> or <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#documentfragment>DocumentFragment</a></code>, return
   true.
 
   <li>If <var title="">parent</var> is not a string, return false.
@@ -2578,23 +2578,23 @@
 &lt;b&gt;f[o]o&lt;/b&gt;, the text node is effectively contained but not contained,
 and the &lt;b&gt; is neither effectively contained nor contained.
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> is <dfn id=effectively-contained>effectively contained</dfn> in a
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> <var title="">range</var> if <var title="">range</var> is not <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-collapsed>collapsed</a></code>, and
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> is <dfn id=effectively-contained>effectively contained</dfn> in a
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> <var title="">range</var> if <var title="">range</var> is not <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dom.spec.whatwg.org/#dom-range-collapsed>collapsed</a></code>, and
 at least one of the following holds:
 
 <ul>
-  <li><var title="">node</var> is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">range</var>.
+  <li><var title="">node</var> is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">range</var>.
 
   <li>
   <p class=comments> So like &lt;b&gt;f[oo]&lt;/b&gt; or &lt;b&gt;f[o]o&lt;/b&gt; or
   &lt;b&gt;f[oo&lt;/b&gt;}, but not &lt;b&gt;foo[&lt;/b&gt;} or &lt;b&gt;f[]oo&lt;/b&gt;.
 
-  <p><var title="">node</var> is <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>, it is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code>
-  node, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> is different from <var title="">range</var>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a>.
-
-  <li><var title="">node</var> is <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>, it is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node,
-  and <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-offset title=concept-range-end-offset>end offset</a> is not 0.
+  <p><var title="">node</var> is <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>, it is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code>
+  node, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> is different from <var title="">range</var>'s
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a>.
+
+  <li><var title="">node</var> is <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>, it is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node,
+  and <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-offset title=concept-range-end-offset>end offset</a> is not 0.
 
   <li>
   <p class=comments>Basically, anything whose children are all effectively
@@ -2603,13 +2603,13 @@
   though the text node is.  That's because we split the text node before we
   actually do anything, and the &lt;b&gt; will no longer be effectively contained.
 
-  <p><var title="">node</var> has at least one <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>; and all its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> are
+  <p><var title="">node</var> has at least one <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>; and all its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> are
   <a href=#effectively-contained>effectively contained</a> in <var title="">range</var>; and either
-  <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> is not a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">node</var>
-  or is not a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node or <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a> is zero; and
-  either <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a> is not a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of
-  <var title="">node</var> or is not a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node or <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-offset title=concept-range-end-offset>end offset</a>
-  is its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+  <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> is not a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">node</var>
+  or is not a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node or <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a> is zero; and
+  either <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a> is not a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of
+  <var title="">node</var> or is not a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node or <var title="">range</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-offset title=concept-range-end-offset>end offset</a>
+  is its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 </ul>
 
 <p>A <dfn id=modifiable-element>modifiable element</dfn> is a <code class=external data-anolis-spec=html title="the b element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-b-element>b</a></code>, <code class=external data-anolis-spec=html title="the em element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-em-element>em</a></code>, <code class=external data-anolis-spec=html title="the i element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-i-element>i</a></code>, <code class=external data-anolis-spec=html title="the s element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-s-element>s</a></code>, <code class=external data-anolis-spec=html title="the span element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-span-element>span</a></code>,
@@ -2665,7 +2665,7 @@
 style="font-style: normal"&gt;</code> inside.
 
 <p>A <dfn id=formattable-node>formattable node</dfn> is an <a href=#editable>editable</a>
-<a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that is either a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, or a
+<a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> that is either a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, or a
 <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>.
 
 <p>Two quantities are <dfn id=equivalent-values>equivalent values</dfn> for a <a href=#command>command</a>
@@ -2711,7 +2711,7 @@
 <p>If a <a href=#command>command</a> has <a href=#inline-command-activated-values>inline command activated values</a>
 defined, its <a href=#state>state</a> is true if either no <a href=#formattable-node>formattable
 node</a> is <a href=#effectively-contained>effectively contained</a> in the <a href=#active-range>active
-range</a>, and the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>'s
+range</a>, and the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>'s
 <a href=#effective-command-value>effective command value</a> is one of the given values; or if there is
 at least one <a href=#formattable-node>formattable node</a> <a href=#effectively-contained>effectively contained</a>
 in the <a href=#active-range>active range</a>, and all of them have an <a href=#effective-command-value>effective
@@ -2740,7 +2740,7 @@
 <a href=#effective-command-value>effective command value</a> of the first <a href=#formattable-node>formattable node</a>
 that is <a href=#effectively-contained>effectively contained</a> in the <a href=#active-range>active range</a>; or
 if there is no such node, the <a href=#effective-command-value>effective command value</a> of the
-<a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>; or if that is null, the empty
+<a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>; or if that is null, the empty
 string.
 
 <p class=note>The notions of inline command activated values and standard
@@ -2750,7 +2750,7 @@
 
 <h3 id=assorted-inline-formatting-command-algorithms>Assorted inline formatting command algorithms</h3>
 
-<p>The <dfn id=effective-command-value>effective command value</dfn> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> for a
+<p>The <dfn id=effective-command-value>effective command value</dfn> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> for a
 given <var title="">command</var> is returned by the following algorithm, which will
 return either a string or null:
 
@@ -2764,33 +2764,33 @@
 properties.
 
 <ol>
-  <li>If neither <var title="">node</var> nor its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, return
+  <li>If neither <var title="">node</var> nor its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, return
   null.
 
-  <li>If <var title="">node</var> is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, return the <a href=#effective-command-value>effective
-  command value</a> of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> for <var title="">command</var>.
+  <li>If <var title="">node</var> is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, return the <a href=#effective-command-value>effective
+  command value</a> of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> for <var title="">command</var>.
 
   <li>If <var title="">command</var> is "createLink" or "unlink":
 
   <ol>
     <li>While <var title="">node</var> is not null, and is not an <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> element that has
-    an <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    an <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>If <var title="">node</var> is null, return null.
 
-    <li>Return the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attribute-value title=concept-attribute-value>value</a> of <var title="">node</var>'s <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute.
+    <li>Return the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-attribute-value title=concept-attribute-value>value</a> of <var title="">node</var>'s <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute.
   </ol>
 
   <li>If <var title="">command</var> is "backColor" or "hiliteColor":
 
   <ol>
     <li>While the <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> of "background-color" on <var title="">node</var> is
-    any fully transparent value, and <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an
-    <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    any fully transparent value, and <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an
+    <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>
     <div class=comments>
-    <p>What happens if everything's background is fully transparent?  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14068">bug</a>.  If you
+    <p>What happens if everything's background is fully transparent?  See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14068">bug</a>.  If you
     do queryCommandValue() for backColor/hiliteColor when no backgrounds are
     set anywhere, so it goes up to the root element, no two engines agree.
     IE10PP2 just returns a random-looking number (16777215).  Firefox 8.0a2
@@ -2827,7 +2827,7 @@
       is similar, and in fact behaves like that even for commands like bold.
       The spec originally followed Chrome 14 dev, mainly because WebKit itself
       will produce spans with vertical-align sub or super, and we want to
-      handle them correctly.  However, Ryosuke <a href=http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-August/032809.html>informs</a>
+      handle them correctly.  However, Ryosuke <a href=https://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-August/032809.html>informs</a>
       me that WebKit's behavior here is viewed as <a href="https://bugs.webkit.org/show_bug.cgi?id=11089">a bug</a>, so I
       changed it to match Gecko/Opera.
 
@@ -2837,7 +2837,7 @@
       <li>Otherwise, if <var title="">node</var> is a <code class=external data-anolis-spec=html title="the sub and sup elements"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-sub-and-sup-elements>sup</a></code>, set <var title="">affected by
       superscript</var> to true.
 
-      <li>Set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+      <li>Set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
     </ol>
 
     <li>If <var title="">affected by subscript</var> and <var title="">affected by
@@ -2851,18 +2851,18 @@
   </ol>
 
   <li>If <var title="">command</var> is "strikethrough", and the "text-decoration"
-  property of <var title="">node</var> or any of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a>
+  property of <var title="">node</var> or any of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a>
   containing "line-through", return "line-through".  Otherwise, return null.
 
   <li>If <var title="">command</var> is "underline", and the "text-decoration"
-  property of <var title="">node</var> or any of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a>
+  property of <var title="">node</var> or any of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a>
   containing "underline", return "underline".  Otherwise, return null.
 
   <li>Return the <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for <var title="">node</var> of the <a href=#relevant-css-property>relevant CSS
   property</a> for <var title="">command</var>.
 </ol>
 
-<p>The <dfn id=specified-command-value>specified command value</dfn> of an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> <var title="">element</var>
+<p>The <dfn id=specified-command-value>specified command value</dfn> of an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> <var title="">element</var>
 for a given <var title="">command</var> is returned by the following algorithm, which
 will return either a string or null:
 
@@ -2874,14 +2874,14 @@
 
 <ol>
   <li>If <var title="">command</var> is "backColor" or "hiliteColor" and the
-  <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>'s display property does not have <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "inline", return
+  <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>'s display property does not have <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "inline", return
   null.
 
   <li>If <var title="">command</var> is "createLink" or "unlink":
 
   <ol>
     <li>If <var title="">element</var> is an <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> element and has an <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code>
-    attribute, return the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attribute-value title=concept-attribute-value>value</a> of that attribute.
+    attribute, return the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-attribute-value title=concept-attribute-value>value</a> of that attribute.
 
     <li>Return null.
   </ol>
@@ -2949,7 +2949,7 @@
   <li>Return null.
 </ol>
 
-<p>To <dfn id=record-the-values>record the values</dfn> of a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a> <var title="">node list</var>:
+<p>To <dfn id=record-the-values>record the values</dfn> of a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a> <var title="">node list</var>:
 
 <p class=note>When we move nodes around, we often change their parents.  If
 their parents had any styles applied, this will make the nodes' styles change
@@ -2961,7 +2961,7 @@
 change color when outdented.
 
 <ol>
-  <li>Let <var title="">values</var> be a list of (<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, <a href=#command>command</a>,
+  <li>Let <var title="">values</var> be a list of (<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, <a href=#command>command</a>,
   <a href=#specified-command-value>specified command value</a>) triples, initially empty.
 
   <li>
@@ -2977,13 +2977,13 @@
   <ol>
     <li>Let <var title="">ancestor</var> equal <var title="">node</var>.
 
-    <li>If <var title="">ancestor</var> is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, set it to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>While <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> and its <a href=#specified-command-value>specified
+    <li>If <var title="">ancestor</var> is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, set it to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>While <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> and its <a href=#specified-command-value>specified
     command value</a> for <var title="">command</var> is null, set it to its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>If <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, add (<var title="">node</var>,
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>If <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, add (<var title="">node</var>,
     <var title="">command</var>, <var title="">ancestor</var>'s <a href=#specified-command-value>specified command
     value</a> for <var title="">command</var>) to <var title="">values</var>.  Otherwise add
     (<var title="">node</var>, <var title="">command</var>, null) to <var title="">values</var>.
@@ -3002,19 +3002,19 @@
   <ol>
     <li>Let <var title="">ancestor</var> equal <var title="">node</var>.
 
-    <li>If <var title="">ancestor</var> is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, set it to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>While <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> and its <a href=#specified-command-value>specified
+    <li>If <var title="">ancestor</var> is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, set it to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>While <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> and its <a href=#specified-command-value>specified
     command value</a> for <var title="">command</var> is null, set it to its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>If <var title="">value</var> is null and <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>,
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>If <var title="">value</var> is null and <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>,
     <a href=#push-down-values>push down values</a> on <var title="">node</var> for <var title="">command</var>,
     with <var title="">new value</var> null.
 
-    <li>Otherwise, if <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> and its
+    <li>Otherwise, if <var title="">ancestor</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> and its
     <a href=#specified-command-value>specified command value</a> for <var title="">command</var> is not <a href=#equivalent-values title="equivalent values">equivalent</a> to <var title="">value</var>, or if
-    <var title="">ancestor</var> is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> and <var title="">value</var> is not null,
+    <var title="">ancestor</var> is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> and <var title="">value</var> is not null,
     <a href=#force-the-value>force the value</a> of <var title="">command</var> to <var title="">value</var> on
     <var title="">node</var>.
   </ol>
@@ -3024,7 +3024,7 @@
 
 <h3 id="clearing-an-element's-value">Clearing an element's value</h3>
 
-<p>To <dfn id=clear-the-value>clear the value</dfn> of an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> <var title="">element</var>:
+<p>To <dfn id=clear-the-value>clear the value</dfn> of an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> <var title="">element</var>:
 
 <p class=note>The idea is to remove any <a href=#specified-command-value>specified command value</a>
 that the element might have for the command.  This might involve changing its
@@ -3049,13 +3049,13 @@
   <li>If <var title="">element</var> is a <a href=#simple-modifiable-element>simple modifiable element</a>:
 
   <ol>
-    <li>Let <var title="">children</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> of <var title="">element</var>.
+    <li>Let <var title="">children</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> of <var title="">element</var>.
 
     <li>For each <var title="">child</var> in <var title="">children</var>, insert
-    <var title="">child</var> into <var title="">element</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> immediately before
+    <var title="">child</var> into <var title="">element</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> immediately before
     <var title="">element</var>, <a href=#preserving-ranges>preserving ranges</a>.
 
-    <li>Remove <var title="">element</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>Remove <var title="">element</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Return <var title="">children</var>.
   </ol>
@@ -3096,7 +3096,7 @@
   <var title="">command</var> is null, return the empty list.
 
   <li><a href=#set-the-tag-name>Set the tag name</a> of <var title="">element</var> to "span", and return
-  the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of the result.
+  the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of the result.
 </ol>
 
 
@@ -3134,7 +3134,7 @@
 attribute).
 </div>
 
-<p>To <dfn id=push-down-values>push down values</dfn> to a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var>, given a new
+<p>To <dfn id=push-down-values>push down values</dfn> to a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var>, given a new
 value <var title="">new value</var>:
 
 <p class=note>The idea here is that if an undesired value is being propagated
@@ -3148,22 +3148,22 @@
   <li>
   <p class=comments>E.g., a text node child of a document fragment.
 
-  <p>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, abort this
+  <p>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, abort this
   algorithm.
 
   <li>If the <a href=#effective-command-value>effective command value</a> of <var title="">command</var> is
   <a href=#loosely-equivalent-values title="loosely equivalent values">loosely equivalent</a> to <var title="">new value</var> on <var title="">node</var>, abort this
   algorithm.
 
-  <li>Let <var title="">current ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-  <li>Let <var title="">ancestor list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
-
-  <li>While <var title="">current ancestor</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>
+  <li>Let <var title="">current ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+  <li>Let <var title="">ancestor list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
+
+  <li>While <var title="">current ancestor</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>
   and the <a href=#effective-command-value>effective command value</a> of <var title="">command</var> is not
   <a href=#loosely-equivalent-values title="loosely equivalent values">loosely equivalent</a> to <var title="">new value</var> on it, append <var title="">current
   ancestor</var> to <var title="">ancestor list</var>, then set <var title="">current
-  ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>If <var title="">ancestor list</var> is empty, abort this algorithm.
 
@@ -3211,7 +3211,7 @@
   </div>
 
   <p>If the <a href=#effective-command-value>effective command value</a> of <var title="">command</var> is not
-  <a href=#loosely-equivalent-values title="loosely equivalent values">loosely equivalent</a> to <var title="">new value</var> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of the last
+  <a href=#loosely-equivalent-values title="loosely equivalent values">loosely equivalent</a> to <var title="">new value</var> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of the last
   member of <var title="">ancestor list</var>, and <var title="">new value</var> is not null,
   abort this algorithm.
 
@@ -3227,7 +3227,7 @@
     ancestor</var> for <var title="">command</var> is not null, set <var title="">propagated
     value</var> to that value.
 
-    <li>Let <var title="">children</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> of <var title="">current
+    <li>Let <var title="">children</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> of <var title="">current
     ancestor</var>.
 
     <li>If the <a href=#specified-command-value>specified command value</a> of <var title="">current
@@ -3246,7 +3246,7 @@
       is in ems or percents or something, it will now change value.  This isn't
       likely to come up, so we'll ignore it for now.
 
-      <p>If <var title="">child</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> whose <a href=#specified-command-value>specified command
+      <p>If <var title="">child</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> whose <a href=#specified-command-value>specified command
       value</a> for <var title="">command</var> is neither null nor <a href=#equivalent-values title="equivalent values">equivalent</a> to <var title="">propagated
       value</var>, continue with the next <var title="">child</var>.
 
@@ -3263,7 +3263,7 @@
 
 <h3 id=forcing-the-value-of-a-node>Forcing the value of a node</h3>
 
-<p>To <dfn id=force-the-value>force the value</dfn> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> to <var title="">new
+<p>To <dfn id=force-the-value>force the value</dfn> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> to <var title="">new
 value</var>:
 
 <p class=note>This algorithm checks if the node has the desired value, and if
@@ -3274,7 +3274,7 @@
 <ol>
   <li>Let <var title="">command</var> be the current <a href=#command>command</a>.
 
-  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null, abort this algorithm.
+  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null, abort this algorithm.
 
   <li>If <var title="">new value</var> is null, abort this algorithm.
 
@@ -3297,10 +3297,10 @@
     </div>
 
     <p><a href=#reorder-modifiable-descendants>Reorder modifiable descendants</a> of <var title="">node</var>'s
-    <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code>.
+    <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code>.
 
     <li><a href=#reorder-modifiable-descendants>Reorder modifiable descendants</a> of <var title="">node</var>'s
-    <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>.
+    <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>.
 
     <li>
     <p class=comments>The <var title="">new parent instructions</var> we'd want are too
@@ -3308,7 +3308,7 @@
     return null and do the wrapping ourselves if <var title="">sibling criteria</var>
     didn't return true.
 
-    <p><a href=#wrap>Wrap</a> the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>,
+    <p><a href=#wrap>Wrap</a> the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>,
     with <var title="">sibling criteria</var> returning true for a <a href=#simple-modifiable-element>simple
     modifiable element</a> whose <a href=#specified-command-value>specified command value</a> is
     <a href=#equivalent-values title="equivalent values">equivalent</a> to <var title="">new value</var> and whose <a href=#effective-command-value>effective command
@@ -3317,7 +3317,7 @@
   </ol>
 
   <li>
-  <p class=comments><a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13996">Bug 13996</a>.
+  <p class=comments><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13996">Bug 13996</a>.
 
   <p>If <var title="">node</var> is <a href=#invisible>invisible</a>, abort this algorithm.
 
@@ -3328,8 +3328,8 @@
   <li>If <var title="">node</var> is not an <a href=#allowed-child>allowed child</a> of "span":
 
   <ol>
-    <li>Let <var title="">children</var> be all <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> of <var title="">node</var>,
-    omitting any that are <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>s whose <a href=#specified-command-value>specified command
+    <li>Let <var title="">children</var> be all <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> of <var title="">node</var>,
+    omitting any that are <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>s whose <a href=#specified-command-value>specified command
     value</a> for <var title="">command</var> is neither null nor <a href=#equivalent-values title="equivalent values">equivalent</a> to <var title="">new value</var>.
 
     <li>
@@ -3339,7 +3339,7 @@
     node if its only child consists solely of whitespace, but I don't see any
     grounds for that and no one else does, so I don't.
 
-    <p><a href=#force-the-value>Force the value</a> of each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> in <var title="">children</var>,
+    <p><a href=#force-the-value>Force the value</a> of each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> in <var title="">children</var>,
     with <var title="">command</var> and <var title="">new value</var> as in this invocation of
     the algorithm.
 
@@ -3356,12 +3356,12 @@
 
   <ol>
     <li>If <var title="">command</var> is "bold" and <var title="">new value</var> is
-    "bold", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("b")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+    "bold", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("b")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
     <li>If <var title="">command</var> is "italic" and <var title="">new value</var> is
-    "italic", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("i")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+    "italic", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("i")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
     <li>
     <p class=comments>TODO: Actual UAs use strike, not s, but s is shorter and
@@ -3369,12 +3369,12 @@
     change the spec to require strike.
 
     <p>If <var title="">command</var> is "strikethrough" and <var title="">new value</var> is
-    "line-through", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("s")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+    "line-through", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("s")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
     <li>If <var title="">command</var> is "underline" and <var title="">new value</var> is
-    "underline", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("u")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+    "underline", let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("u")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
     <li>
     <p class=comments>See comment for foreColor for discussion.  TODO: Define
@@ -3385,8 +3385,8 @@
     opaque with red, green, and blue components in the range 0 to 255:
 
     <ol>
-      <li>Let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("font")</a></code> on the
-      <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+      <li>Let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("font")</a></code> on the
+      <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
       <li>Set the <code class=external data-anolis-spec=html title=dom-font-color><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-font-color>color</a></code> attribute of <var title="">new parent</var> to the
       result of applying the <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#rules-for-serializing-simple-color-values>rules for serializing
@@ -3395,16 +3395,16 @@
     </ol>
 
     <li>If <var title="">command</var> is "fontName", let <var title="">new parent</var> be
-    the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("font")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>, then set the <code class=external data-anolis-spec=html title=dom-font-face><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-font-face>face</a></code> attribute
+    the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("font")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>, then set the <code class=external data-anolis-spec=html title=dom-font-face><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-font-face>face</a></code> attribute
     of <var title="">new parent</var> to <var title="">new value</var>.
   </ol>
 
   <li>If <var title="">command</var> is "createLink" or "unlink":
 
   <ol>
-    <li>Let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("a")</a></code> on the
-    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+    <li>Let <var title="">new parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("a")</a></code> on the
+    <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
     <li>Set the <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute of <var title="">new parent</var> to <var title="">new
     value</var>.
@@ -3414,7 +3414,7 @@
     serialized to text/html.  hrefs should already have been cleared in a
     previous step, but we might have &lt;a name&gt; or such lurking about.
 
-    <p>Let <var title="">ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <p>Let <var title="">ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>While <var title="">ancestor</var> is not null:
 
@@ -3429,7 +3429,7 @@
       <var title="">ancestor</var> to "span", and let <var title="">ancestor</var> be the
       result.
 
-      <li>Set <var title="">ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+      <li>Set <var title="">ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
     </ol>
   </ol>
 
@@ -3442,8 +3442,8 @@
   "x-small", "small", "medium", "large", "x-large", "xx-large", or
   "xxx-large"; and either the <a href=#css-styling-flag>CSS styling flag</a> is false, or
   <var title="">new value</var> is "xxx-large": let <var title="">new parent</var> be the result
-  of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("font")</a></code> on the
-  <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>, then set the <code class=external data-anolis-spec=html title=dom-font-size><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-font-size>size</a></code> attribute of
+  of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("font")</a></code> on the
+  <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>, then set the <code class=external data-anolis-spec=html title=dom-font-size><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-font-size>size</a></code> attribute of
   <var title="">new parent</var> to the number from the following table based on
   <var title="">new value</var>:
 
@@ -3467,20 +3467,20 @@
 
   <p>If <var title="">command</var> is "subscript" or "superscript" and <var title="">new
   value</var> is "subscript", let <var title="">new parent</var> be the result of
-  calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("sub")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+  calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("sub")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
   <li>If <var title="">command</var> is "subscript" or "superscript" and <var title="">new
   value</var> is "superscript", let <var title="">new parent</var> be the result of
-  calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("sup")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
+  calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("sup")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">node</var>.
 
   <li>If <var title="">new parent</var> is null, let <var title="">new parent</var> be the result
-  of calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("span")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of
+  of calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("span")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of
   <var title="">node</var>.
 
   <li>
   <p class=comments>This preserves boundary points correctly, as usual.
 
-  <p>Insert <var title="">new parent</var> in <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> before
+  <p>Insert <var title="">new parent</var> in <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> before
   <var title="">node</var>.
 
   <li>If the <a href=#effective-command-value>effective command value</a> of <var title="">command</var> for
@@ -3502,30 +3502,30 @@
   <var title="">new parent</var> is not "underline", set the "text-decoration" property
   of <var title="">new parent</var> to "underline".
 
-  <li>Append <var title="">node</var> to <var title="">new parent</var> as its last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>,
+  <li>Append <var title="">node</var> to <var title="">new parent</var> as its last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>,
   <a href=#preserving-ranges>preserving ranges</a>.
 
-  <li>If <var title="">node</var> is an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> and the <a href=#effective-command-value>effective command
+  <li>If <var title="">node</var> is an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> and the <a href=#effective-command-value>effective command
   value</a> of <var title="">command</var> for <var title="">node</var> is not
   <a href=#loosely-equivalent-values title="loosely equivalent values">loosely equivalent</a> to <var title="">new value</var>:
 
   <ol>
-    <li>Insert <var title="">node</var> into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">new parent</var>
+    <li>Insert <var title="">node</var> into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">new parent</var>
     before <var title="">new parent</var>, <a href=#preserving-ranges>preserving ranges</a>.
 
-    <li>Remove <var title="">new parent</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Let <var title="">children</var> be all <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> of <var title="">node</var>,
-    omitting any that are <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>s whose <a href=#specified-command-value>specified command
+    <li>Remove <var title="">new parent</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Let <var title="">children</var> be all <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> of <var title="">node</var>,
+    omitting any that are <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>s whose <a href=#specified-command-value>specified command
     value</a> for <var title="">command</var> is neither null nor <a href=#equivalent-values title="equivalent values">equivalent</a> to <var title="">new value</var>.
 
-    <li><a href=#force-the-value>Force the value</a> of each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> in <var title="">children</var>,
+    <li><a href=#force-the-value>Force the value</a> of each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> in <var title="">children</var>,
     with <var title="">command</var> and <var title="">new value</var> as in this invocation of
     the algorithm.
   </ol>
 </ol>
 
-<p>To <dfn id=reorder-modifiable-descendants>reorder modifiable descendants</dfn> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var>,
+<p>To <dfn id=reorder-modifiable-descendants>reorder modifiable descendants</dfn> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var>,
 given a <a href=#command>command</a> <var title="">command</var> and a value <var title="">new
 value</var>:
 
@@ -3533,11 +3533,11 @@
   <li>Let <var title="">candidate</var> equal <var title="">node</var>.
 
   <li>While <var title="">candidate</var> is a <a href=#modifiable-element>modifiable element</a>, and
-  <var title="">candidate</var> has exactly one <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is also a
+  <var title="">candidate</var> has exactly one <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is also a
   <a href=#modifiable-element>modifiable element</a>, and <var title="">candidate</var> is not a
   <a href=#simple-modifiable-element>simple modifiable element</a> or <var title="">candidate</var>'s
   <a href=#specified-command-value>specified command value</a> for <var title="">command</var> is not <a href=#equivalent-values title="equivalent values">equivalent</a> to <var title="">new value</var>, set
-  <var title="">candidate</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>.
+  <var title="">candidate</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>.
 
   <li>If <var title="">candidate</var> is <var title="">node</var>, or is not a <a href=#simple-modifiable-element>simple
   modifiable element</a>, or its <a href=#specified-command-value>specified command value</a> is not
@@ -3546,8 +3546,8 @@
   equivalent values">loosely equivalent</a> to <var title="">new value</var>, abort
   these steps.
 
-  <li>While <var title="">candidate</var> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, insert the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>
-  of <var title="">candidate</var> into <var title="">candidate</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> immediately
+  <li>While <var title="">candidate</var> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, insert the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>
+  of <var title="">candidate</var> into <var title="">candidate</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> immediately
   before <var title="">candidate</var>, <a href=#preserving-ranges>preserving ranges</a>.
 
   <li>
@@ -3574,10 +3574,10 @@
   preserving-ranges rules.
   </div>
 
-  <p>Insert <var title="">candidate</var> into <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> immediately
+  <p>Insert <var title="">candidate</var> into <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> immediately
   after <var title="">node</var>.
 
-  <li>Append the <var title="">node</var> as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">candidate</var>,
+  <li>Append the <var title="">node</var> as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">candidate</var>,
   <a href=#preserving-ranges>preserving ranges</a>.
 </ol>
 
@@ -3694,20 +3694,20 @@
   <p class=comments>The last sentence here just prettifies the resulting range
   a bit.
 
-  <p>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> is an
-  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a> is neither zero
-  nor its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>, with argument equal to the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a>.  Then set the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> to the result, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a> to zero.
-
-  <li>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a> is an
-  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-offset title=concept-range-end-offset>end offset</a> is neither zero
-  nor its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>, with argument equal to the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-offset title=concept-range-end-offset>end offset</a>.
-
-  <li>Let <var title="">element list</var> be all <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>s
+  <p>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> is an
+  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a> is neither zero
+  nor its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dom.spec.whatwg.org/#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>, with argument equal to the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a>.  Then set the <a href=#active-range>active range</a>'s
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> to the result, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a> to zero.
+
+  <li>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a> is an
+  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-offset title=concept-range-end-offset>end offset</a> is neither zero
+  nor its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dom.spec.whatwg.org/#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>, with argument equal to the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-offset title=concept-range-end-offset>end offset</a>.
+
+  <li>Let <var title="">element list</var> be all <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>s
   <a href=#effectively-contained>effectively contained</a> in the <a href=#active-range>active range</a>.
 
   <li>For each <var title="">element</var> in <var title="">element list</var>, <a href=#clear-the-value>clear the
@@ -3758,7 +3758,7 @@
   nodes are bolded, it will unbold instead of bolding.
   </div>
 
-  <p>Let <var title="">node list</var> be all <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>
+  <p>Let <var title="">node list</var> be all <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>
   <a href=#effectively-contained>effectively contained</a> in the <a href=#active-range>active range</a>.
 
   <li>
@@ -3895,7 +3895,7 @@
 
 <p>IE10PP2, Firefox 7.0a2, Chrome 14 dev, and Opera 11.50 all do not support
 indeterminate, state, or value for createLink or unlink.  I previously defined
-indeterminate and value anyway because they make sense, but then <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14067">undefined them</a>.
+indeterminate and value anyway because they make sense, but then <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14067">undefined them</a>.
 The nontrivial thing is what value to return if there's no link, since any
 string can occur as a link href, in principle.
 
@@ -3941,7 +3941,7 @@
   </div>
 
   <p>For each <a href=#editable>editable</a> <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> element that has an <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code>
-  attribute and is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <a href=#effectively-contained>effectively
+  attribute and is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <a href=#effectively-contained>effectively
   contained</a> in the <a href=#active-range>active range</a>, set that <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> element's
   <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute to <var title="">value</var>.
 
@@ -4058,7 +4058,7 @@
 legacy font values and don't let them use CSS.  This is undesirable, but to
 avoid it we'd really have to create a new command.  If nothing else, the value
 returned by <code title="">queryCommandValue()</code> has to be numeric, so authors can't
-really use the command sanely no matter what we do.  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14251">bug 14251</a>.
+really use the command sanely no matter what we do.  See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14251">bug 14251</a>.
 
 <p>Note that 1 is the same size as x-small in browsers, not xx-small, contrary
 to the CSS Fonts spec.
@@ -4176,7 +4176,7 @@
   the first <a href=#formattable-node>formattable node</a> that is <a href=#effectively-contained>effectively
   contained</a> in the <a href=#active-range>active range</a>, or if there is no such
   node, the <a href=#effective-command-value>effective command value</a> of the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>, in either case interpreted as a number of
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>, in either case interpreted as a number of
   pixels.
 
   <li>Return the <a href=#legacy-font-size-for>legacy font size for</a> <var title="">pixel size</var>.
@@ -4356,7 +4356,7 @@
 
 <p>For color parsing, see the comment for foreColor.
 
-<p>See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13829">bug
+<p>See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13829">bug
 13829</a>.
 </div>
 
@@ -4406,7 +4406,7 @@
 <h3 id=the-removeformat-command><dfn>The <code title="">removeFormat</code> command</dfn></h3>
 
 <div class=comments>
-<p>See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13632">bug</a>, and
+<p>See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13632">bug</a>, and
 also <a href="https://bugs.webkit.org/show_bug.cgi?id=43017">research by Ryosuke
 for WebKit</a>.
 
@@ -4472,7 +4472,7 @@
 </div>
 
 <p>A <dfn id=removeformat-candidate>removeFormat candidate</dfn> is an <a href=#editable>editable</a> <a href=#html-element>HTML
-element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> "abbr", "acronym", "b", "bdi", "bdo", "big",
+element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> "abbr", "acronym", "b", "bdi", "bdo", "big",
 "blink", "cite", "code", "dfn", "em", "font", "i", "ins", "kbd", "mark",
 "nobr", "q", "s", "samp", "small", "span", "strike", "strong", "sub", "sup",
 "tt", "u", or "var".
@@ -4487,31 +4487,31 @@
   <li>For each <var title="">element</var> in <var title="">elements to remove</var>:
 
   <ol>
-    <li>While <var title="">element</var> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, insert the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>
-    of <var title="">element</var> into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">element</var> immediately
+    <li>While <var title="">element</var> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, insert the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>
+    of <var title="">element</var> into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">element</var> immediately
     before <var title="">element</var>, <a href=#preserving-ranges>preserving ranges</a>.
 
-    <li>Remove <var title="">element</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>Remove <var title="">element</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
   </ol>
 
   <li>
   <p class=comments>The last sentence just prettifies the resulting range a
   bit.
 
-  <p>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> is an
-  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a> is neither zero
-  nor its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>, with argument equal to the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a>.  Then set the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a> to the result, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-offset title=concept-range-start-offset>start offset</a> to zero.
-
-  <li>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a> is an
-  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-offset title=concept-range-end-offset>end offset</a> is neither zero
-  nor its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>, with argument equal to the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-offset title=concept-range-end-offset>end offset</a>.
-
-  <li>Let <var title="">node list</var> consist of all <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>
+  <p>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> is an
+  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a> is neither zero
+  nor its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dom.spec.whatwg.org/#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>, with argument equal to the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a>.  Then set the <a href=#active-range>active range</a>'s
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a> to the result, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-offset title=concept-range-start-offset>start offset</a> to zero.
+
+  <li>If the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a> is an
+  <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-offset title=concept-range-end-offset>end offset</a> is neither zero
+  nor its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, call <code class=external data-anolis-spec=dom title=dom-Text-splitText><a href=http://dom.spec.whatwg.org/#dom-text-splittext>splitText()</a></code> on the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>, with argument equal to the <a href=#active-range>active
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-offset title=concept-range-end-offset>end offset</a>.
+
+  <li>Let <var title="">node list</var> consist of all <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>
   <a href=#effectively-contained>effectively contained</a> in the <a href=#active-range>active range</a>.
 
   <li>
@@ -4520,9 +4520,9 @@
   okay, but it makes me a little uneasy.
 
   <p>For each <var title="">node</var> in <var title="">node list</var>, while <var title="">node</var>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is a <a href=#removeformat-candidate>removeFormat candidate</a> <a href=#in-the-same-editing-host>in the same editing
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is a <a href=#removeformat-candidate>removeFormat candidate</a> <a href=#in-the-same-editing-host>in the same editing
   host</a> as <var title="">node</var>, <a href=#split-the-parent>split the parent</a> of the
-  one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>.
+  one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>.
 
   <li>
   <p class=comments>This step is for cases like &lt;p
@@ -4648,7 +4648,7 @@
   <li>Underline thickness depends on font-size in all rendering engines but
   WebKit, so pushing them down creates thickness problems as well as color
   problems.  Working around this is a similar story to the previous, except we
-  have no text-decoration-width property yet (see <a href=http://lists.w3.org/Archives/Public/www-style/2011Mar/0593.html>www-style
+  have no text-decoration-width property yet (see <a href=https://lists.w3.org/Archives/Public/www-style/2011Mar/0593.html>www-style
   post</a>).
 
   <li>The preceding two points can't be avoided, because the only way to remove
@@ -4671,7 +4671,7 @@
 
   <li>Currently we don't treat non-underline text-decorations properly, because
   we have no way to set (or cancel) underlines independently of other
-  text-decorations from within CSS.  I've sent <a href=http://lists.w3.org/Archives/Public/www-style/2011Mar/0591.html>feedback</a>
+  text-decorations from within CSS.  I've sent <a href=https://lists.w3.org/Archives/Public/www-style/2011Mar/0591.html>feedback</a>
   to www-style.
 </ul>
 </div>
@@ -4701,8 +4701,8 @@
 
 <ol>
   <li>Let <var title="">hyperlinks</var> be a list of every <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> element that has an
-  <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute and is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in the <a href=#active-range>active range</a> or
-  is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of one of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary points</a>.
+  <code class=external data-anolis-spec=html title=attr-hyperlink-href><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href>href</a></code> attribute and is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in the <a href=#active-range>active range</a> or
+  is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of one of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary points</a>.
 
   <li><a href=#clear-the-value>Clear the value</a> of each member of <var title="">hyperlinks</var>.
 
@@ -4745,31 +4745,31 @@
 child.
 
 <p>A <dfn id=non-list-single-line-container>non-list single-line container</dfn> is an <a href=#html-element>HTML element</a>
-with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> "address", "div", "h1", "h2", "h3", "h4", "h5", "h6",
+with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> "address", "div", "h1", "h2", "h3", "h4", "h5", "h6",
 "listing", "p", "pre", or "xmp".
 
 <p>A <dfn id=single-line-container>single-line container</dfn> is either a <a href=#non-list-single-line-container>non-list single-line
-container</a>, or an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> "li",
+container</a>, or an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> "li",
 "dt", or "dd".
 
-<p>The <dfn id=block-node-of>block node of</dfn> a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> is either a
+<p>The <dfn id=block-node-of>block node of</dfn> a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> is either a
 <a href=#block-node>block node</a> or null, as returned by the following algorithm:
 
 <ol>
   <li>While <var title="">node</var> is an <a href=#inline-node>inline node</a>, set <var title="">node</var>
-  to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>Return <var title="">node</var>.
 </ol>
 
-<p class=comments><a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14062">Bug 14062</a>.  See
+<p class=comments><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14062">Bug 14062</a>.  See
 also <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=590640">Mozilla bug
 590640</a>, specifically comments 48 and on.
 
 <p>If a <a href=#command>command</a> <dfn id=preserves-overrides>preserves overrides</dfn>, then before taking
 its <a href=#action>action</a>, the user agent must <a href=#record-current-overrides>record current
 overrides</a>.  After taking the <a href=#action>action</a>, if the <a href=#active-range>active
-range</a> is <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-collapsed>collapsed</a></code>, it must <a href=#restore-states-and-values>restore states and
+range</a> is <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dom.spec.whatwg.org/#dom-range-collapsed>collapsed</a></code>, it must <a href=#restore-states-and-values>restore states and
 values</a> from the recorded list.
 
 <p class=note>All block commands preserve overrides except <a href=#the-inserttext-command>the
@@ -4797,14 +4797,14 @@
   convert them into <code class=external data-anolis-spec=html title="the p element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-p-element>p</a></code>s.
 
   <p>If <var title="">node</var> is not an <a href=#allowed-child>allowed child</a> of any of its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> <a href=#in-the-same-editing-host>in the same editing host</a>:
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> <a href=#in-the-same-editing-host>in the same editing host</a>:
 
   <ol>
     <li>If <var title="">node</var> is a <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code>, <a href=#wrap>wrap</a> the
-    one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>, with <var title="">sibling
-    criteria</var> returning true for any <code class=external data-anolis-spec=html title="the dl element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element>dl</a></code> with no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attribute title=concept-attribute>attributes</a> and
+    one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>, with <var title="">sibling
+    criteria</var> returning true for any <code class=external data-anolis-spec=html title="the dl element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element>dl</a></code> with no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-attribute title=concept-attribute>attributes</a> and
     false otherwise, and <var title="">new parent instructions</var> returning the
-    result of calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("dl")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>.  Then
+    result of calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("dl")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>.  Then
     abort these steps.
 
     <li>
@@ -4826,16 +4826,16 @@
 
     <p><a href=#fix-disallowed-ancestors>Fix disallowed ancestors</a> of <var title="">node</var>.
 
-    <li>Let <var title="">children</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>.
+    <li>Let <var title="">children</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>.
 
     <li>For each <var title="">child</var> in <var title="">children</var>, if <var title="">child</var>
     is a <a href=#prohibited-paragraph-child>prohibited paragraph child</a>:
 
     <ol>
-      <li><a href=#record-the-values>Record the values</a> of the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of
+      <li><a href=#record-the-values>Record the values</a> of the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of
       <var title="">child</var>, and let <var title="">values</var> be the result.
 
-      <li><a href=#split-the-parent>Split the parent</a> of the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of
+      <li><a href=#split-the-parent>Split the parent</a> of the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of
       <var title="">child</var>.
 
       <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
@@ -4844,11 +4844,11 @@
     <li>Abort these steps.
   </ol>
 
-  <li><a href=#record-the-values>Record the values</a> of the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of
+  <li><a href=#record-the-values>Record the values</a> of the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of
   <var title="">node</var>, and let <var title="">values</var> be the result.
 
   <li>While <var title="">node</var> is not an <a href=#allowed-child>allowed child</a> of its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>, <a href=#split-the-parent>split the parent</a> of the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>, <a href=#split-the-parent>split the parent</a> of the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting
   of <var title="">node</var>.
 
   <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
@@ -4885,28 +4885,27 @@
 <p>TODO: Investigate fixing this.
 </div>
 
-<p>To <dfn id=normalize-sublists>normalize sublists</dfn> in a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">item</var>:
+<p>To <dfn id=normalize-sublists>normalize sublists</dfn> in a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">item</var>:
 
 <ol>
   <li>If <var title="">item</var> is not an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or it is not <a href=#editable>editable</a> or
-  its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not <a href=#editable>editable</a>, abort these steps.
+  its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not <a href=#editable>editable</a>, abort these steps.
 
   <li>Let <var title="">new item</var> be null.
 
-  <li>While <var title="">item</var> has an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>:
-
-  <ol>
-    <li>Let <var title="">child</var> be the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">item</var>.
+  <li>While <var title="">item</var> has an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>:
+
+  <ol>
+    <li>Let <var title="">child</var> be the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">item</var>.
 
     <li>If <var title="">child</var> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or <var title="">new item</var> is
-    null and <var title="">child</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node whose <code class=external data-anolis-spec=domcore title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code>
-    consists of zero of more <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#space-character title="space
-    character">space characters</a>:
+    null and <var title="">child</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node whose <code class=external data-anolis-spec=domcore title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code>
+    consists of zero of more <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace title="ascii whitespace">space characters</a>:
 
     <ol>
       <li>Set <var title="">new item</var> to null.
 
-      <li>Insert <var title="">child</var> into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">item</var>
+      <li>Insert <var title="">child</var> into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">item</var>
       immediately following <var title="">item</var>, <a href=#preserving-ranges>preserving ranges</a>.
     </ol>
 
@@ -4914,13 +4913,13 @@
 
     <ol>
       <li>If <var title="">new item</var> is null, let <var title="">new item</var> be the
-      result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("li")</a></code> on the
-      <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">item</var>, then insert <var title="">new item</var>
-      into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">item</var> immediately after
+      result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("li")</a></code> on the
+      <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">item</var>, then insert <var title="">new item</var>
+      into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">item</var> immediately after
       <var title="">item</var>.
 
       <li>Insert <var title="">child</var> into <var title="">new item</var> as its first
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, <a href=#preserving-ranges>preserving ranges</a>.
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, <a href=#preserving-ranges>preserving ranges</a>.
     </ol>
   </ol>
 </ol>
@@ -4950,14 +4949,14 @@
   <li><a href=#block-extend>Block-extend</a> the <a href=#active-range>active range</a>, and let <var title="">new
   range</var> be the result.
 
-  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
-
-  <li>For each <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new range</var>, append
+  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
+
+  <li>For each <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new range</var>, append
   <var title="">node</var> to <var title="">node list</var> if the last member of <var title="">node
-  list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
+  list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
   <var title="">node</var> is <a href=#editable>editable</a>; <var title="">node</var> is not an
   <a href=#indentation-element>indentation element</a>; and <var title="">node</var> is either an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or
-  <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or an <a href=#allowed-child>allowed
+  <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or an <a href=#allowed-child>allowed
   child</a> of "li".
 
   <li>If <var title="">node list</var> is empty, return "none".
@@ -4978,8 +4977,8 @@
   </div>
 
   <p>If every member of <var title="">node list</var> is either an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>,
-  and none is a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, return "ol".
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>,
+  and none is a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, return "ol".
 
   <li>
   <p class=comments>This condition and the last are mutually exclusive, so the
@@ -4990,21 +4989,21 @@
   impossible unless the list is empty, in which case we already aborted.
 
   <p>If every member of <var title="">node list</var> is either a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>,
-  and none is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>, return "ul".
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>,
+  and none is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>, return "ul".
 
   <li>If some member of <var title="">node list</var> is either an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>, and some member of <var title="">node list</var> is either a
-  <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an
-  <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, return "mixed".
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>, and some member of <var title="">node list</var> is either a
+  <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an
+  <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, return "mixed".
 
   <li>If some member of <var title="">node list</var> is either an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>, return "mixed ol".
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>, return "mixed ol".
 
   <li>If some member of <var title="">node list</var> is either a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> or <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> or the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>
   of a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, return "mixed ul".
 
   <li>Return "none".
@@ -5027,7 +5026,7 @@
 work well given the design of the API.
 </div>
 
-<p>The <dfn id=alignment-value>alignment value</dfn> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> is returned by
+<p>The <dfn id=alignment-value>alignment value</dfn> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> is returned by
 the following algorithm:
 
 <p class=note>This is basically like the resolved value of text-align, but with
@@ -5038,9 +5037,9 @@
 ancestor (if any).
 
 <ol>
-  <li>While <var title="">node</var> is neither null nor an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, or it is an
-  <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> but its "display" property has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "inline" or "none",
-  set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <li>While <var title="">node</var> is neither null nor an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, or it is an
+  <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> but its "display" property has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "inline" or "none",
+  set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>
   <p class=comments>This means there's no applicable style rule, so probably it
@@ -5049,7 +5048,7 @@
   marginal corner case anyway.  (It will only happen if, e.g., everything up to
   and including the html and body elements have display: inline or none.)
 
-  <p>If <var title="">node</var> is not an <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, return "left".
+  <p>If <var title="">node</var> is not an <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>, return "left".
 
   <li>If <var title="">node</var>'s "text-align" property has <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> "start",
   return "left" if the <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-directionality title="the directionality">directionality</a> of <var title="">node</var> is "ltr", "right"
@@ -5077,12 +5076,12 @@
 other cases we might want to move forward or backward to try getting to a text
 node.
 
-<p>Given a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>), the
-<dfn id=next-equivalent-point>next equivalent point</dfn> is either a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> or null, as
+<p>Given a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>), the
+<dfn id=next-equivalent-point>next equivalent point</dfn> is either a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> or null, as
 returned by the following algorithm:
 
 <ol>
-  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> is zero, return null.
+  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> is zero, return null.
 
   <li class=note>We don't want to move into or out of zero-length nodes,
   because that would move us straight through them.  For instance, if
@@ -5090,19 +5089,19 @@
   would also be equivalent to <code title="">&lt;span&gt;&lt;/span&gt;{}</code>.  This produces very
   unexpected results for nodes like <code title="">&lt;br&gt;</code>.
 
-  <li>If <var title="">offset</var> is <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, and
-  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not null, and <var title="">node</var> is an
-  <a href=#inline-node>inline node</a>, return (<var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>, 1 +
-  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>).
+  <li>If <var title="">offset</var> is <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, and
+  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not null, and <var title="">node</var> is an
+  <a href=#inline-node>inline node</a>, return (<var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>, 1 +
+  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>).
 
   <li class=note>For instance, <code title="">&lt;span&gt;foo[]&lt;/span&gt;</code> is equivalent to
   <code title="">&lt;span&gt;foo{}&lt;/span&gt;</code>, which is equivalent to <code title="">&lt;span&gt;foo&lt;/span&gt;{}</code>.  However, <code title="">&lt;p&gt;foo{}&lt;/p&gt;</code> is <em>not</em> equivalent to
   <code title="">&lt;p&gt;foo&lt;/p&gt;{}</code> &ndash; the cursor might look like it's in a visibly
   different position.
 
-  <li>If <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var>,
-  and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> is not zero, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is an
-  <a href=#inline-node>inline node</a>, return (that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, 0).
+  <li>If <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var>,
+  and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> is not zero, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is an
+  <a href=#inline-node>inline node</a>, return (that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, 0).
 
   <li class=note>For instance, <code title="">{}&lt;span&gt;foo&lt;/span&gt;</code> is equivalent to
   <code title="">&lt;span&gt;{}foo&lt;/span&gt;</code>, which is equivalent to
@@ -5113,26 +5112,26 @@
   <li>Return null.
 </ol>
 
-<p>Given a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>), the
-<dfn id=previous-equivalent-point>previous equivalent point</dfn> is either a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> or null, as
+<p>Given a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>), the
+<dfn id=previous-equivalent-point>previous equivalent point</dfn> is either a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> or null, as
 returned by the following algorithm:
 
 <ol>
-  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> is zero, return null.
-
-  <li>If <var title="">offset</var> is 0, and <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not null,
+  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> is zero, return null.
+
+  <li>If <var title="">offset</var> is 0, and <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not null,
   and <var title="">node</var> is an <a href=#inline-node>inline node</a>, return (<var title="">node</var>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>, <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>).
-
-  <li>If <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var>
-  &minus; 1, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> is not zero, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is
-  an <a href=#inline-node>inline node</a>, return (that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>).
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>, <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>).
+
+  <li>If <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var>
+  &minus; 1, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> is not zero, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is
+  an <a href=#inline-node>inline node</a>, return (that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>'s
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>).
 
   <li>Return null.
 </ol>
 
-<p>The <dfn id=first-equivalent-point>first equivalent point</dfn> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>
+<p>The <dfn id=first-equivalent-point>first equivalent point</dfn> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>
 (<var title="">node</var>, <var title="">offset</var>) is returned by the following algorithm:
 
 <ol>
@@ -5143,7 +5142,7 @@
   <li>Return (<var title="">node</var>, <var title="">offset</var>).
 </ol>
 
-<p>The <dfn id=last-equivalent-point>last equivalent point</dfn> of a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a>
+<p>The <dfn id=last-equivalent-point>last equivalent point</dfn> of a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a>
 (<var title="">node</var>, <var title="">offset</var>) is returned by the following algorithm:
 
 <ol>
@@ -5182,22 +5181,22 @@
 
 <h3 id=block-extending-a-range>Block-extending a range</h3>
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>) is a <dfn id=block-start-point>block
-start point</dfn> if either <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null and
-<var title="">offset</var> is zero; or <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-<var title="">offset</var> &minus; 1, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is either a
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>) is a <dfn id=block-start-point>block
+start point</dfn> if either <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null and
+<var title="">offset</var> is zero; or <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+<var title="">offset</var> &minus; 1, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is either a
 <a href=#visible>visible</a> <a href=#block-node>block node</a> or a <a href=#visible>visible</a> <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>.
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>) is a <dfn id=block-end-point>block end
-point</dfn> if either <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null and
-<var title="">offset</var> is <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>; or <var title="">node</var> has a
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var>, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is a
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> (<var title="">node</var>, <var title="">offset</var>) is a <dfn id=block-end-point>block end
+point</dfn> if either <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null and
+<var title="">offset</var> is <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>; or <var title="">node</var> has a
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var>, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is a
 <a href=#visible>visible</a> <a href=#block-node>block node</a>.
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp title=concept-range-bp>boundary point</a> is a <dfn id=block-boundary-point>block boundary point</dfn> if it is either a
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp title=concept-range-bp>boundary point</a> is a <dfn id=block-boundary-point>block boundary point</dfn> if it is either a
 <a href=#block-start-point>block start point</a> or a <a href=#block-end-point>block end point</a>.
 
-<p>When a user agent is to <dfn id=block-extend>block-extend</dfn> a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a>
+<p>When a user agent is to <dfn id=block-extend>block-extend</dfn> a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a>
 <var title="">range</var>, it must run the following steps:
 
 <div class=note>
@@ -5219,19 +5218,19 @@
 
 <ol>
   <li>Let <var title="">start node</var>, <var title="">start offset</var>, <var title="">end node</var>,
-  and <var title="">end offset</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>
-  and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offsets</a> of <var title="">range</var>.
-
-  <li>If some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of <var title="">start node</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>, set
-  <var title="">start offset</var> to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of the last such <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> in
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>, and set <var title="">start node</var> to that <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  and <var title="">end offset</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>
+  and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offsets</a> of <var title="">range</var>.
+
+  <li>If some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of <var title="">start node</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>, set
+  <var title="">start offset</var> to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of the last such <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> in
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>, and set <var title="">start node</var> to that <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>If (<var title="">start node</var>, <var title="">start offset</var>) is not a <a href=#block-start-point>block
   start point</a>, repeat the following steps:
 
   <ol>
     <li>If <var title="">start offset</var> is zero, set it to <var title="">start node</var>'s
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Otherwise, subtract one from <var title="">start offset</var>.
 
@@ -5242,20 +5241,20 @@
   <li><p class=comments>This just changes something like <code title="">&lt;div&gt;{&lt;p&gt;foo]&lt;/p&gt;&lt;/div&gt;</code> to <code title="">{&lt;div&gt;&lt;p&gt;foo]&lt;/p&gt;&lt;/div&gt;</code>.
 
   <p>While <var title="">start offset</var> is zero and <var title="">start node</var>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not null, set <var title="">start offset</var> to <var title="">start
-  node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-  <li>If some <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of <var title="">end node</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>, set
-  <var title="">end offset</var> to one plus the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of the last such <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> in
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order title=concept-tree-order>tree order</a>, and set <var title="">end node</var> to that <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not null, set <var title="">start offset</var> to <var title="">start
+  node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+  <li>If some <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of <var title="">end node</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>, set
+  <var title="">end offset</var> to one plus the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of the last such <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> in
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-order title=concept-tree-order>tree order</a>, and set <var title="">end node</var> to that <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>If (<var title="">end node</var>, <var title="">end offset</var>) is not a <a href=#block-end-point>block end
   point</a>, repeat the following steps:
 
   <ol>
-    <li>If <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, set it to
-    one plus <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end node</var> to
-    its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>If <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, set it to
+    one plus <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end node</var> to
+    its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Otherwise, add one to <var title="">end offset</var>.
 
@@ -5263,19 +5262,19 @@
     boundary point</a>, break from this loop.
   </ol>
 
-  <li>While <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> and
-  <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not null, set <var title="">end offset</var> to
-  one plus <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end node</var> to its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-  <li>Let <var title="">new range</var> be a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offsets</a> are <var title="">start node</var>,
+  <li>While <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> and
+  <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not null, set <var title="">end offset</var> to
+  one plus <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end node</var> to its
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+  <li>Let <var title="">new range</var> be a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offsets</a> are <var title="">start node</var>,
   <var title="">start offset</var>, <var title="">end node</var>, and <var title="">end offset</var>.
 
   <li>Return <var title="">new range</var>.
 </ol>
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> <dfn id=follows-a-line-break>follows a line break</dfn> if the following
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> <dfn id=follows-a-line-break>follows a line break</dfn> if the following
 algorithm returns true:
 
 <ol>
@@ -5285,39 +5284,39 @@
   point</a>:
 
   <ol>
-    <li>If <var title="">node</var> has a <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
+    <li>If <var title="">node</var> has a <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
     <var title="">offset</var> minus one, return false.
 
-    <li>If <var title="">offset</var> is zero or <var title="">node</var> has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>,
-    set <var title="">offset</var> to <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set
-    <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
+    <li>If <var title="">offset</var> is zero or <var title="">node</var> has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>,
+    set <var title="">offset</var> to <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set
+    <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
     <var title="">offset</var> minus one, then set <var title="">offset</var> to
-    <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+    <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
   </ol>
 
   <li>Return true.
 </ol>
 
-<p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> <dfn id=precedes-a-line-break>precedes a line break</dfn> if the following
+<p>A <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> <dfn id=precedes-a-line-break>precedes a line break</dfn> if the following
 algorithm returns true:
 
 <ol>
-  <li>Let <var title="">offset</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+  <li>Let <var title="">offset</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 
   <li>While (<var title="">node</var>, <var title="">offset</var>) is not a <a href=#block-boundary-point>block boundary
   point</a>:
 
   <ol>
-    <li>If <var title="">node</var> has a <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
+    <li>If <var title="">node</var> has a <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
     <var title="">offset</var>, return false.
 
-    <li>If <var title="">offset</var> is <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> or <var title="">node</var>
-    has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, set <var title="">offset</var> to one plus <var title="">node</var>'s
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
+    <li>If <var title="">offset</var> is <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> or <var title="">node</var>
+    has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, set <var title="">offset</var> to one plus <var title="">node</var>'s
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
     <var title="">offset</var> and set <var title="">offset</var> to zero.
   </ol>
 
@@ -5448,7 +5447,7 @@
     with <var title="">value</var> equal to <var title="">override</var>.
 
     <li>
-    <p class=comments>This special case is needed because <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14067">createLink has no
+    <p class=comments>This special case is needed because <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14067">createLink has no
     value</a>.
 
     <p>Otherwise, if <var title="">override</var> is a string; and <var title="">command</var>
@@ -5557,18 +5556,18 @@
   nothing.
 
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>.
 
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>.
 
   <li>Let (<var title="">start node</var>, <var title="">start offset</var>) be the <a href=#last-equivalent-point>last
-  equivalent point</a> for the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>.
+  equivalent point</a> for the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>.
 
   <li>Let (<var title="">end node</var>, <var title="">end offset</var>) be the <a href=#first-equivalent-point>first
-  equivalent point</a> for the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>.
-
-  <li>If (<var title="">end node</var>, <var title="">end offset</var>) is not <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-after title=concept-range-bp-after>after</a>
+  equivalent point</a> for the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>.
+
+  <li>If (<var title="">end node</var>, <var title="">end offset</var>) is not <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-after title=concept-range-bp-after>after</a>
   (<var title="">start node</var>, <var title="">start offset</var>):
 
   <p class=note>This is a selection like
@@ -5578,30 +5577,30 @@
 
   <ol>
     <li>If <var title="">direction</var> is "forward", call <code title=dom-Selection-collapseToStart><a href=#dom-selection-collapsetostart>collapseToStart()</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
-
-    <li>Otherwise, call <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+
+    <li>Otherwise, call <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
     <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Abort these steps.
   </ol>
 
-  <li>If <var title="">start node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and <var title="">start offset</var>
-  is 0, set <var title="">start offset</var> to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of <var title="">start node</var>,
-  then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-  <li>If <var title="">end node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and <var title="">end offset</var> is
-  its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, set <var title="">end offset</var> to one plus the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of
-  <var title="">end node</var>, then set <var title="">end node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <li>If <var title="">start node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and <var title="">start offset</var>
+  is 0, set <var title="">start offset</var> to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of <var title="">start node</var>,
+  then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+  <li>If <var title="">end node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and <var title="">end offset</var> is
+  its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, set <var title="">end offset</var> to one plus the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of
+  <var title="">end node</var>, then set <var title="">end node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <p class=note>The previous two steps are so that we won't leave empty text
   nodes anywhere.
 
   <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">start node</var>, <var title="">start offset</var>)</a></code> on
-  the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+  the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
   <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">end node</var>, <var title="">end offset</var>)</a></code> on the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
   <li class=note>
   <p>When we delete a selection that spans multiple blocks, we merge the end
@@ -5614,11 +5613,11 @@
   anything.
 
   <li>Let <var title="">start block</var> be the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start-node title=concept-range-start-node>start node</a>.
-
-  <li>While <var title="">start block</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start-node title=concept-range-start-node>start node</a>.
+
+  <li>While <var title="">start block</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing
   host</a> and <var title="">start block</var> is an <a href=#inline-node>inline node</a>, set
-  <var title="">start block</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <var title="">start block</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>
   <div class=comments>
@@ -5651,11 +5650,11 @@
   <var title="">start block</var>, or <var title="">start block</var> is a <code class=external data-anolis-spec=html title="the td element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-td-element>td</a></code> or <code class=external data-anolis-spec=html title="the th element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-th-element>th</a></code>, set
   <var title="">start block</var> to null.
 
-  <li>Let <var title="">end block</var> be the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end-node title=concept-range-end-node>end node</a>.
-
-  <li>While <var title="">end block</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing
+  <li>Let <var title="">end block</var> be the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end-node title=concept-range-end-node>end node</a>.
+
+  <li>While <var title="">end block</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing
   host</a> and <var title="">end block</var> is an <a href=#inline-node>inline node</a>, set
-  <var title="">end block</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <var title="">end block</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>If <var title="">end block</var> is neither a <a href=#block-node>block node</a> nor an
   <a href=#editing-host>editing host</a>, or "span" is not an <a href=#allowed-child>allowed child</a> of
@@ -5692,19 +5691,19 @@
   deleteContents() in DOM Range, copy-pasted and then adjusted to fit.
 
   <p>If <var title="">start node</var> and <var title="">end node</var> are the same, and
-  <var title="">start node</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node:
-
-  <ol>
-    <li>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-deletedata>deleteData(<var title="">start offset</var>, <var title="">end offset</var>
+  <var title="">start node</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node:
+
+  <ol>
+    <li>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dom.spec.whatwg.org/#dom-characterdata-deletedata>deleteData(<var title="">start offset</var>, <var title="">end offset</var>
     &minus; <var title="">start offset</var>)</a></code> on <var title="">start node</var>.
 
     <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at (<var title="">start node</var>,
     <var title="">start offset</var>), with <var title="">fix collapsed space</var> false.
 
     <li>If <var title="">direction</var> is "forward", call <code title=dom-Selection-collapseToStart><a href=#dom-selection-collapsetostart>collapseToStart()</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
-
-    <li>Otherwise, call <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+
+    <li>Otherwise, call <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
     <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>
@@ -5717,12 +5716,12 @@
     <li>Abort these steps.
   </ol>
 
-  <li>If <var title="">start node</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, call
-  <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-deletedata>deleteData()</a></code> on it, with <var title="">start offset</var> as the first argument and
-  (<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> of <var title="">start node</var> &minus; <var title="">start offset</var>) as
+  <li>If <var title="">start node</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, call
+  <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dom.spec.whatwg.org/#dom-characterdata-deletedata>deleteData()</a></code> on it, with <var title="">start offset</var> as the first argument and
+  (<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> of <var title="">start node</var> &minus; <var title="">start offset</var>) as
   the second argument.
 
-  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
+  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
 
   <li>
   <p class=comments>IE9 doesn't seem to let you do any intercell deletions: the
@@ -5733,27 +5732,27 @@
   cell-selection mode when you try to select between cells, at least in some
   cases, instead of selecting letter-by-letter.
 
-  <p>For each <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in the <a href=#active-range>active range</a>,
+  <p>For each <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in the <a href=#active-range>active range</a>,
   append <var title="">node</var> to <var title="">node list</var> if the last member of
-  <var title="">node list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
+  <var title="">node list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
   <var title="">node</var> is <a href=#editable>editable</a>; and <var title="">node</var> is not a
   <code class=external data-anolis-spec=html title="the thead element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-thead-element>thead</a></code>, <code class=external data-anolis-spec=html title="the tbody element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tbody-element>tbody</a></code>, <code class=external data-anolis-spec=html title="the tfoot element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tfoot-element>tfoot</a></code>, <code class=external data-anolis-spec=html title="the tr element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tr-element>tr</a></code>, <code class=external data-anolis-spec=html title="the th element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-th-element>th</a></code>, or <code class=external data-anolis-spec=html title="the td element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-td-element>td</a></code>.
 
   <li>For each <var title="">node</var> in <var title="">node list</var>:
 
   <ol>
-    <li>Let <var title="">parent</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">node</var>.
+    <li>Let <var title="">parent</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">node</var>.
 
     <li>Remove <var title="">node</var> from <var title="">parent</var>.
 
     <li>
-    <p class=comments>Do this before stripping wrappers: see <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13831">bug 13831</a>.
+    <p class=comments>Do this before stripping wrappers: see <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13831">bug 13831</a>.
 
     <p>If the <a href=#block-node-of>block node of</a> <var title="">parent</var> has no
-    <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, and <var title="">parent</var> is
+    <a href=#visible>visible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, and <var title="">parent</var> is
     <a href=#editable>editable</a> or an <a href=#editing-host>editing host</a>, call
-    <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and append the result as
-    the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">parent</var>.
+    <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and append the result as
+    the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">parent</var>.
 
     <li>
     <p class=comments>Taking insertText to test the case where strip wrappers
@@ -5769,28 +5768,28 @@
     cases, because it makes the most sense.
 
     <p>If <var title="">strip wrappers</var> is true or <var title="">parent</var> is not an
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of <var title="">start node</var>, while <var title="">parent</var> is
-    an <a href=#editable>editable</a> <a href=#inline-node>inline node</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> 0,
-    let <var title="">grandparent</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">parent</var>, then
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> of <var title="">start node</var>, while <var title="">parent</var> is
+    an <a href=#editable>editable</a> <a href=#inline-node>inline node</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> 0,
+    let <var title="">grandparent</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">parent</var>, then
     remove <var title="">parent</var> from <var title="">grandparent</var>, then set
     <var title="">parent</var> to <var title="">grandparent</var>.
 
     <p class=note>Even if <var title="">strip wrappers</var> is false, we still want to
-    strip wrappers that aren't <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestors</a> of <var title="">start node</var>.
+    strip wrappers that aren't <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestors</a> of <var title="">start node</var>.
     The idea of not stripping wrappers is that we're going to insert new
     content right afterward, like text or an image, but that new content will
     be inserted at the start node.  Wrappers in other places still need to be
     removed, because they would otherwise remain empty.
   </ol>
 
-  <li>If <var title="">end node</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, call
-  <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-deletedata>deleteData(0, <var title="">end offset</var>)</a></code> on it.
+  <li>If <var title="">end node</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, call
+  <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dom.spec.whatwg.org/#dom-characterdata-deletedata>deleteData(0, <var title="">end offset</var>)</a></code> on it.
 
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>, with <var title="">fix collapsed space</var> false.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>, with <var title="">fix collapsed space</var> false.
 
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a>, with <var title="">fix collapsed space</var> false.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a>, with <var title="">fix collapsed space</var> false.
 
   <li class=note>
   <p>Now we need to merge blocks.  The simplest case is something like
@@ -5819,9 +5818,9 @@
 
   <ol>
     <li>If <var title="">direction</var> is "forward", call <code title=dom-Selection-collapseToStart><a href=#dom-selection-collapsetostart>collapseToStart()</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
-
-    <li>Otherwise, call <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+
+    <li>Otherwise, call <code title=dom-Selection-collapseToEnd><a href=#dom-selection-collapsetoend>collapseToEnd()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
     <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li><a href=#restore-states-and-values>Restore states and values</a> from <var title="">overrides</var>.
@@ -5836,107 +5835,107 @@
   the start block winds up empty after merging, we'll add a new br child at the
   end so it doesn't collapse.
 
-  <p>If <var title="">start block</var> has one <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, which is a <a href=#collapsed-block-prop>collapsed
-  block prop</a>, remove its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> from it.
+  <p>If <var title="">start block</var> has one <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, which is a <a href=#collapsed-block-prop>collapsed
+  block prop</a>, remove its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> from it.
 
   <li>
   <p class=comments>Just repeatedly blow up the end block in this case.
 
-  <p>If <var title="">start block</var> is an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">end block</var>:
+  <p>If <var title="">start block</var> is an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">end block</var>:
 
   <ol>
     <li>Let <var title="">reference node</var> be <var title="">end block</var>.
 
-    <li>While <var title="">reference node</var> is not a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start
-    block</var>, set <var title="">reference node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>, with
-    first argument <var title="">start block</var> and second argument the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of
+    <li>While <var title="">reference node</var> is not a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start
+    block</var>, set <var title="">reference node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>, with
+    first argument <var title="">start block</var> and second argument the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of
     <var title="">reference node</var>.
 
-    <li>If <var title="">end block</var> has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>:
+    <li>If <var title="">end block</var> has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>:
 
     <ol>
       <li>While <var title="">end block</var> is <a href=#editable>editable</a> and is the only
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> and is not a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> and is not a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start
       block</var>, let <var title="">parent</var> equal <var title="">end block</var>, then
       remove <var title="">end block</var> from <var title="">parent</var>, then set <var title="">end
       block</var> to <var title="">parent</var>.
 
       <li>If <var title="">end block</var> is <a href=#editable>editable</a> and is not an
-      <a href=#inline-node>inline node</a>, and its <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> and <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>
+      <a href=#inline-node>inline node</a>, and its <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> and <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>
       are both <a href=#inline-node title="inline node">inline nodes</a>, call
-      <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and insert it into
-      <var title="">end block</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> immediately after <var title="">end block</var>.
+      <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and insert it into
+      <var title="">end block</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> immediately after <var title="">end block</var>.
 
       <li>If <var title="">end block</var> is <a href=#editable>editable</a>, remove it from its
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
       <li><a href=#restore-states-and-values>Restore states and values</a> from <var title="">overrides</var>.
 
       <li>Abort these steps.
     </ol>
 
-    <li>If <var title="">end block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-firstchild>firstChild</a></code> is not an <a href=#inline-node>inline
+    <li>If <var title="">end block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dom.spec.whatwg.org/#dom-node-firstchild>firstChild</a></code> is not an <a href=#inline-node>inline
     node</a>, <a href=#restore-states-and-values>restore states and values</a> from <var title="">record</var>,
     then abort these steps.
 
-    <li>Let <var title="">children</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
-
-    <li>Append the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">end block</var> to
+    <li>Let <var title="">children</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
+
+    <li>Append the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">end block</var> to
     <var title="">children</var>.
 
     <li>While <var title="">children</var>'s last member is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and
-    <var title="">children</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is an <a href=#inline-node>inline
-    node</a>, append <var title="">children</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> to
+    <var title="">children</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is an <a href=#inline-node>inline
+    node</a>, append <var title="">children</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> to
     <var title="">children</var>.
 
     <li><a href=#record-the-values>Record the values</a> of <var title="">children</var>, and let
     <var title="">values</var> be the result.
 
-    <li>While <var title="">children</var>'s first member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not <var title="">start
+    <li>While <var title="">children</var>'s first member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not <var title="">start
     block</var>, <a href=#split-the-parent>split the parent</a> of <var title="">children</var>.
 
-    <li>If <var title="">children</var>'s first member's <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> is an
-    <a href=#editable>editable</a> <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove that <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>If <var title="">children</var>'s first member's <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> is an
+    <a href=#editable>editable</a> <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove that <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
   </ol>
 
   <li>
   <p class=comments>In this case, pull in everything that comes after
   <var title="">start block</var>, until we hit a br or block node.
 
-  <p>Otherwise, if <var title="">start block</var> is a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">end
+  <p>Otherwise, if <var title="">start block</var> is a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of <var title="">end
   block</var>:
 
   <ol>
-    <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>, with
+    <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>, with
     first argument <var title="">start block</var> and second argument <var title="">start
-    block</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+    block</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 
     <li>Let <var title="">reference node</var> be <var title="">start block</var>.
 
-    <li>While <var title="">reference node</var> is not a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">end
-    block</var>, set <var title="">reference node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>If <var title="">reference node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is an <a href=#inline-node>inline
-    node</a> and <var title="">start block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove
-    <var title="">start block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> from it.
-
-    <li>Let <var title="">nodes to move</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
-
-    <li>If <var title="">reference node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is neither null nor a
+    <li>While <var title="">reference node</var> is not a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">end
+    block</var>, set <var title="">reference node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>If <var title="">reference node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is an <a href=#inline-node>inline
+    node</a> and <var title="">start block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove
+    <var title="">start block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> from it.
+
+    <li>Let <var title="">nodes to move</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
+
+    <li>If <var title="">reference node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is neither null nor a
     <a href=#block-node>block node</a>, append it to <var title="">nodes to move</var>.
 
     <li>While <var title="">nodes to move</var> is nonempty and its last member isn't a
-    <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> and its last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is neither null nor a
-    <a href=#block-node>block node</a>, append its last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> to
+    <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> and its last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is neither null nor a
+    <a href=#block-node>block node</a>, append its last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> to
     <var title="">nodes to move</var>.
 
     <li><a href=#record-the-values>Record the values</a> of <var title="">nodes to move</var>, and let
     <var title="">values</var> be the result.
 
     <li>For each <var title="">node</var> in <var title="">nodes to move</var>, append
-    <var title="">node</var> as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start block</var>,
+    <var title="">node</var> as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start block</var>,
     <a href=#preserving-ranges>preserving ranges</a>.
   </ol>
 
@@ -5948,55 +5947,55 @@
   <p>Otherwise:
 
   <ol>
-    <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>, with
+    <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>, with
     first argument <var title="">start block</var> and second argument <var title="">start
-    block</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
-
-    <li>If <var title="">end block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-firstchild>firstChild</a></code> is an <a href=#inline-node>inline node</a>
-    and <var title="">start block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove <var title="">start
-    block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> from it.
-
-    <li><a href=#record-the-values>Record the values</a> of <var title="">end block</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>,
+    block</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
+
+    <li>If <var title="">end block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dom.spec.whatwg.org/#dom-node-firstchild>firstChild</a></code> is an <a href=#inline-node>inline node</a>
+    and <var title="">start block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove <var title="">start
+    block</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> from it.
+
+    <li><a href=#record-the-values>Record the values</a> of <var title="">end block</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>,
     and let <var title="">values</var> be the result.
 
-    <li>While <var title="">end block</var> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, append the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>
+    <li>While <var title="">end block</var> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, append the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>
     of <var title="">end block</var> to <var title="">start block</var>, <a href=#preserving-ranges>preserving
     ranges</a>.
 
-    <li>While <var title="">end block</var> has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, let <var title="">parent</var> be
-    the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">end block</var>, then remove <var title="">end block</var> from
+    <li>While <var title="">end block</var> has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, let <var title="">parent</var> be
+    the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">end block</var>, then remove <var title="">end block</var> from
     <var title="">parent</var>, then set <var title="">end block</var> to <var title="">parent</var>.
   </ol>
 
   <li class=note><p>We might have deleted the contents between two lists, in
-  which case we should merge them.  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13976">bug 13976</a>.
+  which case we should merge them.  See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13976">bug 13976</a>.
 
   <li>Let <var title="">ancestor</var> be <var title="">start block</var>.
 
-  <li>While <var title="">ancestor</var> has an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> <a href=#in-the-same-editing-host>in
-  the same editing host</a> whose <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is also an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> <a href=#in-the-same-editing-host>in
-  the same editing host</a>, or an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> <a href=#in-the-same-editing-host>in the
-  same editing host</a> whose <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is also a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> <a href=#in-the-same-editing-host>in the
+  <li>While <var title="">ancestor</var> has an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> <a href=#in-the-same-editing-host>in
+  the same editing host</a> whose <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is also an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> <a href=#in-the-same-editing-host>in
+  the same editing host</a>, or an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> <a href=#in-the-same-editing-host>in the
+  same editing host</a> whose <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is also a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> <a href=#in-the-same-editing-host>in the
   same editing host</a>:
 
   <ol>
-    <li>While <var title="">ancestor</var> and its <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> are not both <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>s
+    <li>While <var title="">ancestor</var> and its <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> are not both <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>s
     <a href=#in-the-same-editing-host>in the same editing host</a>, and are also not both <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>s
     <a href=#in-the-same-editing-host>in the same editing host</a>, set <var title="">ancestor</var> to its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>While <var title="">ancestor</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> has <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, append
-    <var title="">ancestor</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>'s <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-firstchild>firstChild</a></code> as the last
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">ancestor</var>, <a href=#preserving-ranges>preserving ranges</a>.
-
-    <li>Remove <var title="">ancestor</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>While <var title="">ancestor</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> has <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, append
+    <var title="">ancestor</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>'s <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dom.spec.whatwg.org/#dom-node-firstchild>firstChild</a></code> as the last
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">ancestor</var>, <a href=#preserving-ranges>preserving ranges</a>.
+
+    <li>Remove <var title="">ancestor</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
   </ol>
 
   <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
 
-  <li>If <var title="">start block</var> has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, call
-  <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and append the result as the
-  last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start block</var>.
+  <li>If <var title="">start block</var> has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, call
+  <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and append the result as the
+  last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start block</var>.
 
   <li><a href=#remove-extraneous-line-breaks-at-the-end-of>Remove extraneous line breaks at the end of</a> <var title="">start
   block</var>.
@@ -6008,7 +6007,7 @@
 <h3 id="splitting-a-node-list's-parent">Splitting a node list's parent</h3>
 
 <p>To <dfn id=split-the-parent>split the parent</dfn> of a list <var title="">node list</var> of consecutive
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-sibling title=concept-tree-sibling>sibling</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>:
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-sibling title=concept-tree-sibling>sibling</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>:
 
 <div class=note>
 <p>This algorithm breaks up the parent of <var title="">node list</var>.  If they're the
@@ -6033,22 +6032,22 @@
 </div>
 
 <ol>
-  <li>Let <var title="">original parent</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of the first member of
+  <li>Let <var title="">original parent</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of the first member of
   <var title="">node list</var>.
 
   <li>If <var title="">original parent</var> is not <a href=#editable>editable</a> or its
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null, do nothing and abort these steps.
-
-  <li>If the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is in <var title="">node
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is null, do nothing and abort these steps.
+
+  <li>If the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is in <var title="">node
   list</var>, <a href=#remove-extraneous-line-breaks-before>remove extraneous line breaks before</a> <var title="">original
   parent</var>.
 
-  <li>If the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is in <var title="">node
+  <li>If the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is in <var title="">node
   list</var>, and <var title="">original parent</var> <a href=#follows-a-line-break>follows a line break</a>,
   set <var title="">follows line break</var> to true.  Otherwise, set <var title="">follows line
   break</var> to false.
 
-  <li>If the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is in <var title="">node
+  <li>If the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is in <var title="">node
   list</var>, and <var title="">original parent</var> <a href=#precedes-a-line-break>precedes a line
   break</a>, set <var title="">precedes line break</var> to true.  Otherwise, set
   <var title="">precedes line break</var> to false.
@@ -6067,18 +6066,18 @@
   before.  This may or may not be important enough to bother working around.
   </div>
 
-  <p>If the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is not in <var title="">node
-  list</var>, but its last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is:
+  <p>If the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is not in <var title="">node
+  list</var>, but its last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is:
 
   <ol>
     <li>For each <var title="">node</var> in <var title="">node list</var>, <em>in reverse
-    order</em>, insert <var title="">node</var> into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">original
+    order</em>, insert <var title="">node</var> into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">original
     parent</var> immediately after <var title="">original parent</var>, <a href=#preserving-ranges>preserving
     ranges</a>.
 
     <li>If <var title="">precedes line break</var> is true, and the last member of
     <var title="">node list</var> does not <a href=#precedes-a-line-break title="precedes a line break">precede a
-    line break</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and
+    line break</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and
     insert the result immediately after the last member of <var title="">node
     list</var>.
 
@@ -6088,21 +6087,21 @@
     <li>Abort these steps.
   </ol>
 
-  <li>If the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is not in <var title="">node
+  <li>If the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is not in <var title="">node
   list</var>:
 
   <ol>
-    <li>Let <var title="">cloned parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Node-cloneNode><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-clonenode>cloneNode(false)</a></code>
+    <li>Let <var title="">cloned parent</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Node-cloneNode><a href=http://dom.spec.whatwg.org/#dom-node-clonenode>cloneNode(false)</a></code>
     on <var title="">original parent</var>.
 
     <li>If <var title="">original parent</var> has an <code class=external data-anolis-spec=html title="the id attribute"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-id-attribute>id</a></code> attribute, unset it.
 
-    <li>Insert <var title="">cloned parent</var> into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">original
+    <li>Insert <var title="">cloned parent</var> into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">original
     parent</var> immediately before <var title="">original parent</var>.
 
-    <li>While the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> of the first member of <var title="">node
-    list</var> is not null, append the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original
-    parent</var> as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">cloned parent</var>,
+    <li>While the <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> of the first member of <var title="">node
+    list</var> is not null, append the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original
+    parent</var> as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">cloned parent</var>,
     <a href=#preserving-ranges>preserving ranges</a>.
   </ol>
 
@@ -6115,29 +6114,29 @@
   necessary for the sake of boundary points in the element or its descendants.
 
   <p>For each <var title="">node</var> in <var title="">node list</var>, insert <var title="">node</var>
-  into the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">original parent</var> immediately before
+  into the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of <var title="">original parent</var> immediately before
   <var title="">original parent</var>, <a href=#preserving-ranges>preserving ranges</a>.
 
   <li>If <var title="">follows line break</var> is true, and the first member of
   <var title="">node list</var> does not <a href=#follows-a-line-break title="follows a line break">follow a
-  line break</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and
+  line break</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and
   insert the result immediately before the first member of <var title="">node
   list</var>.
 
   <li>If the last member of <var title="">node list</var> is an <a href=#inline-node>inline node</a>
-  other than a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is
+  other than a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> is
   a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and <var title="">original parent</var> is not an <a href=#inline-node>inline node</a>,
-  remove the first <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> from <var title="">original
+  remove the first <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">original parent</var> from <var title="">original
   parent</var>.
 
-  <li>If <var title="">original parent</var> has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>:
-
-  <ol>
-    <li>Remove <var title="">original parent</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <li>If <var title="">original parent</var> has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>:
+
+  <ol>
+    <li>Remove <var title="">original parent</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>If <var title="">precedes line break</var> is true, and the last member of
     <var title="">node list</var> does not <a href=#precedes-a-line-break title="precedes a line break">precede a
-    line break</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and
+    line break</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and
     insert the result immediately after the last member of <var title="">node
     list</var>.
   </ol>
@@ -6149,15 +6148,15 @@
   <p class=comments>The parent might be null if it's a br that we removed in
   the last step, in which case this step isn't necessary.
 
-  <p>If <var title="">node list</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is null,
-  but its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not null, <a href=#remove-extraneous-line-breaks-at-the-end-of>remove extraneous line breaks at the
-  end of</a> <var title="">node list</var>'s last member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  <p>If <var title="">node list</var>'s last member's <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is null,
+  but its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not null, <a href=#remove-extraneous-line-breaks-at-the-end-of>remove extraneous line breaks at the
+  end of</a> <var title="">node list</var>'s last member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 </ol>
 
-<p>To remove a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> while <dfn id=preserving-its-descendants>preserving its
+<p>To remove a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> while <dfn id=preserving-its-descendants>preserving its
 descendants</dfn>, <a href=#split-the-parent>split the parent</a> of <var title="">node</var>'s
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> if it has any.  If it has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, instead remove it from
-its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> if it has any.  If it has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, instead remove it from
+its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
 
 <h3 id=canonical-space-sequences>Canonical space sequences</h3>
@@ -6271,10 +6270,10 @@
   <p>Repeat the following steps:
 
   <ol>
-    <li>If <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> <a href=#in-the-same-editing-host>in the same editing
-    host</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var> minus one, set
-    <var title="">start node</var> to that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">start offset</var>
-    to <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+    <li>If <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> <a href=#in-the-same-editing-host>in the same editing
+    host</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var> minus one, set
+    <var title="">start node</var> to that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">start offset</var>
+    to <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 
     <li>
     <p class=comments>TODO: Following a line break is unlikely to be the right
@@ -6282,14 +6281,14 @@
 
     <p>Otherwise, if <var title="">start offset</var> is zero and <var title="">start node</var>
     does not <a href=#follows-a-line-break title="follows a line break">follow a line break</a> and
-    <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing
+    <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing
     host</a>, set <var title="">start offset</var> to <var title="">start node</var>'s
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, if <var title="">start node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>'s <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for "white-space" is neither "pre" nor "pre-wrap"
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, if <var title="">start node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and its
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>'s <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for "white-space" is neither "pre" nor "pre-wrap"
     and <var title="">start offset</var> is not zero and the (<var title="">start offset</var>
-    &minus; 1)st <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">start node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is a space
+    &minus; 1)st <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">start node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is a space
     (0x0020) or non-breaking space (0x00A0), subtract one from <var title="">start
     offset</var>.
 
@@ -6306,7 +6305,7 @@
   <li>Let <var title="">length</var> equal zero.
 
   <li>
-  <p class=comments>This tries to delete spaces at the beginning of a line (<a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14119">bug 14119</a>).
+  <p class=comments>This tries to delete spaces at the beginning of a line (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14119">bug 14119</a>).
 
   <p>Let <var title="">collapse spaces</var> be true if <var title="">start offset</var> is zero
   and <var title="">start node</var> <a href=#follows-a-line-break>follows a line break</a>, otherwise false.
@@ -6314,36 +6313,36 @@
   <li>Repeat the following steps:
 
   <ol>
-    <li>If <var title="">end node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> <a href=#in-the-same-editing-host>in the same editing
-    host</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">end offset</var>, set <var title="">end node</var>
-    to that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">end offset</var> to zero.
+    <li>If <var title="">end node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> <a href=#in-the-same-editing-host>in the same editing
+    host</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">end offset</var>, set <var title="">end node</var>
+    to that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">end offset</var> to zero.
 
     <li>
     <p class=comments>TODO: Preceding a line break is unlikely to be the right
     criterion.
 
-    <p>Otherwise, if <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>
+    <p>Otherwise, if <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>
     and <var title="">end node</var> does not <a href=#precedes-a-line-break title="precedes a line
-    break">precede a line break</a> and <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is
+    break">precede a line break</a> and <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is
     <a href=#in-the-same-editing-host>in the same editing host</a>, set <var title="">end offset</var> to one
-    plus <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end node</var> to its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, if <var title="">end node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>'s <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for "white-space" is neither "pre" nor "pre-wrap"
-    and <var title="">end offset</var> is not <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> and the
-    <var title="">end offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is a
+    plus <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end node</var> to its
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, if <var title="">end node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and its
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>'s <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for "white-space" is neither "pre" nor "pre-wrap"
+    and <var title="">end offset</var> is not <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> and the
+    <var title="">end offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is a
     space (0x0020) or non-breaking space (0x00A0):
 
     <ol>
       <li>If <var title="">fix collapsed space</var> is true, and <var title="">collapse
       spaces</var> is true, and the <var title="">end offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of
-      <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is a space (0x0020): call
-      <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-deletedata>deleteData(<var title="">end offset</var>, 1)</a></code> on <var title="">end node</var>, then
+      <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is a space (0x0020): call
+      <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dom.spec.whatwg.org/#dom-characterdata-deletedata>deleteData(<var title="">end offset</var>, 1)</a></code> on <var title="">end node</var>, then
       continue this loop from the beginning.
 
       <li>Set <var title="">collapse spaces</var> to true if the <var title="">end offset</var>th
-      <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is a space (0x0020),
+      <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is a space (0x0020),
       false otherwise.
 
       <li>Add one to <var title="">end offset</var>.
@@ -6357,28 +6356,28 @@
   <li>
   <p class=comments>We've already stripped leading whitespace, and collapsed
   consecutive spaces.  Now we try to strip any collapsed trailing whitespace
-  (<a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14119">bug 14119</a>
+  (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14119">bug 14119</a>
   again).
 
   <p>If <var title="">fix collapsed space</var> is true, then while (<var title="">start
-  node</var>, <var title="">start offset</var>) is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-before title=concept-range-bp-before>before</a> (<var title="">end node</var>,
+  node</var>, <var title="">start offset</var>) is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-before title=concept-range-bp-before>before</a> (<var title="">end node</var>,
   <var title="">end offset</var>):
 
   <ol>
-    <li>If <var title="">end node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> <a href=#in-the-same-editing-host>in the same editing
-    host</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">end offset</var> &minus; 1, set <var title="">end
-    node</var> to that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">end offset</var> to <var title="">end
-    node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
+    <li>If <var title="">end node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> <a href=#in-the-same-editing-host>in the same editing
+    host</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">end offset</var> &minus; 1, set <var title="">end
+    node</var> to that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">end offset</var> to <var title="">end
+    node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
 
     <li>Otherwise, if <var title="">end offset</var> is zero and <var title="">end node</var>'s
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing host</a>, set <var title="">end
-    offset</var> to <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end
-    node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, if <var title="">end node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>'s <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for "white-space" is neither "pre" nor "pre-wrap"
-    and <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> and the last
-    <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> is a space (0x0020) and
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#in-the-same-editing-host>in the same editing host</a>, set <var title="">end
+    offset</var> to <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then set <var title="">end
+    node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, if <var title="">end node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and its
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>'s <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> for "white-space" is neither "pre" nor "pre-wrap"
+    and <var title="">end offset</var> is <var title="">end node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> and the last
+    <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">end node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> is a space (0x0020) and
     <var title="">end node</var> <a href=#precedes-a-line-break>precedes a line break</a>:
 
     <ol>
@@ -6386,7 +6385,7 @@
 
       <li>Subtract one from <var title="">length</var>.
 
-      <li>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-deletedata>deleteData(<var title="">end offset</var>, 1)</a></code> on <var title="">end node</var>.
+      <li>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dom.spec.whatwg.org/#dom-characterdata-deletedata>deleteData(<var title="">end offset</var>, 1)</a></code> on <var title="">end node</var>.
     </ol>
 
     <li>Otherwise, break from this loop.
@@ -6400,21 +6399,21 @@
   is true if <var title="">start offset</var> is zero and <var title="">start node</var>
   <a href=#follows-a-line-break>follows a line break</a>, and false otherwise.  <var title="">non-breaking
   end</var> is true if <var title="">end offset</var> is <var title="">end node</var>'s
-  <code class=external data-anolis-spec=dom title=dom-CharacterData-length><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-length>length</a></code> and <var title="">end node</var> <a href=#precedes-a-line-break>precedes a line break</a>, and
+  <code class=external data-anolis-spec=dom title=dom-CharacterData-length><a href=http://dom.spec.whatwg.org/#dom-characterdata-length>length</a></code> and <var title="">end node</var> <a href=#precedes-a-line-break>precedes a line break</a>, and
   false otherwise.
 
-  <li>While (<var title="">start node</var>, <var title="">start offset</var>) is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-before title=concept-range-bp-before>before</a>
+  <li>While (<var title="">start node</var>, <var title="">start offset</var>) is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-before title=concept-range-bp-before>before</a>
   (<var title="">end node</var>, <var title="">end offset</var>):
 
   <ol>
-    <li>If <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
-    offset</var>, set <var title="">start node</var> to that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, then set
+    <li>If <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+    offset</var>, set <var title="">start node</var> to that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, then set
     <var title="">start offset</var> to zero.
 
-    <li>Otherwise, if <var title="">start node</var> is not a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node or if
-    <var title="">start offset</var> is <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>, set
-    <var title="">start offset</var> to one plus <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>, then
-    set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>Otherwise, if <var title="">start node</var> is not a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node or if
+    <var title="">start offset</var> is <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>, set
+    <var title="">start offset</var> to one plus <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>, then
+    set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Otherwise:
 
@@ -6423,7 +6422,7 @@
       and let <var title="">element</var> be that <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a>.
 
       <li>If <var title="">element</var> is not the same as the <var title="">start
-      offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">start node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code>:
+      offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">start node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code>:
 
       <ol>
         <li>
@@ -6431,10 +6430,10 @@
         change range boundary points.  TODO: switch to using "replace data" now
         that DOM Core has defined that.
 
-        <p>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-insertData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-insertdata>insertData(<var title="">start offset</var>, <var title="">element</var>)</a></code> on
+        <p>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-insertData><a href=http://dom.spec.whatwg.org/#dom-characterdata-insertdata>insertData(<var title="">start offset</var>, <var title="">element</var>)</a></code> on
         <var title="">start node</var>.
 
-        <li>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-deletedata>deleteData(<var title="">start offset</var> + 1, 1)</a></code> on
+        <li>Call <code class=external data-anolis-spec=dom title=dom-CharacterData-deleteData><a href=http://dom.spec.whatwg.org/#dom-characterdata-deletedata>deleteData(<var title="">start offset</var> + 1, 1)</a></code> on
         <var title="">start node</var>.
       </ol>
 
@@ -6506,18 +6505,18 @@
 "bar", we won't remember that we aren't supposed to indent "foo" a second time.
 </div>
 
-<p>To <dfn id=indent>indent</dfn> a list <var title="">node list</var> of consecutive <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-sibling title=concept-tree-sibling>sibling</a>
-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>:
+<p>To <dfn id=indent>indent</dfn> a list <var title="">node list</var> of consecutive <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-sibling title=concept-tree-sibling>sibling</a>
+<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>:
 
 <ol>
   <li>If <var title="">node list</var> is empty, do nothing and abort these steps.
 
   <li>Let <var title="">first node</var> be the first member of <var title="">node list</var>.
 
-  <li>If <var title="">first node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>:
-
-  <ol>
-    <li>Let <var title="">tag</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> of the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> of
+  <li>If <var title="">first node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>:
+
+  <ol>
+    <li>Let <var title="">tag</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> of the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> of
     <var title="">first node</var>.
 
     <li>
@@ -6537,15 +6536,15 @@
 &lt;/li&gt;&lt;/ol&gt;</pre>
 
     <p>in which case it's unclear what we should do if the user selects "foo" and
-    indents.  I've filed <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=12609">a bug</a> on
+    indents.  I've filed <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=12609">a bug</a> on
     HTML5.
     </div>
 
     <p><a href=#wrap>Wrap</a> <var title="">node list</var>, with <var title="">sibling criteria</var>
-    returning true for an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a>
+    returning true for an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a>
     <var title="">tag</var> and false otherwise, and <var title="">new parent
     instructions</var> returning the result of calling
-    <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement(<var title="">tag</var>)</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">first
+    <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement(<var title="">tag</var>)</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">first
     node</var>.
 
     <li>Abort these steps.
@@ -6581,7 +6580,7 @@
   <p><a href=#wrap>Wrap</a> <var title="">node list</var>, with <var title="">sibling criteria</var>
   returning true for a <a href=#simple-indentation-element>simple indentation element</a> and false
   otherwise, and <var title="">new parent instructions</var> returning the result of
-  calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("blockquote")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">first
+  calling <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("blockquote")</a></code> on the <code class=external data-anolis-spec=dom title=dom-Node-ownerDocument><a href=http://dom.spec.whatwg.org/#dom-node-ownerdocument>ownerDocument</a></code> of <var title="">first
   node</var>.  Let <var title="">new parent</var> be the result.
 
   <li><a href=#fix-disallowed-ancestors>Fix disallowed ancestors</a> of <var title="">new parent</var>.
@@ -6618,7 +6617,7 @@
 Consider removing it anyway.
 </div>
 
-<p>To <dfn id=outdent>outdent</dfn> a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var>:
+<p>To <dfn id=outdent>outdent</dfn> a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var>:
 
 <ol>
   <li>If <var title="">node</var> is not <a href=#editable>editable</a>, abort these steps.
@@ -6696,27 +6695,27 @@
   indentation element that's not simple, so we can't completely remove it.
   </div>
 
-  <p>Let <var title="">current ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-  <li>Let <var title="">ancestor list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
-
-  <li>While <var title="">current ancestor</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>
+  <p>Let <var title="">current ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+  <li>Let <var title="">ancestor list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
+
+  <li>While <var title="">current ancestor</var> is an <a href=#editable>editable</a> <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>
   that is neither a <a href=#simple-indentation-element>simple indentation element</a> nor an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> nor a
   <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, append <var title="">current ancestor</var> to <var title="">ancestor list</var> and
-  then set <var title="">current ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  then set <var title="">current ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>If <var title="">current ancestor</var> is not an <a href=#editable>editable</a>
   <a href=#simple-indentation-element>simple indentation element</a>:
 
   <ol>
-    <li>Let <var title="">current ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <li>Let <var title="">current ancestor</var> be <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Let <var title="">ancestor list</var> be the empty list.
 
     <li>While <var title="">current ancestor</var> is an <a href=#editable>editable</a>
-    <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code> that is neither an <a href=#indentation-element>indentation element</a> nor an
+    <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code> that is neither an <a href=#indentation-element>indentation element</a> nor an
     <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> nor a <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, append <var title="">current ancestor</var> to <var title="">ancestor
-    list</var> and then set <var title="">current ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    list</var> and then set <var title="">current ancestor</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
   </ol>
 
   <li>
@@ -6732,20 +6731,20 @@
     <li>Unset the <code class=external data-anolis-spec=html title=attr-ol-reversed><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-reversed>reversed</a></code>, <code class=external data-anolis-spec=html title=attr-ol-start><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-start>start</a></code>, and <code class=external data-anolis-spec=html title=attr-ol-type><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-type>type</a></code> attributes of <var title="">node</var>, if any are
     set.
 
-    <li>Let <var title="">children</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> of <var title="">node</var>.
+    <li>Let <var title="">children</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> of <var title="">node</var>.
 
     <li>
     <p class=comments>We can't turn it into a div if it's the child of an ol or
     ul, because that's not allowed: there's no way to group li's (see
-    <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13128">HTML bug 13128</a>).
-
-    <p>If <var title="">node</var> has attributes, and its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>
+    <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13128">HTML bug 13128</a>).
+
+    <p>If <var title="">node</var> has attributes, and its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code>
     or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, <a href=#set-the-tag-name>set the tag name</a> of <var title="">node</var> to "div".
 
     <li>Otherwise:
 
     <ol>
-      <li><a href=#record-the-values>Record the values</a> of <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, and
+      <li><a href=#record-the-values>Record the values</a> of <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>, and
       let <var title="">values</var> be the result.
 
       <li>Remove <var title="">node</var>, <a href=#preserving-its-descendants>preserving its descendants</a>.
@@ -6781,17 +6780,17 @@
 
     <li>Remove the last member from <var title="">ancestor list</var>.
 
-    <li>Let <var title="">target</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">current ancestor</var>
+    <li>Let <var title="">target</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">current ancestor</var>
     that is equal to either <var title="">node</var> or the last member of <var title="">ancestor
     list</var>.
 
     <li>If <var title="">target</var> is an <a href=#inline-node>inline node</a> that is not a
-    <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and its <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove <var title="">target</var>'s
-    <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Let <var title="">preceding siblings</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-preceding title=concept-tree-preceding>precedings</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-sibling title=concept-tree-sibling>siblings</a> of
+    <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, and its <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove <var title="">target</var>'s
+    <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Let <var title="">preceding siblings</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-preceding title=concept-tree-preceding>precedings</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-sibling title=concept-tree-sibling>siblings</a> of
     <var title="">target</var>, and let <var title="">following siblings</var> be the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-following title=concept-tree-following>followings</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-sibling title=concept-tree-sibling>siblings</a> of <var title="">target</var>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-following title=concept-tree-following>followings</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-sibling title=concept-tree-sibling>siblings</a> of <var title="">target</var>.
 
     <li><a href=#indent>Indent</a> <var title="">preceding siblings</var>.
 
@@ -6850,7 +6849,7 @@
 ol ol ol { list-style-type: lower-roman }</pre>
 
 <p>This is the default appearance in Word, and I set OO to something similar
-with Bullets and Numbering &rarr; Outline in the list editing toolbox.  I'm
+with Bullets and Numbering &srarr; Outline in the list editing toolbox.  I'm
 ignoring bullet style throughout, for no particular reason.
 
 <ul>
@@ -7297,8 +7296,8 @@
   "ul" if <var title="">tag name</var> is "ol".
 
   <li>Let <var title="">items</var> be a list of all <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>s that are
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestors</a> of the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>
-  and/or <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestors</a> of the <a href=#active-range>active range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>
+  and/or <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>.
 
   <li>
   <p class=comments>TODO: This overnormalizes, but it seems like the simplest
@@ -7312,7 +7311,7 @@
 
   <li>If <var title="">mode</var> is "enable", then let <var title="">lists to convert</var>
   consist of every <a href=#editable>editable</a> <a href=#html-element>HTML element</a> with
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">other tag name</var> that is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">other tag name</var> that is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new
   range</var>, and for every <var title="">list</var> in <var title="">lists to convert</var>:
 
   <ol>
@@ -7321,12 +7320,12 @@
     merge with a neighboring list of the correct type.  Failing that, we set
     the tag name.
 
-    <p>If <var title="">list</var>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> or <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is an
-    <a href=#editable>editable</a> <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag
+    <p>If <var title="">list</var>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> or <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is an
+    <a href=#editable>editable</a> <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag
     name</var>:
 
     <ol>
-      <li>Let <var title="">children</var> be <var title="">list</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>.
+      <li>Let <var title="">children</var> be <var title="">list</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>.
 
       <li><a href=#record-the-values>Record the values</a> of <var title="">children</var>, and let
       <var title="">values</var> be the result.
@@ -7335,7 +7334,7 @@
 
       <li><a href=#wrap>Wrap</a> <var title="">children</var>, with <var title="">sibling
       criteria</var> returning true for an <a href=#html-element>HTML element</a> with
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var> and false otherwise.
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var> and false otherwise.
 
       <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
     </ol>
@@ -7344,7 +7343,7 @@
     name</var>.
   </ol>
 
-  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
+  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
 
   <li>
   <div class=comments>
@@ -7363,11 +7362,11 @@
   the spec in this case.
   </div>
 
-  <p>For each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new range</var>,
+  <p>For each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new range</var>,
   if <var title="">node</var> is <a href=#editable>editable</a>; the last member of <var title="">node
-  list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
+  list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
   <var title="">node</var> is not an <a href=#indentation-element>indentation element</a>; and either
-  <var title="">node</var> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or
+  <var title="">node</var> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or
   <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, or it is an <a href=#allowed-child>allowed child</a> of "li"; then append
   <var title="">node</var> to <var title="">node list</var>.
 
@@ -7387,25 +7386,25 @@
   </div>
 
   <p>If <var title="">mode</var> is "enable", remove from <var title="">node list</var> any
-  <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not also an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>.
+  <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not also an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>.
 
   <li>If <var title="">mode</var> is "disable", then while <var title="">node list</var> is not
   empty:
 
   <ol>
-    <li>Let <var title="">sublist</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>.
+    <li>Let <var title="">sublist</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>.
 
     <li>Remove the first member from <var title="">node list</var> and append it to
     <var title="">sublist</var>.
 
     <li>If the first member of <var title="">sublist</var> is an <a href=#html-element>HTML
-    element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, <a href=#outdent>outdent</a>
+    element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, <a href=#outdent>outdent</a>
     it and continue this loop from the beginning.
 
     <li>While <var title="">node list</var> is not empty, and the first member of
-    <var title="">node list</var> is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of the last member of
+    <var title="">node list</var> is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of the last member of
     <var title="">sublist</var> and is not an <a href=#html-element>HTML element</a> with
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, remove the first member from <var title="">node
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, remove the first member from <var title="">node
     list</var> and append it to <var title="">sublist</var>.
 
     <li><a href=#record-the-values>Record the values</a> of <var title="">sublist</var>, and let
@@ -7422,14 +7421,14 @@
   <li>Otherwise, while <var title="">node list</var> is not empty:
 
   <ol>
-    <li>Let <var title="">sublist</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>.
+    <li>Let <var title="">sublist</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>.
 
     <li>
     <p class=comments>Accumulate consecutive sibling nodes in sublist, first
     converting them all to li's (except if they're already lists).
 
     <p>While either <var title="">sublist</var> is empty, or <var title="">node list</var> is
-    not empty and its first member is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of
+    not empty and its first member is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of
     <var title="">sublist</var>'s last member:
 
     <ol>
@@ -7450,11 +7449,11 @@
       <li>Otherwise:
 
       <ol>
-        <li>Let <var title="">nodes to wrap</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially
+        <li>Let <var title="">nodes to wrap</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially
         empty.
 
         <li>While <var title="">nodes to wrap</var> is empty, or <var title="">node list</var> is
-        not empty and its first member is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of
+        not empty and its first member is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of
         <var title="">nodes to wrap</var>'s last member and the first member of
         <var title="">node list</var> is an <a href=#inline-node>inline node</a> and the last member
         of <var title="">nodes to wrap</var> is an <a href=#inline-node>inline node</a> other than a
@@ -7463,7 +7462,7 @@
 
         <li><a href=#wrap>Wrap</a> <var title="">nodes to wrap</var>, with <var title="">new parent
         instructions</var> returning the result of calling
-        <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("li")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>.  Append the result to
+        <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("li")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>.  Append the result to
         <var title="">sublist</var>.
       </ol>
     </ol>
@@ -7472,13 +7471,13 @@
     <p class=comments>In this case it's already wrapped properly, nothing more
     to do.
 
-    <p>If <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#html-element>HTML
-    element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, or if every member
+    <p>If <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#html-element>HTML
+    element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, or if every member
     of <var title="">sublist</var> is an <code class=external data-anolis-spec=html title="the ol element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ol-element>ol</a></code> or <code class=external data-anolis-spec=html title="the ul element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-ul-element>ul</a></code>, continue this loop from the
     beginning.
 
-    <li>If <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#html-element>HTML
-    element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">other tag name</var>:
+    <li>If <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is an <a href=#html-element>HTML
+    element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">other tag name</var>:
 
     <ol>
       <li><a href=#record-the-values>Record the values</a> of <var title="">sublist</var>, and let
@@ -7488,9 +7487,9 @@
 
       <li><a href=#wrap>Wrap</a> <var title="">sublist</var>, with <var title="">sibling
       criteria</var> returning true for an <a href=#html-element>HTML element</a> with
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var> and false otherwise, and <var title="">new
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var> and false otherwise, and <var title="">new
       parent instructions</var> returning the result of calling
-      <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement(<var title="">tag name</var>)</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>.
+      <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement(<var title="">tag name</var>)</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>.
 
       <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
 
@@ -7498,7 +7497,7 @@
     </ol>
 
     <li><a href=#wrap>Wrap</a> <var title="">sublist</var>, with <var title="">sibling criteria</var>
-    returning true for an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag
+    returning true for an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag
     name</var> and false otherwise, and <var title="">new parent instructions</var>
     being the following:
 
@@ -7521,24 +7520,24 @@
       earlier part of the algorithm?  This way's a bit weird.
       </div>
 
-      <p>If <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is not an
+      <p>If <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is not an
       <a href=#editable>editable</a> <a href=#simple-indentation-element>simple indentation element</a>, or
-      <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> is
-      not an <a href=#editable>editable</a> <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a>
-      <var title="">tag name</var>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement(<var title="">tag name</var>)</a></code> on the
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and return the result.
+      <var title="">sublist</var>'s first member's <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> is
+      not an <a href=#editable>editable</a> <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a>
+      <var title="">tag name</var>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement(<var title="">tag name</var>)</a></code> on the
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and return the result.
 
       <li>Let <var title="">list</var> be <var title="">sublist</var>'s first member's
-      <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code>.
-
-      <li><a href=#normalize-sublists>Normalize sublists</a> of <var title="">list</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code>.
-
-      <li>If <var title="">list</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> is not an <a href=#editable>editable</a>
-      <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, call
-      <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement(<var title="">tag name</var>)</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>, and
-      append the result as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">list</var>.
-
-      <li>Return the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">list</var>.
+      <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code>.
+
+      <li><a href=#normalize-sublists>Normalize sublists</a> of <var title="">list</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code>.
+
+      <li>If <var title="">list</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> is not an <a href=#editable>editable</a>
+      <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">tag name</var>, call
+      <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement(<var title="">tag name</var>)</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>, and
+      append the result as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">list</var>.
+
+      <li>Return the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">list</var>.
     </ol>
 
     <li><a href=#fix-disallowed-ancestors>Fix disallowed ancestors</a> of the previous step's result.
@@ -7590,15 +7589,15 @@
   do so.
 
   <p>Let <var title="">element list</var> be a list of all <a href=#editable>editable</a>
-  <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new range</var> that either has an
-  attribute in the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#html-namespace>HTML namespace</a> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attribute-local-name title=concept-attribute-local-name>local name</a> is "align", or has
+  <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#element>Element</a></code>s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new range</var> that either has an
+  attribute in the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#html-namespace>HTML namespace</a> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-attribute-local-name title=concept-attribute-local-name>local name</a> is "align", or has
   a <code class=external data-anolis-spec=html title="the style attribute"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-style-attribute>style</a></code> attribute that sets "text-align", or is a <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#center>center</a></code>.
 
   <li>For each <var title="">element</var> in <var title="">element list</var>:
 
   <ol>
-    <li>If <var title="">element</var> has an attribute in the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#html-namespace>HTML namespace</a> whose
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attribute-local-name title=concept-attribute-local-name>local name</a> is "align", remove that attribute.
+    <li>If <var title="">element</var> has an attribute in the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#html-namespace>HTML namespace</a> whose
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-attribute-local-name title=concept-attribute-local-name>local name</a> is "align", remove that attribute.
 
     <li>Unset the CSS property "text-align" on <var title="">element</var>, if it's set
     by a <code class=external data-anolis-spec=html title="the style attribute"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-style-attribute>style</a></code> attribute.
@@ -7619,16 +7618,16 @@
   <p><a href=#block-extend>Block-extend</a> the <a href=#active-range>active range</a>, and let <var title="">new
   range</var> be the result.
 
-  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
+  <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
 
   <li>
   <p class=comments>Of tested browsers, only Chrome 13 dev seems to not apply
   the alignment to nodes that are already aligned.  Even then, it does apply it
   if the alignment is just inherited from the root.
 
-  <p>For each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new range</var>,
+  <p>For each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new range</var>,
   append <var title="">node</var> to <var title="">node list</var> if the last member of
-  <var title="">node list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
+  <var title="">node list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>;
   <var title="">node</var> is <a href=#editable>editable</a>; <var title="">node</var> is an <a href=#allowed-child>allowed
   child</a> of "div"; and <var title="">node</var>'s <a href=#alignment-value>alignment value</a> is
   not <var title="">alignment</var>.
@@ -7636,13 +7635,13 @@
   <li>While <var title="">node list</var> is not empty:
 
   <ol>
-    <li>Let <var title="">sublist</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
+    <li>Let <var title="">sublist</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
 
     <li>Remove the first member of <var title="">node list</var> and append it to
     <var title="">sublist</var>.
 
     <li>While <var title="">node list</var> is not empty, and the first member of
-    <var title="">node list</var> is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of the last member of
+    <var title="">node list</var> is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of the last member of
     <var title="">sublist</var>, remove the first member of <var title="">node list</var> and
     append it to <var title="">sublist</var>.
 
@@ -7652,7 +7651,7 @@
 
     <ul>
       <li>An <code class=external data-anolis-spec=html title=attr-div-align><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#attr-div-align>align</a></code>
-      attribute whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attribute-value title=concept-attribute-value>value</a> is an <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#ascii-case-insensitive>ASCII
+      attribute whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-attribute-value title=concept-attribute-value>value</a> is an <a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#ascii-case-insensitive>ASCII
       case-insensitive</a> match for <var title="">alignment</var>.
 
       <li>A <code class=external data-anolis-spec=html title="the style attribute"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-style-attribute>style</a></code> attribute which sets exactly one CSS property (including
@@ -7665,8 +7664,8 @@
     browser behaves in this case, but for inline formatting it matches everyone
     but Gecko's CSS mode, so I'm just being consistent.
 
-    <p><var title="">New parent instructions</var> are to call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("div")</a></code>
-    on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>, then set its CSS property "text-align" to
+    <p><var title="">New parent instructions</var> are to call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("div")</a></code>
+    on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>, then set its CSS property "text-align" to
     <var title="">alignment</var> and return the result.
   </ol>
 </ol>
@@ -7674,7 +7673,7 @@
 
 <h3 id=automatic-linking>Automatic linking</h3>
 
-<p class=comments><a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13807">Bug 13807</a>.
+<p class=comments><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=13807">Bug 13807</a>.
 
 <p class=note>When the user inserts whitespace immediately following something
 that looks like a URL or e-mail address, we automatically run <a href=#the-createlink-command>the <code title="">createLink</code> command</a> on it.
@@ -7691,7 +7690,7 @@
   non-hierarchical schemes, we just whitelist mailto:, since it's the only
   common one that makes sense to autolink.
 
-  <p>Either a string matching the <var title="">scheme</var> pattern from <a href=http://tools.ietf.org/html/rfc3986#section-3.1>RFC 3986 section 3.1</a>
+  <p>Either a string matching the <var title="">scheme</var> pattern from <a href=https://tools.ietf.org/html/rfc3986#section-3.1>RFC 3986 section 3.1</a>
   followed by the literal string <code title="">://</code>, or the literal string
   <code title="">mailto:</code>; followed by
 
@@ -7699,7 +7698,7 @@
   <p class=comments>We don't try to enforce that the URL is anything resembling
   valid per spec.  Too complicated for not enough gain.
 
-  <p>Zero or more characters other than <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#space-character title="space character">space characters</a>; followed by
+  <p>Zero or more characters other than <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace title="ascii whitespace">space characters</a>; followed by
 
   <li>
   <div class=comments>
@@ -7717,7 +7716,7 @@
   <code title="">/</code> in URLs, but it inhibits linking for e-mails.
 
   <p>Google Docs (as of November 9, 2011) is complicated.  Trailing
-  <code title="">&rdquo;&rsquo;,-.</code> always prevents autolinking of a URL, and trailing
+  <code title="">&rdquo;&rsquor;,-.</code> always prevents autolinking of a URL, and trailing
   <code title="">#%/?_</code> is always included in a URL.  Trailing <code title="">!&amp;=$()*+:;&lt;&gt;@[\]^`{|}~</code> prevent autolinking if there's no
   <code title="">?</code> before them, but are included in the URL if there is a <code title="">?</code>.
   For e-mails, <code title="">_</code> is included, and everything else prevents
@@ -7742,42 +7741,42 @@
   equivalent point</a> is not null, set it to its <a href=#previous-equivalent-point>previous equivalent
   point</a>.
 
-  <li>If <var title="">node</var> is not a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, or has an <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a>,
+  <li>If <var title="">node</var> is not a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node, or has an <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a>,
   do nothing and abort these steps.
 
   <li>Let <var title="">search</var> be the largest substring of <var title="">node</var>'s
-  <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> whose end is <var title="">end offset</var> and that contains no
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#space-character title="space character">space characters</a>.
+  <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> whose end is <var title="">end offset</var> and that contains no
+  <a class=external data-anolis-spec=encoding href=http://encoding.spec.whatwg.org/#ascii-whitespace title="ascii whitespace">space characters</a>.
 
   <li>If some substring of <var title="">search</var> is an <a href=#autolinkable-url>autolinkable
   URL</a>:
 
   <ol>
-    <li>While there is no substring of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> ending at
+    <li>While there is no substring of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> ending at
     <var title="">end offset</var> that is an <a href=#autolinkable-url>autolinkable URL</a>, decrement
     <var title="">end offset</var>.
 
     <li>Let <var title="">start offset</var> be the start index of the longest substring
-    of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> that is an <a href=#autolinkable-url>autolinkable URL</a>
+    of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> that is an <a href=#autolinkable-url>autolinkable URL</a>
     ending at <var title="">end offset</var>.
 
-    <li>Let <var title="">href</var> be the substring of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code>
+    <li>Let <var title="">href</var> be the substring of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code>
     starting at <var title="">start offset</var> and ending at <var title="">end offset</var>.
   </ol>
 
   <li>Otherwise, if some substring of <var title="">search</var> is a <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address>valid e-mail address</a>:
 
   <ol>
-    <li>While there is no substring of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> ending at
+    <li>While there is no substring of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> ending at
     <var title="">end offset</var> that is a <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address>valid e-mail
     address</a>, decrement <var title="">end offset</var>.
 
     <li>Let <var title="">start offset</var> be the start index of the longest substring
-    of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> that is a <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address>valid
+    of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> that is a <a class=external data-anolis-spec=html href=http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address>valid
     e-mail address</a> ending at <var title="">end offset</var>.
 
     <li>Let <var title="">href</var> be "mailto:" concatenated with the substring of
-    <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> starting at <var title="">start offset</var> and ending
+    <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> starting at <var title="">start offset</var> and ending
     at <var title="">end offset</var>.
   </ol>
 
@@ -7785,14 +7784,14 @@
 
   <li>Let <var title="">original range</var> be the <a href=#active-range>active range</a>.
 
-  <li>Create a new <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> (<var title="">node</var>, <var title="">start
-  offset</var>) and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> (<var title="">node</var>, <var title="">end offset</var>), and
-  set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to it.
+  <li>Create a new <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> (<var title="">node</var>, <var title="">start
+  offset</var>) and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> (<var title="">node</var>, <var title="">end offset</var>), and
+  set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to it.
 
   <li>Take the <a href=#action>action</a> for "createLink", with <var title="">value</var>
   equal to <var title="">href</var>.
 
-  <li>Set the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> to <var title="">original
+  <li>Set the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> to <var title="">original
   range</var>.
 </ol>
 
@@ -7846,7 +7845,7 @@
 <p><a href=#action>Action</a>:
 
 <ol>
-  <li>If the <a href=#active-range>active range</a> is not <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-collapsed>collapsed</a></code>, <a href=#delete-the-selection>delete
+  <li>If the <a href=#active-range>active range</a> is not <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dom.spec.whatwg.org/#dom-range-collapsed>collapsed</a></code>, <a href=#delete-the-selection>delete
   the selection</a> and return true.
 
   <li>
@@ -7854,10 +7853,10 @@
   backspace over all at once.
 
   <p><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>.
 
   <li>Let <var title="">node</var> and <var title="">offset</var> be the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
 
   <li>
   <p class=comments>First go up as high as possible within the current block,
@@ -7875,19 +7874,19 @@
     since it makes more sense to the user.  Of course, the definition of
     "invisible node" is not necessarily anything like the spec's.
 
-    <p>If <var title="">offset</var> is zero and <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code>
-    is an <a href=#editable>editable</a> <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, remove
-    <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-    <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is an <a href=#editable>editable</a>
-    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, remove that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> from
+    <p>If <var title="">offset</var> is zero and <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code>
+    is an <a href=#editable>editable</a> <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, remove
+    <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+    <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is an <a href=#editable>editable</a>
+    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, remove that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> from
     <var title="">node</var>, then subtract one from <var title="">offset</var>.
 
     <li>Otherwise, if <var title="">offset</var> is zero and <var title="">node</var> is an
     <a href=#inline-node>inline node</a>, or if <var title="">node</var> is an
-    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, set <var title="">offset</var> to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of
-    <var title="">node</var>, then set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, set <var title="">offset</var> to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of
+    <var title="">node</var>, then set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>
     <p class=comments> When backspacing a link, Firefox 7.0a2, Chrome 14 dev,
@@ -7895,15 +7894,15 @@
     and Word 2007 remove the link instead of deleting its last character.  The
     latter behavior seems more useful and intuitive.
 
-    <p>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-    <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is an <a href=#editable>editable</a>
-    <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code>, remove that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> from <var title="">node</var>, <a href=#preserving-its-descendants>preserving its
+    <p>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+    <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is an <a href=#editable>editable</a>
+    <code class=external data-anolis-spec=html title="the a element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>a</a></code>, remove that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> from <var title="">node</var>, <a href=#preserving-its-descendants>preserving its
     descendants</a>.  Then return true.
 
-    <li>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-    <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is not a <a href=#block-node>block
+    <li>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+    <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is not a <a href=#block-node>block
     node</a> or a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, set <var title="">node</var> to that
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">offset</var> to the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> of
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">offset</var> to the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> of
     <var title="">node</var>.
 
     <li>Otherwise, break from this loop.
@@ -7936,17 +7935,17 @@
   Firefox 7.0a2, Chrome 14 dev, etc.).
   </div>
 
-  <p>If <var title="">node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and <var title="">offset</var> is not zero,
-  or if <var title="">node</var> is a <a href=#block-node>block node</a> that has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or
+  <p>If <var title="">node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and <var title="">offset</var> is not zero,
+  or if <var title="">node</var> is a <a href=#block-node>block node</a> that has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var> &minus; 1 and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or
   <code class=external data-anolis-spec=html title="the hr element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-hr-element>hr</a></code> or <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>:
 
   <ol>
     <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">node</var>, <var title="">offset</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">node</var>, <var title="">offset</var> &minus; 1)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li><a href=#delete-the-selection>Delete the selection</a>.
 
@@ -7967,19 +7966,19 @@
   preceding block, which isn't expected.
 
   <p>If <var title="">node</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code> and is the first
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>, and <var title="">offset</var> is zero:
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>, and <var title="">offset</var> is zero:
 
   <ol>
     <li>Let <var title="">items</var> be a list of all <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code>s that are
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> of <var title="">node</var>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> of <var title="">node</var>.
 
     <li><a href=#normalize-sublists>Normalize sublists</a> of each <var title="">item</var> in
     <var title="">items</var>.
 
-    <li><a href=#record-the-values>Record the values</a> of the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of
+    <li><a href=#record-the-values>Record the values</a> of the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of
     <var title="">node</var>, and let <var title="">values</var> be the result.
 
-    <li><a href=#split-the-parent>Split the parent</a> of the one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of
+    <li><a href=#split-the-parent>Split the parent</a> of the one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of
     <var title="">node</var>.
 
     <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
@@ -7991,7 +7990,7 @@
     the list item.  TODO: there might be a better way to do this.
 
     <p>If <var title="">node</var> is a <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code>, and it is not an
-    <a href=#allowed-child>allowed child</a> of any of its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> <a href=#in-the-same-editing-host>in the same
+    <a href=#allowed-child>allowed child</a> of any of its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestors</a> <a href=#in-the-same-editing-host>in the same
     editing host</a>, <a href=#set-the-tag-name>set the tag name</a> of <var title="">node</var> to
     the <a href=#default-single-line-container-name>default single-line container name</a> and let <var title="">node</var>
     be the result.
@@ -8012,11 +8011,11 @@
 
   <ol>
     <li>If <var title="">start offset</var> is zero, set <var title="">start offset</var> to the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of <var title="">start node</var> and then set <var title="">start node</var> to
-    its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of <var title="">start node</var> and then set <var title="">start node</var> to
+    its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Otherwise, if <var title="">start node</var> has an <a href=#editable>editable</a>
-    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var>
+    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var>
     minus one, remove it from <var title="">start node</var> and subtract one from
     <var title="">start offset</var>.
 
@@ -8029,23 +8028,23 @@
   copy-pastes from the outdent command action.
 
   <p>If <var title="">offset</var> is zero, and <var title="">node</var> has an
-  <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> <a href=#in-the-same-editing-host>in the same editing
+  <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor title=concept-tree-inclusive-ancestor>inclusive ancestor</a> <a href=#in-the-same-editing-host>in the same editing
   host</a> that's an <a href=#indentation-element>indentation element</a>:
 
   <ol>
-    <li><a href=#block-extend>Block-extend</a> the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range title=concept-range>range</a> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> and
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-end title=concept-range-end>end</a> are both (<var title="">node</var>, 0), and let <var title="">new range</var> be
+    <li><a href=#block-extend>Block-extend</a> the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range title=concept-range>range</a> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> and
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-end title=concept-range-end>end</a> are both (<var title="">node</var>, 0), and let <var title="">new range</var> be
     the result.
 
-    <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>, initially empty.
-
-    <li>For each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">current node</var> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new
+    <li>Let <var title="">node list</var> be a list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>, initially empty.
+
+    <li>For each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">current node</var> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new
     range</var>, append <var title="">current node</var> to <var title="">node list</var> if the
-    last member of <var title="">node list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of
+    last member of <var title="">node list</var> (if any) is not an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of
     <var title="">current node</var>, and <var title="">current node</var> is
-    <a href=#editable>editable</a> but has no <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendants</a>.
-
-    <li><a href=#outdent>Outdent</a> each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> in <var title="">node list</var>.
+    <a href=#editable>editable</a> but has no <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendants</a>.
+
+    <li><a href=#outdent>Outdent</a> each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> in <var title="">node list</var>.
 
     <li>Return true.
   </ol>
@@ -8059,7 +8058,7 @@
   <p>and similarly for &lt;hr&gt;.  We should just do nothing here.
   </div>
 
-  <p>If the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start node</var> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+  <p>If the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start node</var> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
   offset</var> is a <code class=external data-anolis-spec=html title="the table element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element>table</a></code>, return true.
 
   <li>
@@ -8068,15 +8067,15 @@
   when typing in contentEditable elements" document.  The idea is that then you
   can delete it with a second backspace.
 
-  <p>If <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
-  offset</var> &minus; 1, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the table element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element>table</a></code>:
+  <p>If <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+  offset</var> &minus; 1, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the table element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element>table</a></code>:
 
   <ol>
     <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">start node</var>, <var title="">start offset</var>
-    &minus; 1)</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    &minus; 1)</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">start node</var>, <var title="">start offset</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Return true.
   </ol>
@@ -8097,17 +8096,17 @@
   at all.
   </div>
 
-  <p>If <var title="">offset</var> is zero; and either the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start
-  node</var> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var> minus one is an <code class=external data-anolis-spec=html title="the hr element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-hr-element>hr</a></code>, or
-  the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> whose <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> is either a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or not
+  <p>If <var title="">offset</var> is zero; and either the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start
+  node</var> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var> minus one is an <code class=external data-anolis-spec=html title="the hr element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-hr-element>hr</a></code>, or
+  the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> whose <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> is either a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or not
   an <a href=#inline-node>inline node</a>:
 
   <ol>
     <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">start node</var>, <var title="">start offset</var>
-    &minus; 1)</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    &minus; 1)</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">start node</var>, <var title="">start offset</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li><a href=#delete-the-selection>Delete the selection</a>.
 
@@ -8135,28 +8134,28 @@
   probably don't want it.
   </div>
 
-  <p>If the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start node</var> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
-  offset</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code>, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>'s
-  <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-firstchild>firstChild</a></code> is an <a href=#inline-node>inline node</a>, and <var title="">start offset</var> is
+  <p>If the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start node</var> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+  offset</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code>, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>'s
+  <code class=external data-anolis-spec=dom title=dom-Node-firstChild><a href=http://dom.spec.whatwg.org/#dom-node-firstchild>firstChild</a></code> is an <a href=#inline-node>inline node</a>, and <var title="">start offset</var> is
   not zero:
 
   <ol>
-    <li>Let <var title="">previous item</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">start node</var>
-    with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var> minus one.
+    <li>Let <var title="">previous item</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">start node</var>
+    with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start offset</var> minus one.
 
     <li>
     <p class=comments>If the last child is already a br, we only need to append
     one extra br.  Otherwise we need to append two, since the first will do
     nothing.
 
-    <p>If <var title="">previous item</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> is an <a href=#inline-node>inline
-    node</a> other than a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and append the result as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of
+    <p>If <var title="">previous item</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> is an <a href=#inline-node>inline
+    node</a> other than a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and append the result as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of
     <var title="">previous item</var>.
 
-    <li>If <var title="">previous item</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lastchild>lastChild</a></code> is an <a href=#inline-node>inline
-    node</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a> and
-    append the result as the last <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> of <var title="">previous item</var>.
+    <li>If <var title="">previous item</var>'s <code class=external data-anolis-spec=dom title=dom-Node-lastChild><a href=http://dom.spec.whatwg.org/#dom-node-lastchild>lastChild</a></code> is an <a href=#inline-node>inline
+    node</a>, call <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement("br")</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a> and
+    append the result as the last <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> of <var title="">previous item</var>.
   </ol>
 
   <li>
@@ -8169,32 +8168,32 @@
   invalid after we do the deletion.  A range will update according to the range
   mutation rules.
 
-  <p>If <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
-  offset</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code>, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>'s
-  <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-previoussibling>previousSibling</a></code> is also an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code>:
-
-  <ol>
-    <li>Call <code class=external data-anolis-spec=dom title=dom-Range-cloneRange><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-clonerange>cloneRange()</a></code> on the <a href=#active-range>active range</a>, and let
+  <p>If <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+  offset</var> is an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code>, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>'s
+  <code class=external data-anolis-spec=dom title=dom-Node-previousSibling><a href=http://dom.spec.whatwg.org/#dom-node-previoussibling>previousSibling</a></code> is also an <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-li-element>li</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> or <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code>:
+
+  <ol>
+    <li>Call <code class=external data-anolis-spec=dom title=dom-Range-cloneRange><a href=http://dom.spec.whatwg.org/#dom-range-clonerange>cloneRange()</a></code> on the <a href=#active-range>active range</a>, and let
     <var title="">original range</var> be the result.
 
-    <li>Set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+    <li>Set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
     offset</var> &minus; 1.
 
-    <li>Set <var title="">start offset</var> to <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>.
-
-    <li>Set <var title="">node</var> to <var title="">start node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>.
+    <li>Set <var title="">start offset</var> to <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>.
+
+    <li>Set <var title="">node</var> to <var title="">start node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>.
 
     <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">start node</var>, <var title="">start offset</var>)</a></code> on
-    the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
-
-    <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">node</var>, 0)</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+    the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+
+    <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">node</var>, 0)</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
     <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li><a href=#delete-the-selection>Delete the selection</a>.
 
-    <li>Call <code title=dom-Selection-removeAllRanges><a href=#dom-selection-removeallranges>removeAllRanges()</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
-
-    <li>Call <code title=dom-Selection-addRange><a href=#dom-selection-addrange>addRange(<var title="">original range</var>)</a></code> on the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s
+    <li>Call <code title=dom-Selection-removeAllRanges><a href=#dom-selection-removeallranges>removeAllRanges()</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+
+    <li>Call <code title=dom-Selection-addRange><a href=#dom-selection-addrange>addRange(<var title="">original range</var>)</a></code> on the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s
     <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Return true.
@@ -8203,25 +8202,25 @@
   <li>
   <p class=comments>General block-merging case.
 
-  <p>While <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+  <p>While <var title="">start node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
   offset</var> minus one:
 
   <ol>
-    <li>If <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">start
+    <li>If <var title="">start node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">start
     offset</var> minus one is <a href=#editable>editable</a> and <a href=#invisible>invisible</a>,
     remove it from <var title="">start node</var>, then subtract one from <var title="">start
     offset</var>.
 
-    <li>Otherwise, set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
+    <li>Otherwise, set <var title="">start node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
     <var title="">start offset</var> minus one, then set <var title="">start offset</var> to the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> of <var title="">start node</var>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> of <var title="">start node</var>.
   </ol>
 
   <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">start node</var>, <var title="">start offset</var>)</a></code> on
-  the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+  the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
   <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">node</var>, <var title="">offset</var>)</a></code> on the
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
   <li><a href=#delete-the-selection>Delete the selection</a>, with <var title="">direction</var> "backward".
 
@@ -8284,7 +8283,7 @@
   <p>If <var title="">value</var> begins with a "&lt;" character and ends with a "&gt;"
   character, remove the first and last characters from it.
 
-  <li>Let <var title="">value</var> be <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#converted-to-ascii-lowercase>converted to
+  <li>Let <var title="">value</var> be <a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#converted-to-ascii-lowercase>converted to
   ASCII lowercase</a>.
 
   <li>
@@ -8327,14 +8326,14 @@
   <li><a href=#block-extend>Block-extend</a> the <a href=#active-range>active range</a>, and let <var title="">new
   range</var> be the result.
 
-  <li>Let <var title="">node list</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>.
-
-  <li>For each <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new range</var>,
+  <li>Let <var title="">node list</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>.
+
+  <li>For each <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> <var title="">node</var> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new range</var>,
   append <var title="">node</var> to <var title="">node list</var> if it is
   <a href=#editable>editable</a>, the last member of <var title="">original node list</var> (if
-  any) is not an <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>, <var title="">node</var> is either a
+  any) is not an <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of <var title="">node</var>, <var title="">node</var> is either a
   <a href=#non-list-single-line-container>non-list single-line container</a> or an <a href=#allowed-child>allowed child</a>
-  of "p" or a <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code>, and <var title="">node</var> is not the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of
+  of "p" or a <code class=external data-anolis-spec=html title="the dd element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dd-element>dd</a></code> or <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code>, and <var title="">node</var> is not the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of
   a <a href=#prohibited-paragraph-child>prohibited paragraph child</a>.
 
   <li><a href=#record-the-values>Record the values</a> of <var title="">node list</var>, and let
@@ -8356,11 +8355,11 @@
   in a &lt;div&gt;.
 
   <p>For each <var title="">node</var> in <var title="">node list</var>, while <var title="">node</var>
-  is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-descendant title=concept-tree-descendant>descendant</a> of an <a href=#editable>editable</a> <a href=#html-element>HTML element</a>
-  <a href=#in-the-same-editing-host>in the same editing host</a>, whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> is a
-  <a href=#formattable-block-name>formattable block name</a>, and which is not the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a
+  is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-descendant title=concept-tree-descendant>descendant</a> of an <a href=#editable>editable</a> <a href=#html-element>HTML element</a>
+  <a href=#in-the-same-editing-host>in the same editing host</a>, whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> is a
+  <a href=#formattable-block-name>formattable block name</a>, and which is not the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a
   <a href=#prohibited-paragraph-child>prohibited paragraph child</a>, <a href=#split-the-parent>split the parent</a> of the
-  one-<a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>.
+  one-<a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> list consisting of <var title="">node</var>.
 
   <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
 
@@ -8422,13 +8421,13 @@
       again simpler to spec.
       </div>
 
-      <p>Let <var title="">sublist</var> be the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a> of the first member of
+      <p>Let <var title="">sublist</var> be the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a> of the first member of
       <var title="">node list</var>.
 
       <li><a href=#record-the-values>Record the values</a> of <var title="">sublist</var>, and let
       <var title="">values</var> be the result.
 
-      <li>Remove the first member of <var title="">node list</var> from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>,
+      <li>Remove the first member of <var title="">node list</var> from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>,
       <a href=#preserving-its-descendants>preserving its descendants</a>.
 
       <li><a href=#restore-the-values>Restore the values</a> from <var title="">values</var>.
@@ -8439,13 +8438,13 @@
     <li>Otherwise:
 
     <ol>
-      <li>Let <var title="">sublist</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a>.
+      <li>Let <var title="">sublist</var> be an empty list of <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a>.
 
       <li>Remove the first member of <var title="">node list</var> and append it to
       <var title="">sublist</var>.
 
       <li>While <var title="">node list</var> is not empty, and the first member of
-      <var title="">node list</var> is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of the last member of
+      <var title="">node list</var> is the <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> of the last member of
       <var title="">sublist</var>, and the first member of <var title="">node list</var> is not a
       <a href=#single-line-container>single-line container</a>, and the last member of
       <var title="">sublist</var> is not a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code>, remove the first member of <var title="">node
@@ -8454,10 +8453,10 @@
 
     <li><a href=#wrap>Wrap</a> <var title="">sublist</var>.  If <var title="">value</var> is "div" or
     "p", <var title="">sibling criteria</var> returns false; otherwise it returns true
-    for an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">value</var> and no
+    for an <a href=#html-element>HTML element</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> <var title="">value</var> and no
     attributes, and false otherwise.  <var title="">New parent instructions</var>
-    return the result of running <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement(<var title="">value</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>.  Then <a href=#fix-disallowed-ancestors>fix disallowed ancestors</a> of the
+    return the result of running <code class=external data-anolis-spec=dom title=dom-Document-createElement><a href=http://dom.spec.whatwg.org/#dom-document-createelement>createElement(<var title="">value</var>)</a></code> on the
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>.  Then <a href=#fix-disallowed-ancestors>fix disallowed ancestors</a> of the
     result.
   </ol>
 
@@ -8478,8 +8477,8 @@
   range</var> be the result.
 
   <li>Let <var title="">node list</var> be all <a href=#visible>visible</a>
-  <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>nodes</a> that are <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new
-  range</var> and have no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>.
+  <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>nodes</a> that are <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new
+  range</var> and have no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>.
 
   <li>If <var title="">node list</var> is empty, return false.
 
@@ -8488,19 +8487,19 @@
   <li>For each <var title="">node</var> in <var title="">node list</var>:
 
   <ol>
-    <li>While <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#editable>editable</a> and
+    <li>While <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#editable>editable</a> and
     <a href=#in-the-same-editing-host>in the same editing host</a> as <var title="">node</var>, and
-    <var title="">node</var> is not an <a href=#html-element>HTML element</a> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a>
+    <var title="">node</var> is not an <a href=#html-element>HTML element</a> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a>
     is a <a href=#formattable-block-name>formattable block name</a>, set <var title="">node</var> to its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>Let <var title="">current type</var> be the empty string.
 
     <li>If <var title="">node</var> is an <a href=#editable>editable</a> <a href=#html-element>HTML
-    element</a> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#formattable-block-name>formattable block
-    name</a>, and <var title="">node</var> is not the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a
+    element</a> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#formattable-block-name>formattable block
+    name</a>, and <var title="">node</var> is not the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a
     <a href=#prohibited-paragraph-child>prohibited paragraph child</a>, set <var title="">current type</var> to
-    <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a>.
+    <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a>.
 
     <li>If <var title="">type</var> is null, set <var title="">type</var> to <var title="">current
     type</var>.
@@ -8535,18 +8534,18 @@
   range</var> be the result.
 
   <li>Let <var title="">node</var> be the first <a href=#visible>visible</a>
-  <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that is <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#contained>contained</a> in <var title="">new range</var>
-  and has no <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>.  If there is no such <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, return the empty
+  <a href=#editable>editable</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> that is <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#contained>contained</a> in <var title="">new range</var>
+  and has no <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>children</a>.  If there is no such <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, return the empty
   string.
 
   <li>
   <p class=comments>Opera 11.11 doesn't require it be editable, so it will
   return "DIV" instead of "" for &lt;div contenteditable&gt;foo&lt;/div&gt;.
 
-  <p>While <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#editable>editable</a> and <a href=#in-the-same-editing-host>in
+  <p>While <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a> is <a href=#editable>editable</a> and <a href=#in-the-same-editing-host>in
   the same editing host</a> as <var title="">node</var>, and <var title="">node</var> is not
-  an <a href=#html-element>HTML element</a> whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#formattable-block-name>formattable block
-  name</a>, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+  an <a href=#html-element>HTML element</a> whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#formattable-block-name>formattable block
+  name</a>, set <var title="">node</var> to its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
   <li>
   <div class=comments>
@@ -8561,9 +8560,9 @@
   </div>
 
   <p>If <var title="">node</var> is an <a href=#editable>editable</a> <a href=#html-element>HTML element</a>
-  whose <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#formattable-block-name>formattable block name</a>, and
-  <var title="">node</var> is not the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <a href=#prohibited-paragraph-child>prohibited paragraph
-  child</a>, return <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-element-local-name title=concept-element-local-name>local name</a>, <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.
+  whose <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a> is a <a href=#formattable-block-name>formattable block name</a>, and
+  <var title="">node</var> is not the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-ancestor title=concept-tree-ancestor>ancestor</a> of a <a href=#prohibited-paragraph-child>prohibited paragraph
+  child</a>, return <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-element-local-name title=concept-element-local-name>local name</a>, <a class=external data-anolis-spec=domcore href=http://dom.spec.whatwg.org/#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.
 
   <li>Return the empty string.
 </ol>
@@ -8587,48 +8586,48 @@
 <p><a href=#action>Action</a>:
 
 <ol>
-  <li>If the <a href=#active-range>active range</a> is not <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-collapsed>collapsed</a></code>, <a href=#delete-the-selection>delete
+  <li>If the <a href=#active-range>active range</a> is not <code class=external data-anolis-spec=dom title=dom-Range-collapsed><a href=http://dom.spec.whatwg.org/#dom-range-collapsed>collapsed</a></code>, <a href=#delete-the-selection>delete
   the selection</a> and return true.
 
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at the <a href=#active-range>active range</a>'s
-  <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a>.
+  <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a>.
 
   <li>Let <var title="">node</var> and <var title="">offset</var> be the <a href=#active-range>active
-  range</a>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-start title=concept-range-start>start</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> and <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
+  range</a>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-start title=concept-range-start>start</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a> and <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-range-bp-offset title=concept-range-bp-offset>offset</a>.
 
   <li>Repeat the following steps:
 
   <ol>
-    <li>If <var title="">offset</var> is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> of <var title="">node</var> and
-    <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> is an <a href=#editable>editable</a>
-    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, remove <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code>
-    from its <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
-
-    <li>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-    <var title="">offset</var> and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is an <a href=#editable>editable</a>
-    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a>, remove that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> from
+    <li>If <var title="">offset</var> is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> of <var title="">node</var> and
+    <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code> is an <a href=#editable>editable</a>
+    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, remove <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-Node-nextSibling><a href=http://dom.spec.whatwg.org/#dom-node-nextsibling>nextSibling</a></code>
+    from its <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
+
+    <li>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+    <var title="">offset</var> and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is an <a href=#editable>editable</a>
+    <a href=#invisible>invisible</a> <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node title=concept-node>node</a>, remove that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> from
     <var title="">node</var>.
 
-    <li>Otherwise, if <var title="">offset</var> is the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> of
+    <li>Otherwise, if <var title="">offset</var> is the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> of
     <var title="">node</var> and <var title="">node</var> is an <a href=#inline-node>inline node</a>, or if
     <var title="">node</var> is <a href=#invisible>invisible</a>, set <var title="">offset</var> to one
-    plus the <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> of <var title="">node</var>, then set <var title="">node</var> to its
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
+    plus the <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> of <var title="">node</var>, then set <var title="">node</var> to its
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-parent title=concept-tree-parent>parent</a>.
 
     <li>
     <p class=comments>No special link behavior for forwardDelete here, unlike
     delete.
 
-    <p>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a>
-    <var title="">offset</var> and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is neither a <a href=#block-node>block node</a>
+    <p>Otherwise, if <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a>
+    <var title="">offset</var> and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is neither a <a href=#block-node>block node</a>
     nor a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> nor an <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code> nor a <a href=#collapsed-block-prop>collapsed block prop</a>, set
-    <var title="">node</var> to that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">offset</var> to zero.
+    <var title="">node</var> to that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a>, then set <var title="">offset</var> to zero.
 
     <li>Otherwise, break from this loop.
   </ol>
 
-  <li>If <var title="">node</var> is a <code class=external data-anolis-spec=dom><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and <var title="">offset</var> is not
-  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a>:
+  <li>If <var title="">node</var> is a <code class=external data-anolis-spec=dom><a href=http://dom.spec.whatwg.org/#text>Text</a></code> node and <var title="">offset</var> is not
+  <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a>:
 
   <ol>
     <li>Let <var title="">end offset</var> be <var title="">offset</var> plus one.
@@ -8642,7 +8641,7 @@
 
     <p>However, when I actually type in the text box as opposed to running
     semi-automated tests, IE9 has magical behavior: it replaces the base
-    character with something that looks like &#9676; U+25CC DOTTED CIRCLE.
+    character with something that looks like &#x25cc; U+25CC DOTTED CIRCLE.
     Further strikes of the delete key remove the diacritics, and the circle
     vanishes along with the last of them.  I wasn't able to get it to actually
     replace the base character, so I'm not sure what the point is.  The circle
@@ -8656,16 +8655,16 @@
     delete the combining mark too.
     </div>
 
-    <p>While <var title="">end offset</var> is not <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-length title=concept-node-length>length</a> and the
-    <var title="">end offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-characterdata-data>data</a></code> has
+    <p>While <var title="">end offset</var> is not <var title="">node</var>'s <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-node-length title=concept-node-length>length</a> and the
+    <var title="">end offset</var>th <a href=http://dev.w3.org/2006/webapi/WebIDL/#dfn-code-unit>code unit</a> of <var title="">node</var>'s <code class=external data-anolis-spec=dom title=dom-CharacterData-data><a href=http://dom.spec.whatwg.org/#dom-characterdata-data>data</a></code> has
     general category M when interpreted as a Unicode code point, add one to
     <var title="">end offset</var>.
 
     <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">node</var>, <var title="">offset</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">node</var>, <var title="">end offset</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li><a href=#delete-the-selection>Delete the selection</a>.
 
@@ -8674,16 +8673,16 @@
 
   <li>If <var title="">node</var> is an <a href=#inline-node>inline node</a>, return true.
 
-  <li>If <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var> and
-  that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or <code class=external data-anolis-spec=html title="the hr element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-hr-element>hr</a></code> or <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, but is not a
+  <li>If <var title="">node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">offset</var> and
+  that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is a <code class=external data-anolis-spec=html title="the br element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element>br</a></code> or <code class=external data-anolis-spec=html title="the hr element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-hr-element>hr</a></code> or <code class=external data-anolis-spec=html title="the img element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element>img</a></code>, but is not a
   <a href=#collapsed-block-prop>collapsed block prop</a>:
 
   <ol>
     <li>Call <code title=dom-Selection-collapse><a href=#dom-selection-collapse>collapse(<var title="">node</var>, <var title="">offset</var>)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li>Call <code title=dom-Selection-extend><a href=#dom-selection-extend>extend(<var title="">node</var>, <var title="">offset</var> + 1)</a></code> on the
-    <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
+    <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#context-object>context object</a>'s <a href=#concept-selection title=concept-selection>selection</a>.
 
     <li><a href=#delete-the-selection>Delete the selection</a>.
 
@@ -8697,19 +8696,19 @@
   <p>Let <var title="">end node</var> equal <var title="">node</var> and let <var title="">end
   offset</var> equal <var title="">offset</var>.
 
-  <li>If <var title="">end node</var> has a <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-index title=concept-tree-index>index</a> <var title="">end
-  offset</var>, and that <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>child</a> is a <a href=#collapsed-block-prop>collapsed block prop</a>, add
+  <li>If <var title="">end node</var> has a <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> with <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-index title=concept-tree-index>index</a> <var title="">end
+  offset</var>, and that <a class=external data-anolis-spec=dom href=http://dom.spec.whatwg.org/#concept-tree-child title=concept-tree-child>child</a> is a <a href=#collapsed-block-prop>collapsed block prop</a>, add
   one to <var title="">end offset</var>.
 
   <li>Repeat the followin