[html5] r8118 - [e] (0) Cleanup Affected topics: DOM APIs, HTML, HTML Syntax and Parsing, Securi [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 1 13:44:07 PDT 2013


Author: ianh
Date: 2013-08-01 13:44:06 -0700 (Thu, 01 Aug 2013)
New Revision: 8118

Modified:
   complete.html
   index
   source
Log:
[e] (0) Cleanup
Affected topics: DOM APIs, HTML, HTML Syntax and Parsing, Security, Video and Audio, Workers

Modified: complete.html
===================================================================
--- complete.html	2013-08-01 20:22:26 UTC (rev 8117)
+++ complete.html	2013-08-01 20:44:06 UTC (rev 8118)
@@ -8687,18 +8687,15 @@
     <p>If the new value is not a <code><a href=#the-body-element>body</a></code> or <code><a href=#frameset>frameset</a></code> element, this will throw a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception.</p>
    </dd>
 
-  </dl><p><dfn id=the-body-element-0>The body element</dfn> of a document is the first child of
-  <a href=#the-html-element-0>the <code>html</code> element</a> that is either a
-  <code><a href=#the-body-element>body</a></code> element or a <code><a href=#frameset>frameset</a></code> element. If
+  </dl><p><dfn id=the-body-element-0>The body element</dfn> of a document is the first child of <a href=#the-html-element-0>the <code>html</code>
+  element</a> that is either a <code><a href=#the-body-element>body</a></code> element or a <code><a href=#frameset>frameset</a></code> element. If
   there is no such element, it is null.</p>
 
   <div class=impl>
 
-  <p>The <dfn id=dom-document-body title=dom-document-body><code>body</code></dfn>
-  attribute, on getting, must return <a href=#the-body-element-0>the body element</a> of
-  the document (either a <code><a href=#the-body-element>body</a></code> element, a
-  <code><a href=#frameset>frameset</a></code> element, or null). On setting, the following
-  algorithm must be run:</p>
+  <p>The <dfn id=dom-document-body title=dom-document-body><code>body</code></dfn> attribute, on getting, must return
+  <a href=#the-body-element-0>the body element</a> of the document (either a <code><a href=#the-body-element>body</a></code> element, a
+  <code><a href=#frameset>frameset</a></code> element, or null). On setting, the following algorithm must be run:</p>
 
   <ol><!-- if changes are requested:
     http://lxr.mozilla.org/seamonkey/source/content/html/document/src/nsHTMLDocument.cpp
@@ -8707,20 +8704,16 @@
     search for ::setBody
     http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/dom/Document.cpp
     search for ::body
-   --><li>If the new value is not a <code><a href=#the-body-element>body</a></code> or
-   <code><a href=#frameset>frameset</a></code> element, then throw a
-   <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception and abort these
-   steps.</li>
+   --><li>If the new value is not a <code><a href=#the-body-element>body</a></code> or <code><a href=#frameset>frameset</a></code> element, then throw a
+   <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception and abort these steps.</li>
 
-   <li>Otherwise, if the new value is the same as <a href=#the-body-element-0>the body
-   element</a>, do nothing. Abort these steps.</li>
+   <li>Otherwise, if the new value is the same as <a href=#the-body-element-0>the body element</a>, do nothing. Abort
+   these steps.</li>
 
-   <li>Otherwise, if <a href=#the-body-element-0>the body element</a> is not null, then
-   replace that element with the new value in the DOM, as if the root
-   element's <code title="">replaceChild()</code> method had been
-   called with the new value and <a href=#the-body-element-0 title="the body element">the
-   incumbent body element</a> as its two arguments respectively,
-   then abort these steps.</li>
+   <li>Otherwise, if <a href=#the-body-element-0>the body element</a> is not null, then replace that element with the
+   new value in the DOM, as if the root element's <code title="">replaceChild()</code> method had
+   been called with the new value and <a href=#the-body-element-0 title="the body element">the incumbent body
+   element</a> as its two arguments respectively, then abort these steps.</li>
 
    <li>Otherwise, if there is no root element, throw a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception
    and abort these steps.</li>
@@ -13429,12 +13422,12 @@
     <a href=#character-encoding-declaration>character encoding declaration</a>. <span class=impl>This state's user agent
     requirements are all handled by the parsing section of the specification.</span></p>
 
-<!--CLEANUP-->
     <p>For <code><a href=#the-meta-element>meta</a></code> elements with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code>
     attribute in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration
     state</a>, the <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute must have a value
     that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for a string that consists of: the literal
-    string "<code title="">text/html;</code>", optionally followed by any number of <a href=#space-character title="space character">space characters</a>, followed by the literal string "<code title="">charset=</code>", followed by one of the <a href=#encoding-label title="encoding label">labels</a> of the <a href=#encoding title=encoding>character encoding</a> of the <a href=#character-encoding-declaration>character encoding
+    string "<code title="">text/html;</code>", optionally followed by any number of <a href=#space-character title="space character">space characters</a>, followed by the literal string "<code title="">charset=</code>", followed by one of the <a href=#encoding-label title="encoding label">labels</a> of
+    the <a href=#encoding title=encoding>character encoding</a> of the <a href=#character-encoding-declaration>character encoding
     declaration</a>.</p>
 
     <p>A document must not contain both a <code><a href=#the-meta-element>meta</a></code> element with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration state</a> and a
@@ -25170,15 +25163,16 @@
     interfaces.</p>
     </div>
    </dd>
-  </dl><!--TOPIC:HTML--><!--CLEANUP--><p>The <code><a href=#the-embed-element>embed</a></code> element provides an integration point for an external
-  (typically non-HTML) application or interactive content.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-embed-element>embed</a></code> element provides an integration point for an external (typically
+  non-HTML) application or interactive content.</p>
 
   <p>The <dfn id=attr-embed-src title=attr-embed-src><code>src</code></dfn> attribute gives the address of the
   resource being embedded. The attribute, if present, must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL
   potentially surrounded by spaces</a>.</p>
 
-  <p>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is specified on an <code><a href=#the-embed-element>embed</a></code>
-  element, then the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute must also be specified.</p>
+  <p>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is specified on an
+  <code><a href=#the-embed-element>embed</a></code> element, then the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute must also
+  be specified.</p>
 
   <p>The <dfn id=attr-embed-type title=attr-embed-type><code>type</code></dfn> attribute, if present, gives the
   <a href=#mime-type>MIME type</a> by which the plugin to instantiate is selected. The value must be a
@@ -25217,8 +25211,8 @@
 
   </ul><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever a <a href=#concept-embed-active title=concept-embed-active>potentially active</a> <code><a href=#the-embed-element>embed</a></code> element that is
   remaining <a href=#concept-embed-active title=concept-embed-active>potentially active</a> and has its <code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute set, changed, or removed or its <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute set, changed, or removed, the user agent must
-  <a href=#queue-a-task>queue a task</a> using the <dfn id=embed-task-source>embed task source</dfn> to run
-  <a href=#the-embed-element-setup-steps>the <code>embed</code> element setup steps</a>.</p>
+  <a href=#queue-a-task>queue a task</a> using the <dfn id=embed-task-source>embed task source</dfn> to run <a href=#the-embed-element-setup-steps>the
+  <code>embed</code> element setup steps</a>.</p>
 
   <p><dfn id=the-embed-element-setup-steps>The <code>embed</code> element setup steps</dfn> are as follows:</p>
 
@@ -25250,32 +25244,34 @@
         follows (stopping at the first substep that determines the type):</p>
 
         <ol><li><p>If the element has a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute, and that
-         attribute's value is a type that a <a href=#plugin>plugin</a> supports, then the value of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is the <a href=#concept-embed-type title=concept-embed-type>content's
-         type</a>.</li>
+         attribute's value is a type that a <a href=#plugin>plugin</a> supports, then the value of the
+         <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is the <a href=#concept-embed-type title=concept-embed-type>content's type</a>.</li>
 
          <li>
 
           <!-- if we get to this point we know we can successfully parsed the URL, since this algorithm is
           only used after fetching the resource in the steps above -->
 
-          <p>Otherwise, if applying the <a href=#url-parser>URL parser</a> algorithm to the <a href=#url>URL</a> of the
-          specified resource (after any redirects) results in a <a href=#parsed-url>parsed URL</a> whose <a href=#concept-url-path title=concept-url-path>path</a> component matches a pattern that a <a href=#plugin>plugin</a>
-          supports, then the <a href=#concept-embed-type title=concept-embed-type>content's type</a> is the type that that
-          plugin can handle.</p>
+          <p>Otherwise, if applying the <a href=#url-parser>URL parser</a> algorithm to the <a href=#url>URL</a> of
+          the specified resource (after any redirects) results in a <a href=#parsed-url>parsed URL</a> whose
+          <a href=#concept-url-path title=concept-url-path>path</a> component matches a pattern that a
+          <a href=#plugin>plugin</a> supports, then the <a href=#concept-embed-type title=concept-embed-type>content's
+          type</a> is the type that that plugin can handle.</p>
 
-          <p class=example>For example, a plugin might say that it can handle resources with <a href=#concept-url-path title=concept-url-path>path</a> components that end with the four character string "<code title="">.swf</code>".</p>
+          <p class=example>For example, a plugin might say that it can handle resources with <a href=#concept-url-path title=concept-url-path>path</a> components that end with the four character string
+          "<code title="">.swf</code>".</p>
 
           <!-- it's sad that we have to do extension sniffing. sigh. -->
           <!-- see also <object> which has a similar step -->
 
          </li>
 
-         <li><p>Otherwise, if the specified resource has <a href=#content-type title=Content-Type>explicit Content-Type
-         metadata</a>, then that is the <a href=#concept-embed-type title=concept-embed-type>content's
+         <li><p>Otherwise, if the specified resource has <a href=#content-type title=Content-Type>explicit
+         Content-Type metadata</a>, then that is the <a href=#concept-embed-type title=concept-embed-type>content's
          type</a>.</li>
 
-         <li><p>Otherwise, the content has no <a href=#concept-embed-type title=concept-embed-type>type</a> and there can
-         be no appropriate <a href=#plugin>plugin</a> for it.</li>
+         <li><p>Otherwise, the content has no <a href=#concept-embed-type title=concept-embed-type>type</a> and there
+         can be no appropriate <a href=#plugin>plugin</a> for it.</li>
 
          <!-- This algorithm is a monument to bad design. Go legacy! -->
 
@@ -25624,11 +25620,13 @@
 
     <ol><li><p>If the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is present and its value is
      not a type that the user agent supports, and is not a type that the user agent can find a
-     <a href=#plugin>plugin</a> for, then the user agent may jump to the step below labeled <i>fallback</i> without fetching the content to examine its real type.</li>
+     <a href=#plugin>plugin</a> for, then the user agent may jump to the step below labeled <i>fallback</i>
+     without fetching the content to examine its real type.</li>
 
      <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <a href=#url>URL</a> specified by the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute, relative to the element.</li>
 
-     <li><p>If that failed, <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element, then jump to the step below labeled <i>fallback</i>.</li>
+     <li><p>If that failed, <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element, then jump to the step below labeled
+     <i>fallback</i>.</li>
 
      <li>
 
@@ -25650,10 +25648,11 @@
 
      <li><p>If the resource is not yet available (e.g. because the resource was not available in the
      cache, so that loading the resource required making a request over the network), then jump to
-     the step below labeled <i>fallback</i>. The <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a task">queued</a> by the
-     <a href=#networking-task-source>networking task source</a> once the resource is available must restart this algorithm
-     from this step. Resources can load incrementally; user agents may opt to consider a resource
-     "available" whenever enough data has been obtained to begin processing the resource.</li>
+     the step below labeled <i>fallback</i>. The <a href=#concept-task title=concept-task>task</a> that is
+     <a href=#queue-a-task title="queue a task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the
+     resource is available must restart this algorithm from this step. Resources can load
+     incrementally; user agents may opt to consider a resource "available" whenever enough data has
+     been obtained to begin processing the resource.</li>
 
      <li><p>If the load failed (e.g. there was an HTTP 404 error, there was a DNS error), <a href=#fire-a-simple-event>fire
      a simple event</a> named <code title=event-error>error</code> at the element, then jump to
@@ -25900,7 +25899,8 @@
 
         <p>Otherwise, the user agent should <a href=#object-plugin>use the plugin that supports
         <var title="">resource type</var></a> and pass the content of the resource to that
-        <a href=#plugin>plugin</a>. If the <a href=#plugin>plugin</a> reports an error, then jump to the step below labeled <i>fallback</i>.</p>
+        <a href=#plugin>plugin</a>. If the <a href=#plugin>plugin</a> reports an error, then jump to the step
+        below labeled <i>fallback</i>.</p>
 
        </dd>
 
@@ -25966,7 +25966,8 @@
 
        <dd>
 
-        <p>The given <var title="">resource type</var> is not supported. Jump to the step below labeled <i>fallback</i>.</p>
+        <p>The given <var title="">resource type</var> is not supported. Jump to the step below
+        labeled <i>fallback</i>.</p>
 
         <p class=note>If the previous step ended with the <var title="">resource type</var> being
         unknown, this is the case that is triggered.</p>
@@ -26152,7 +26153,7 @@
   // <a href="#HTMLParamElement-partial">also has obsolete members</a>
 };</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-param-element>param</a></code> element defines parameters for plugins
+  </dl><!--TOPIC:HTML--><!--CLEANUP--><p>The <code><a href=#the-param-element>param</a></code> element defines parameters for plugins
   invoked by <code><a href=#the-object-element>object</a></code> elements. It does not <a href=#represents title=represents>represent</a> anything on its own.</p>
 
   <p>The <dfn id=attr-param-name title=attr-param-name><code>name</code></dfn>
@@ -27399,14 +27400,14 @@
 
   </dl><div class=impl>
 
-<!--CLEANUP-->
-  <p>The <dfn id=dom-navigator-canplaytype title=dom-navigator-canPlayType><code>canPlayType(<var title="">type</var>)</code></dfn> method must return <dfn id=dom-canplaytypeenum-nil title=dom-CanPlayTypeEnum-nil>the empty string</dfn> if <var title="">type</var>
-  is <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot render</a> or is the type
-  "<code>application/octet-stream</code>"; it must return "<dfn id=dom-canplaytypeenum-probably title=dom-CanPlayTypeEnum-probably><code>probably</code></dfn>" if the
-  user agent is confident that the type represents a <a href=#media-resource>media resource</a> that it can render
-  if used in with this <code><a href=#the-audio-element>audio</a></code> or <code><a href=#the-video-element>video</a></code> element; and it must return "<dfn id=dom-canplaytypeenum-maybe title=dom-CanPlayTypeEnum-maybe><code>maybe</code></dfn>" otherwise. Implementors are encouraged to return "<code title=dom-CanPlayTypeEnum-maybe><a href=#dom-canplaytypeenum-maybe>maybe</a></code>" unless the type can be confidently established as being supported or not.
-  Generally, a user agent should never return "<code title=dom-CanPlayTypeEnum-probably><a href=#dom-canplaytypeenum-probably>probably</a></code>" for a type that
-  allows the <code title="">codecs</code> parameter if that parameter is not present.</p>
+  <p>The <dfn id=dom-navigator-canplaytype title=dom-navigator-canPlayType><code>canPlayType(<var title="">type</var>)</code></dfn> method must return <dfn id=dom-canplaytypeenum-nil title=dom-CanPlayTypeEnum-nil>the
+  empty string</dfn> if <var title="">type</var> is <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
+  render</a> or is the type "<code>application/octet-stream</code>"; it must return "<dfn id=dom-canplaytypeenum-probably title=dom-CanPlayTypeEnum-probably><code>probably</code></dfn>" if the user agent is confident
+  that the type represents a <a href=#media-resource>media resource</a> that it can render if used in with this
+  <code><a href=#the-audio-element>audio</a></code> or <code><a href=#the-video-element>video</a></code> element; and it must return "<dfn id=dom-canplaytypeenum-maybe title=dom-CanPlayTypeEnum-maybe><code>maybe</code></dfn>" otherwise. Implementors are encouraged
+  to return "<code title=dom-CanPlayTypeEnum-maybe><a href=#dom-canplaytypeenum-maybe>maybe</a></code>" unless the type can be
+  confidently established as being supported or not. Generally, a user agent should never return
+  "<code title=dom-CanPlayTypeEnum-probably><a href=#dom-canplaytypeenum-probably>probably</a></code>" for a type that allows the <code title="">codecs</code> parameter if that parameter is not present.</p>
 
   </div>
 
@@ -27624,7 +27625,7 @@
   algorithm). Steps in such sections are marked with &#x231b;.</p>
 
   <ol><!-- precondition: networkState == NETWORK_EMPTY or we're coming straight from the algorithm above
-                      (where setting it to empty is commented out) --><!--CLEANUP--><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
+                      (where setting it to empty is commented out) --><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
    the <code title=dom-media-NETWORK_NO_SOURCE><a href=#dom-media-network_no_source>NETWORK_NO_SOURCE</a></code> value.</li>
 
    <li><p>Set the element's <a href=#show-poster-flag>show poster flag</a> to true.</li>
@@ -27786,9 +27787,8 @@
      <var title="">absolute URL</var>. If that algorithm returns without aborting <em>this</em> one,
      then the load failed.</li>
 
-     <li><p><i title="">Failed with elements</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task
-     source</a>, to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code>
-     at the <var title="">candidate</var> element.</li>
+     <li><p><i title="">Failed with elements</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM
+     manipulation task source</a>, to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the <var title="">candidate</var> element.</li>
 
      <li><p>Asynchronously <a href=#await-a-stable-state>await a stable state</a>. The <a href=#synchronous-section>synchronous section</a>
      consists of all the remaining steps of this algorithm until the algorithm says the
@@ -27977,8 +27977,8 @@
        <li><p>Update the <a href=#media-element>media element</a>'s <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute's <code><a href=#audiotracklist>AudioTrackList</a></code>
        object with the new <code><a href=#audiotrack>AudioTrack</a></code> object.</li>
 
-       <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and that
-       uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
+       <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and
+       that uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
        <code><a href=#audiotrack>AudioTrack</a></code> object, at this <code><a href=#audiotracklist>AudioTrackList</a></code> object.</li>
 
       </ol></dd>
@@ -65547,8 +65547,9 @@
   <p id=security-2>User agents must throw a <code><a href=#securityerror>SecurityError</a></code> exception whenever any
   properties of a <code><a href=#window>Window</a></code> object are accessed when the <a href=#incumbent-script>incumbent script</a> has
   an <a href=#effective-script-origin>effective script origin</a> that is not the <a href=#same-origin title="same origin">same</a> as
-  <a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>,
-  with the following exceptions:</p>
+  <a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's
+  <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, with the following
+  exceptions:</p>
 
   <ul><li>The <code title=dom-location><a href=#dom-location>location</a></code> attribute
 
@@ -65577,10 +65578,11 @@
    <li>The <a href=#dynamic-nested-browsing-context-properties>dynamic nested browsing context properties</a>
 
   </ul><p>When the <a href=#incumbent-script>incumbent script</a>'s <a href=#effective-script-origin>effective script origin</a> is different than
-  a <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, the
-  user agent must act as if any changes to that <code><a href=#window>Window</a></code> object's properties, getters,
-  setters, etc, were not present, and as if all the properties of that <code><a href=#window>Window</a></code> object
-  had their [[Enumerable]] attribute set to false.</p>
+  a <a href=#concept-document-window title=concept-document-window><code>Window</code> object's
+  <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, the user agent must act as if
+  any changes to that <code><a href=#window>Window</a></code> object's properties, getters, setters, etc, were not
+  present, and as if all the properties of that <code><a href=#window>Window</a></code> object had their [[Enumerable]]
+  attribute set to false.</p>
 
   <p>For members that return objects (including function objects), each distinct <a href=#effective-script-origin>effective
   script origin</a> that is not the same as the <code><a href=#window>Window</a></code> object's
@@ -65711,8 +65713,9 @@
   context</a> was just created as part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
   browsing context name</a>, then the user agent must instead <a href=#queue-a-task>queue a task</a> to
   <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the selected
-  <a href=#browsing-context>browsing context</a>'s <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context>browsing context</a>'s
-  <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object).</p>
+  <a href=#browsing-context>browsing context</a>'s <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context>browsing context</a>'s <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a> object
+  (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code>
+  object).</p>
 
   <p>The method must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing context</a>
   that was navigated, or null if no browsing context was navigated.</p>
@@ -66213,12 +66216,12 @@
      <dd>
 
       <p>The <a href=#origin>origin</a> is an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the
-      <a href=#origin>origin</a> of the <a href=#incumbent-script>incumbent script</a> when
-      the <a href=#navigate>navigate</a> algorithm was invoked, or, if no <a href=#concept-script title=concept-script>script</a>
-      was involved, of the <code><a href=#document>Document</a></code> of the element that initiated the <a href=#navigate title=navigate>navigation</a> to that <a href=#url>URL</a>.</p>
+      <a href=#origin>origin</a> of the <a href=#incumbent-script>incumbent script</a> when the <a href=#navigate>navigate</a>
+      algorithm was invoked, or, if no <a href=#concept-script title=concept-script>script</a> was involved, of
+      the <code><a href=#document>Document</a></code> of the element that initiated the <a href=#navigate title=navigate>navigation</a> to that <a href=#url>URL</a>.</p>
 
-      <p>The <a href=#effective-script-origin>effective script origin</a> is initially an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#effective-script-origin>effective script origin</a> of that same <a href=#concept-script title=concept-script>script</a> or
-      <code><a href=#document>Document</a></code>.</p>
+      <p>The <a href=#effective-script-origin>effective script origin</a> is initially an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#effective-script-origin>effective script origin</a> of that
+      same <a href=#concept-script title=concept-script>script</a> or <code><a href=#document>Document</a></code>.</p>
 
      </dd>
 
@@ -66359,7 +66362,8 @@
 
      <dt>If a script is a function or other code reference created by another script</dt>
 
-     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the function or other code reference was created.</dd>
+     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the function or other code reference
+     was created.</dd>
 
 
      <dt>If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code>
@@ -66399,7 +66403,8 @@
      <dt>If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code>
      URL</a> to which a <a href=#browsing-context>browsing context</a> is being <a href=#navigate title=navigate>navigated</a>, the URL having been provided by script</dt>
 
-     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the <a href=#navigate>navigate</a> algorithm was invoked.</dd>
+     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the <a href=#navigate>navigate</a> algorithm was
+     invoked.</dd>
 
     </dl><p>The <a href=#origin>origin</a> of the script is then an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#origin>origin</a> of the owner, and the
     <a href=#effective-script-origin>effective script origin</a> of the script is an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#effective-script-origin>effective script origin</a> of the
@@ -67522,8 +67527,8 @@
   context</a> to the specified <var title="">url</var> with <a href=#replacement-enabled>replacement enabled</a>.</p>
 
   <p>Navigation for the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> and <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> methods must be done with the <a href="#script's-browsing-context" title="script's
-  browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent script</a> as the
-  <a href=#source-browsing-context>source browsing context</a>.</p>
+  browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent script</a> as the <a href=#source-browsing-context>source
+  browsing context</a>.</p>
 
   <p>If the <a href=#resolve-a-url title="resolve a url">resolving</a> step of the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> and <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> methods is not successful, then the user agent must
   instead throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception.</p>
@@ -71515,8 +71520,6 @@
   <p class=note>The WebIDL specification also manipulates the <a href=#stack-of-incumbent-scripts>stack of incumbent
   scripts</a>. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
-<!--CLEANUP:all occurrences of 'incumbent'-->
-
   <hr><p>Each <a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a> has a <dfn id=running-mutation-observers>running mutation
   observers</dfn> flag, which must initially be false. It is used to prevent reentrant invocation of
   the algorithm to <a href=#concept-mo-invoke title=concept-mo-invoke>invoke <code>MutationObserver</code>
@@ -73625,9 +73628,8 @@
 
     <p>If the <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> of the <a href=#active-document>active document</a> of the
     <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
-    script</a> has its <a href=#sandboxed-auxiliary-navigation-browsing-context-flag>sandboxed auxiliary
-    navigation browsing context flag</a> set, then return the empty string and abort these
-    steps.</p>
+    script</a> has its <a href=#sandboxed-auxiliary-navigation-browsing-context-flag>sandboxed auxiliary navigation browsing context flag</a> set,
+    then return the empty string and abort these steps.</p>
 
    </li>
 
@@ -73640,9 +73642,8 @@
 
    <li>
 
-<!--CLEANUP-->
-    <p>Let <var title="">the list of background browsing
-    contexts</var> be a list of all the browsing contexts that:</p>
+    <p>Let <var title="">the list of background browsing contexts</var> be a list of all the
+    browsing contexts that:</p>
 
     <ul><li>are part of the same <a href=#unit-of-related-browsing-contexts>unit of related browsing contexts</a> as the browsing context
      of the <code><a href=#window>Window</a></code> object on which the <code title=dom-showModalDialog><a href=#dom-showmodaldialog>showModalDialog()</a></code> method was called, and that</li>
@@ -73651,8 +73652,8 @@
      origin">same</a> as <var title="">incumbent origin</var>,</li> <!-- Note that changing
      document.domain to talk to another domain doesn't make you able to block that domain -->
 
-    </ul><p>...as well as any browsing contexts that are nested inside any
-    of the browsing contexts matching those conditions.</p>
+    </ul><p>...as well as any browsing contexts that are nested inside any of the browsing contexts
+    matching those conditions.</p>
 
    </li>
 
@@ -73718,9 +73719,8 @@
 
     <p><a href=#navigate>Navigate</a><!--DONAV showModalDialog--> the new <a href=#browsing-context>browsing context</a> to
     the <a href=#absolute-url>absolute URL</a> that resulted from <a href=#resolve-a-url title="resolve a url">resolving</a>
-    <var title="">url</var> earlier, with <a href=#replacement-enabled>replacement enabled</a>, and with the <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
-    script</a> as the <a href=#source-browsing-context>source browsing
-    context</a>.</p>
+    <var title="">url</var> earlier, with <a href=#replacement-enabled>replacement enabled</a>, and with the <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent script</a>
+    as the <a href=#source-browsing-context>source browsing context</a>.</p>
 
    </li>
 
@@ -73740,11 +73740,10 @@
 
    <li>
 
-    <p>If the <a href=#auxiliary-browsing-context>auxiliary browsing context</a>'s <a href=#return-value-origin>return value origin</a> at
-    the time the browsing context was <a href=#close-a-browsing-context title="close a browsing
-    context">closed</a> was the <a href=#same-origin title="same origin">same</a> as <var title="">incumbent origin</var>,
-    then let <var title="">return value</var> be the <a href=#auxiliary-browsing-context>auxiliary browsing
-    context</a>'s <a href=#return-value>return value</a> as it stood when the browsing context was <a href=#close-a-browsing-context title="close a browsing context">closed</a>.</p>
+    <p>If the <a href=#auxiliary-browsing-context>auxiliary browsing context</a>'s <a href=#return-value-origin>return value origin</a> at the time
+    the browsing context was <a href=#close-a-browsing-context title="close a browsing context">closed</a> was the <a href=#same-origin title="same origin">same</a> as <var title="">incumbent origin</var>, then let <var title="">return value</var> be the <a href=#auxiliary-browsing-context>auxiliary browsing context</a>'s <a href=#return-value>return
+    value</a> as it stood when the browsing context was <a href=#close-a-browsing-context title="close a browsing
+    context">closed</a>.</p>
 
     <p>Otherwise, let <var title="">return value</var> be undefined.</p>
 
@@ -80767,8 +80766,8 @@
    <li><p>Create a new <code><a href=#worker>Worker</a></code> object, associated with <var title="">worker global
    scope</var>. Let <var title="">worker</var> be this new object.</li>
 
-   <li><p><a href=#create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a> owned by the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.
-   Let this be the <var title="">outside port</var>.</li>
+   <li><p><a href=#create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a> owned by the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent script</a>. Let
+   this be the <var title="">outside port</var>.</li>
 
    <li><p>Associate the <var title="">outside port</var> with <var title="">worker</var>.</li>
 
@@ -80792,8 +80791,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <a href=#list-of-relevant-document-objects-to-add>list of relevant <code>Document</code> objects to
-    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a>.</p>
+    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the
+    <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -80808,10 +80807,10 @@
    <li>
 
     <p>If the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a> is a
-    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object (i.e. we are creating a nested worker), add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
-    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global object">global
-    object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
+    script</a> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object (i.e. we are creating a nested worker),
+    add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of
+    the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global
+    object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -80819,8 +80818,9 @@
 
     <p><a href=#run-a-worker>Run a worker</a> for the resulting <a href=#absolute-url>absolute URL</a>, with the
     <a href="#script's-browsing-context">script's browsing context</a> of the <a href=#incumbent-script>incumbent script</a> as the <var title="">owner browsing context</var>, with the <a href="#script's-document">script's document</a> of the
-    <a href=#incumbent-script>incumbent script</a> as the <var title="">owner document</var>, with the <a href=#origin>origin</a>
-    of the <a href=#entry-script>entry script</a> as the <var title="">owner origin</var>, and with <var title="">worker global scope</var> as the global scope.</p>
+    <a href=#incumbent-script>incumbent script</a> as the <var title="">owner document</var>, with the
+    <a href=#origin>origin</a> of the <a href=#entry-script>entry script</a> as the <var title="">owner origin</var>,
+    and with <var title="">worker global scope</var> as the global scope.</p>
 
    </li>
 
@@ -80871,8 +80871,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <a href=#list-of-relevant-document-objects-to-add>list of relevant <code>Document</code> objects to
-    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a>.</p>
+    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the
+    <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -80906,9 +80906,9 @@
      <li>
 
       <p>If <var title="">worker global scope</var> is not null, but the user agent has been
-      configured to disallow communication between the <a href=#incumbent-script>incumbent script</a>
-      and the worker represented by the <var title="">worker global
-      scope</var>, then set <var title="">worker global scope</var> to null.</p>
+      configured to disallow communication between the <a href=#incumbent-script>incumbent script</a> and the worker
+      represented by the <var title="">worker global scope</var>, then set <var title="">worker
+      global scope</var> to null.</p>
 
       <p class=note>For example, a user agent could have a development mode that isolates a
       particular <a href=#top-level-browsing-context>top-level browsing context</a> from all other pages, and scripts in that
@@ -80953,11 +80953,10 @@
        <li>
 
         <p>If the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-        script</a> is a
-        <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the
-        list of <a href="#the-worker's-workers">the worker's workers</a> of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that
-        is the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-        script</a>.</p>
+        script</a> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global
+        scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
+        <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global
+        object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
 
        </li>
 
@@ -81004,10 +81003,9 @@
    <li>
 
     <p>If the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a> that invoked the constructor is a
-    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list
-    of <a href="#the-worker's-workers">the worker's workers</a> of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the
-    <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
+    script</a> that invoked the constructor is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
+    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global object">global
+    object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -81015,8 +81013,8 @@
 
     <p><a href=#run-a-worker>Run a worker</a> for <var title="">scriptURL</var>, with the <a href="#script's-browsing-context">script's browsing
     context</a> of the <a href=#incumbent-script>incumbent script</a> as the <var title="">owner browsing
-    context</var>, with the <a href="#script's-document">script's document</a> of the <a href=#incumbent-script>incumbent script</a>
-    the <var title="">owner document</var>, with the <a href=#origin>origin</a> of the <a href=#entry-script>entry
+    context</var>, with the <a href="#script's-document">script's document</a> of the <a href=#incumbent-script>incumbent script</a> the
+    <var title="">owner document</var>, with the <a href=#origin>origin</a> of the <a href=#entry-script>entry
     script</a> as the <var title="">owner origin</var>, and with <var title="">worker global
     scope</var> as the global scope.</p>
 
@@ -81045,84 +81043,70 @@
 
   <h4 id=importing-scripts-and-libraries><span class=secno>9.3.1 </span>Importing scripts and libraries</h4>
 
-<!--CLEANUP-->
-  <p>When a script invokes the <dfn id=dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts><code>importScripts(<var title="">urls</var>)</code></dfn> method on a
-  <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, the user agent must run the
-  following steps:</p>
+  <p>When a script invokes the <dfn id=dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts><code>importScripts(<var title="">urls</var>)</code></dfn> method on a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, the user
+  agent must run the following steps:</p>
 
-  <ol><li><p>If there are no arguments, return without doing
-   anything. Abort these steps.</li>
+  <ol><li><p>If there are no arguments, return without doing anything. Abort these steps.</li>
 
-   <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> each
-   argument.</li>
+   <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> each argument.</li>
 
-   <li><p>If any fail, throw a <code><a href=#syntaxerror>SyntaxError</a></code>
-   exception and abort these steps.</li>
+   <li><p>If any fail, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps.</li>
 
    <li>
 
-    <p>Attempt to <a href=#fetch>fetch</a><!--FETCH--> each resource
-    identified by the resulting <a href=#absolute-url title="absolute URL">absolute
-    URLs</a>, from the <a href=#entry-script>entry script</a>'s
-    <a href=#origin>origin</a>, using the <a href=#entry-script>entry script</a>'s <a href="#script's-referrer-source" title="script's referrer source">referrer source</a>, and with
-    the <i>synchronous flag</i> set.</p> <!-- not http-origin privacy
-    sensitive -->
+    <p>Attempt to <a href=#fetch>fetch</a><!--FETCH--> each resource identified by the resulting <a href=#absolute-url title="absolute URL">absolute URLs</a>, from the <a href=#entry-script>entry script</a>'s
+    <a href=#origin>origin</a>, using the <a href=#entry-script>entry script</a>'s <a href="#script's-referrer-source" title="script's referrer
+    source">referrer source</a>, and with the <i>synchronous flag</i> set.</p> <!-- not
+    http-origin privacy sensitive -->
 
    </li>
 
    <li>
 
-    <p>For each argument in turn, in the order given, starting with
-    the first one, run these substeps:</p>
+    <p>For each argument in turn, in the order given, starting with the first one, run these
+    substeps:</p>
 
     <ol><li>
 
-      <p>Wait for the fetching attempt for the corresponding resource
-      to complete.</p>
+      <p>Wait for the fetching attempt for the corresponding resource to complete.</p>
 
-      <p>If the fetching attempt failed, throw a
-      <code><a href=#networkerror>NetworkError</a></code> exception and abort all these
-      steps.</p>
+      <p>If the fetching attempt failed, throw a <code><a href=#networkerror>NetworkError</a></code> exception and abort all
+      these steps.</p>
 
       <p>If the attempt succeeds, then let <var title="">source</var> be the result of running the
       <a href=#utf-8-decode>UTF-8 decode</a> algorithm on the script resource.</p>
 
       <p>Let <var title="">language</var> be JavaScript.</p>
 
-      <p class=note>As with the worker's script, the script here is
-      always assumed to be JavaScript, regardless of the MIME
-      type.</p>
+      <p class=note>As with the worker's script, the script here is always assumed to be
+      JavaScript, regardless of the MIME type.</p>
 
      </li>
 
      <li>
 
-      <p><a href=#create-a-script>Create a script</a>, using <var title="">source</var> as the script source, the <a href=#url>URL</a>
-      from which <var title="">source</var> was obtained, and <var title="">language</var> as the scripting language, using the
-      same global object, browsing context, document, referrer source,
-      URL character encoding, and base URL as the <a href=#concept-script title=concept-script>script</a> that was created by the
-      worker's <a href=#run-a-worker>run a worker</a> algorithm.</p>
+      <p><a href=#create-a-script>Create a script</a>, using <var title="">source</var> as the script source, the
+      <a href=#url>URL</a> from which <var title="">source</var> was obtained, and <var title="">language</var> as the scripting language, using the same global object, browsing
+      context, document, referrer source, URL character encoding, and base URL as the <a href=#concept-script title=concept-script>script</a> that was created by the worker's <a href=#run-a-worker>run a
+      worker</a> algorithm.</p>
 
       <p>If the script came from a resource whose <a href=#url>URL</a> does not have the <a href=#same-origin>same
       origin</a> as the <a href=#worker-origin>worker origin</a>, then pass the <var title="">muted
       errors</var> flag to the <a href=#create-a-script-from-a-node>create a script from a node</a> algorithm.</p>
 
       <p>Let the newly created <a href=#concept-script title=concept-script>script</a> run until it either
-      returns, fails to parse, fails to catch an exception, or gets
-      prematurely aborted by the "<a href=#kill-a-worker>kill a worker</a>" or
-      "<a href=#terminate-a-worker>terminate a worker</a>" algorithms defined above.</p>
+      returns, fails to parse, fails to catch an exception, or gets prematurely aborted by the
+      "<a href=#kill-a-worker>kill a worker</a>" or "<a href=#terminate-a-worker>terminate a worker</a>" algorithms defined
+      above.</p>
 
-      <p>If it failed to parse, then throw an ECMAScript
-      <code title=js-SyntaxError><a href=#js-syntaxerror>SyntaxError</a></code> exception and abort all these
-      steps. <a href=#refsECMA262>[ECMA262]</a></p>
+      <p>If it failed to parse, then throw an ECMAScript <code title=js-SyntaxError><a href=#js-syntaxerror>SyntaxError</a></code> exception and abort all these steps. <a href=#refsECMA262>[ECMA262]</a></p>
 
-      <p>If an exception was thrown or if the script was prematurely
-      aborted, then abort all these steps, letting the exception or
-      aborting continue to be processed by the <a href=#incumbent-script>incumbent script</a>.</p>
+      <p>If an exception was thrown or if the script was prematurely aborted, then abort all these
+      steps, letting the exception or aborting continue to be processed by the <a href=#incumbent-script>incumbent
+      script</a>.</p>
 
-      <p>If the "<a href=#kill-a-worker>kill a worker</a>" or "<a href=#terminate-a-worker>terminate a
-      worker</a>" algorithms abort the script then abort all these
-      steps.</p>
+      <p>If the "<a href=#kill-a-worker>kill a worker</a>" or "<a href=#terminate-a-worker>terminate a worker</a>" algorithms abort
+      the script then abort all these steps.</p>
 
      </li>
 
@@ -83141,8 +83125,8 @@
     initialized to the value of <var title="">message clone</var>, the <code title=dom-MessageEvent-origin><a href=#dom-messageevent-origin>origin</a></code> attribute must be initialized to the <a href=#unicode-serialization-of-an-origin title="Unicode serialization of an origin">Unicode serialization</a> of the
     <a href=#origin>origin</a> of the <a href=#incumbent-script>incumbent script</a>, the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be initialized to the
     <a href="#script's-global-object">script's global object</a>'s <code><a href=#windowproxy>WindowProxy</a></code> object, and the <code title=dom-MessageEvent-ports><a href=#dom-messageevent-ports>ports</a></code> attribute must be initialized to the <var title="">new ports</var> array.
-    </p> <!-- invariant: the global object is always a Window if the
-    script can see this method -->
+    </p>
+    <!-- invariant: the global object is always a Window if the script can see this method -->
 
    </li>
 
@@ -89326,8 +89310,8 @@
     interface), with the tag name being the name of that element, with the node being in the given
     namespace, and with the attributes on the node being those given in the given token.</p>
 
-    <p>The interface appropriate for an element in the <a href=#html-namespace-0>HTML namespace</a> that is not defined
-    in this specification (or <a href=#other-applicable-specifications>other applicable specifications</a>) is
+    <p>The interface appropriate for an element in the <a href=#html-namespace-0>HTML namespace</a> that is not
+    defined in this specification (or <a href=#other-applicable-specifications>other applicable specifications</a>) is
     <code><a href=#htmlunknownelement>HTMLUnknownElement</a></code>. Elements in other namespaces whose interface is not defined by
     that namespace's specification must use the interface <code><a href=#element>Element</a></code>.</p>
 
@@ -89337,23 +89321,17 @@
    </li>
 
    <li><p>If the newly created element has an <code title="">xmlns</code> attribute <em>in the
-   <a href=#xmlns-namespace>XMLNS namespace</a></em> whose value is not exactly the same as the element's namespace, that
-   is a <a href=#parse-error>parse error</a>. Similarly, if the newly created element has an <code title="">xmlns:xlink</code> attribute in the <a href=#xmlns-namespace>XMLNS namespace</a> whose value is not the
+   <a href=#xmlns-namespace>XMLNS namespace</a></em> whose value is not exactly the same as the element's namespace,
+   that is a <a href=#parse-error>parse error</a>. Similarly, if the newly created element has an <code title="">xmlns:xlink</code> attribute in the <a href=#xmlns-namespace>XMLNS namespace</a> whose value is not the
    <a href=#xlink-namespace>XLink Namespace</a>, that is a <a href=#parse-error>parse error</a>.</li>
 
-<!--CLEANUP-->
-   <li>
+   <li><p>If the newly created element is a <a href=#category-reset title=category-reset>resettable element</a>,
+   invoke its <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a>. (This initializes the
+   element's <a href=#concept-fe-value title=concept-fe-value>value</a> and <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> based on the element's attributes.)</li>
 
-    <p>If the newly created element is a <a href=#category-reset title=category-reset>resettable element</a>,
-    invoke its <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a>. (This initializes
-    the element's <a href=#concept-fe-value title=concept-fe-value>value</a> and <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> based on the element's attributes.)</p>
-
-   </li>
-
-   <li><p>If the element is a <a href=#form-associated-element>form-associated element</a>, and the <a href=#form-element-pointer><code title="">form</code> element pointer</a> is not null,
-   and there is no <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>,
-   and the newly created element is either not <a href=#category-form-attr title=category-form-attr>reassociateable</a> or doesn't
-   have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, <a href=#concept-form-association title=concept-form-association>associate</a> the newly created element with the
+   <li><p>If the element is a <a href=#form-associated-element>form-associated element</a>, and the <a href=#form-element-pointer><code title="">form</code> element pointer</a> is not null, and there is no <code><a href=#the-template-element>template</a></code>
+   element on the <a href=#stack-of-open-elements>stack of open elements</a>, and the newly created element is either not
+   <a href=#category-form-attr title=category-form-attr>reassociateable</a> or doesn't have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, <a href=#concept-form-association title=concept-form-association>associate</a> the newly created element with the
    <code><a href=#the-form-element>form</a></code> element pointed to by the <a href=#form-element-pointer><code title="">form</code> element
    pointer</a>, and suppress the running of the <a href=#reset-the-form-owner>reset the form owner</a> algorithm in
    the next step.</li>
@@ -89362,15 +89340,15 @@
 
   </ol><hr><!-- The names of these algorithms are kinda confusing; e.g. see the confusion in
          https://www.w3.org/Bugs/Public/show_bug.cgi?id=18367
-       Not sure what we could call them instead, though... --><p>When the steps below require the user agent to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token in a given namespace,
-  the user agent must run these steps:</p>
+       Not sure what we could call them instead, though... --><p>When the steps below require the user agent to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token
+  in a given namespace, the user agent must run these steps:</p>
 
-  <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate
-   place for inserting a node</a>.</li>
+  <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate place for
+   inserting a node</a>.</li>
 
-   <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the given namespace, with the
-   intended parent being the element in which the <var title="">adjusted insertion location</var>
-   finds itself.</li>
+   <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the given namespace, with the intended
+   parent being the element in which the <var title="">adjusted insertion location</var> finds
+   itself.</li>
 
    <li>
 
@@ -89390,7 +89368,8 @@
    <li><p>Return the newly created element.</li>
 
   </ol><p>When the steps below require the user agent to <dfn id=insert-an-html-element>insert an HTML element</dfn> for a token,
-  the user agent must <a href=#insert-a-foreign-element>insert a foreign element</a> for the token, in the <a href=#html-namespace-0>HTML namespace</a>.</p>
+  the user agent must <a href=#insert-a-foreign-element>insert a foreign element</a> for the token, in the <a href=#html-namespace-0>HTML
+  namespace</a>.</p>
 
   <hr><p>When the steps below require the user agent to <dfn id=adjust-mathml-attributes>adjust MathML attributes</dfn> for a token,
   then, if the token has an attribute named <code title="">definitionurl</code>, change its name to
@@ -89819,9 +89798,8 @@
     <p><a href=#insert-a-comment>Insert a comment</a> as the last child of the <code><a href=#document>Document</a></code> object.</p>
    </dd>
 
-   <dt>A character token that is one of U+0009 CHARACTER
-   TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
-   U+000D CARRIAGE RETURN (CR), or U+0020 SPACE</dt>
+   <dt>A character token that is one of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C
+   FORM FEED (FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE</dt>
    <dd>
     <p>Ignore the token.</p>
    </dd>
@@ -89829,27 +89807,24 @@
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
 
-<!--CLEANUP-->
-    <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML
-    namespace</a>, with the <code><a href=#document>Document</a></code> as the intended parent. Append it to the <code><a href=#document>Document</a></code>
-    object. Put this element in the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, with the
+    <code><a href=#document>Document</a></code> as the intended parent. Append it to the <code><a href=#document>Document</a></code> object. Put
+    this element in the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p id=parser-appcache>If the <code><a href=#document>Document</a></code> is being
-    loaded as part of <a href=#navigate title=navigate>navigation</a> of a
-    <a href=#browsing-context>browsing context</a>, then: if the newly created element
-    has a <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute
-    whose value is not the empty string, then <a href=#resolve-a-url title="resolve a
-    url">resolve</a> the value of that attribute to an
-    <a href=#absolute-url>absolute URL</a>, relative to the newly created element,
-    and if that is successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-    algorithm</a> with the result of applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorithm to
-    the resulting <a href=#parsed-url>parsed URL</a> with the <i>exclude fragment flag</i> set; otherwise, if there is no such attribute, or its value is
-    the empty string, or resolving its value fails, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-    algorithm</a> with no manifest. The algorithm must be passed
-    the <code><a href=#document>Document</a></code> object.</p>
+    <p id=parser-appcache>If the <code><a href=#document>Document</a></code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing context</a>, then: if the newly
+    created element has a <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute whose value is
+    not the empty string, then <a href=#resolve-a-url title="resolve a url">resolve</a> the value of that
+    attribute to an <a href=#absolute-url>absolute URL</a>, relative to the newly created element, and if that is
+    successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
+    algorithm</a> with the result of applying the <a href=#concept-url-serializer title=concept-url-serializer>URL
+    serializer</a> algorithm to the resulting <a href=#parsed-url>parsed URL</a> with the <i>exclude
+    fragment flag</i> set; otherwise, if there is no such attribute, or its value is the empty
+    string, or resolving its value fails, run the <a href=#concept-appcache-init title=concept-appcache-init>application
+    cache selection algorithm</a> with no manifest. The algorithm must be passed the
+    <code><a href=#document>Document</a></code> object.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before
+    head</a>".</p>
 
    </dd>
 
@@ -89866,24 +89841,21 @@
    <dt>Anything else</dt>
    <dd>
 
-    <p>Create an <code><a href=#the-html-element>html</a></code> element whose <code title=dom-Node-ownerDocument><a href=#dom-node-ownerdocument>ownerDocument</a></code> is the <code><a href=#document>Document</a></code> object. Append it to the
-    <code><a href=#document>Document</a></code> object. Put this element in the <a href=#stack-of-open-elements>stack
-    of open elements</a>.</p>
+    <p>Create an <code><a href=#the-html-element>html</a></code> element whose <code title=dom-Node-ownerDocument><a href=#dom-node-ownerdocument>ownerDocument</a></code> is the <code><a href=#document>Document</a></code> object. Append
+    it to the <code><a href=#document>Document</a></code> object. Put this element in the <a href=#stack-of-open-elements>stack of open
+    elements</a>.</p>
 
-    <p>If the <code><a href=#document>Document</a></code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing
-    context</a>, then: run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-    algorithm</a> with no manifest, passing it the
-    <code><a href=#document>Document</a></code> object.</p>
+    <p>If the <code><a href=#document>Document</a></code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing context</a>, then: run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection algorithm</a> with no manifest,
+    passing it the <code><a href=#document>Document</a></code> object.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before head</a>", then
-    reprocess the token.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before
+    head</a>", then reprocess the token.</p>
 
    </dd>
 
-  </dl><p>The root element can end up being removed from the
-  <code><a href=#document>Document</a></code> object, e.g. by scripts; nothing in particular
-  happens in such cases, content continues being appended to the nodes
-  as described in the next section.</p>
+  </dl><p>The root element can end up being removed from the <code><a href=#document>Document</a></code> object, e.g. by
+  scripts; nothing in particular happens in such cases, content continues being appended to the
+  nodes as described in the next section.</p>
 
 
   <h6 id=the-before-head-insertion-mode><span class=secno>12.2.5.4.3 </span>The "<dfn title="insertion mode: before head">before head</dfn>" insertion mode</h6>
@@ -89909,8 +89881,8 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in
+    body">in body</a>" <a href=#insertion-mode>insertion mode</a>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "head"</dt>
@@ -89918,10 +89890,11 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a>
-    to the newly created <code><a href=#the-head-element>head</a></code> element.</p>
+    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a> to the newly created
+    <code><a href=#the-head-element>head</a></code> element.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in
+    head</a>".</p>
 
    </dd>
 
@@ -89946,10 +89919,11 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for a "head" start tag token with no attributes.</p>
 
-    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a>
-    to the newly created <code><a href=#the-head-element>head</a></code> element.</p>
+    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a> to the newly created
+    <code><a href=#the-head-element>head</a></code> element.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in
+    head</a>".</p>
 
     <!-- end of fake <head> -->
 
@@ -89980,32 +89954,30 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in
+    body">in body</a>" <a href=#insertion-mode>insertion mode</a>.</p>
    </dd>
 
    <dt>A start tag whose tag name is one of: "base", "basefont",
    "bgsound", "link"</dt>
    <dd>
 
-    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately
-    pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately pop the <a href=#current-node>current
+    node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
-    token's <i>self-closing flag</i></a>, if it is set.</p>
+    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the token's <i>self-closing
+    flag</i></a>, if it is set.</p>
 
    </dd>
 
    <dt>A start tag whose tag name is "meta"</dt>
    <dd>
 
-    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately
-    pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately pop the <a href=#current-node>current
+    node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
-    token's <i>self-closing flag</i></a>, if it is set.</p>
+    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the token's <i>self-closing
+    flag</i></a>, if it is set.</p>
 
     <p id=meta-charset-during-parse>If the element has a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute, and <a href=#getting-an-encoding>getting an encoding</a> from
     its value results in a supported <a href=#ascii-compatible-character-encoding>ASCII-compatible character encoding</a> or <a href=#a-utf-16-encoding>a
@@ -90037,8 +90009,8 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inheadnoscript title="insertion mode: in head noscript">in head
-    noscript</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inheadnoscript title="insertion mode: in head noscript">in
+    head noscript</a>".</p>
 
    </dd>
 
@@ -90048,32 +90020,27 @@
 
     <p>Run these steps:</p>
 
-    <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate
-     place for inserting a node</a>.</li>
+    <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate place
+     for inserting a node</a>.</li>
 
-     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, with the
-     intended parent being the element in which the <var title="">adjusted insertion location</var>
-     finds itself.</li>
+     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, with
+     the intended parent being the element in which the <var title="">adjusted insertion
+     location</var> finds itself.</li>
 
      <li>
 
-<!--CLEANUP-->
-      <p>Mark the element as being <a href=#parser-inserted>"parser-inserted"</a> and
-      unset the element's <a href=#force-async>"force-async"</a> flag.</p>
+      <p>Mark the element as being <a href=#parser-inserted>"parser-inserted"</a> and unset the element's
+      <a href=#force-async>"force-async"</a> flag.</p>
 
-      <p class=note>This ensures that, if the script is external,
-      any <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>
-      calls in the script will execute in-line, instead of blowing the
-      document away, as would happen in most other cases. It also
-      prevents the script from executing until the end tag is
-      seen.</p>
+      <p class=note>This ensures that, if the script is external, any <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> calls in the script will execute in-line,
+      instead of blowing the document away, as would happen in most other cases. It also prevents
+      the script from executing until the end tag is seen.</p>
 
      </li>
 
-     <li><p>If the parser was originally created for the <a href=#html-fragment-parsing-algorithm>HTML
-     fragment parsing algorithm</a>, then mark the
-     <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already
-     started"</a>. (<a href=#fragment-case>fragment case</a>)</li>
+     <li><p>If the parser was originally created for the <a href=#html-fragment-parsing-algorithm>HTML fragment parsing
+     algorithm</a>, then mark the <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already started"</a>.
+     (<a href=#fragment-case>fragment case</a>)</li>
 
      <li><p>Insert the newly created element at the <var title="">adjusted insertion
      location</var>.</li>
@@ -90081,24 +90048,24 @@
      <li><p>Push the element onto the <a href=#stack-of-open-elements>stack of open elements</a> so that it is the new
      <a href=#current-node>current node</a>.</li>
 
-     <li><p>Switch the tokenizer to the <a href=#script-data-state>script data
-     state</a>.</li>
+     <li><p>Switch the tokenizer to the <a href=#script-data-state>script data state</a>.</li>
 
-     <li><p>Let the <a href=#original-insertion-mode>original insertion mode</a> be the current
-     <a href=#insertion-mode>insertion mode</a>.</p>
+     <li><p>Let the <a href=#original-insertion-mode>original insertion mode</a> be the current <a href=#insertion-mode>insertion
+     mode</a>.</p>
 
-     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-incdata title="insertion mode: text">text</a>".</li>
+     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-incdata title="insertion mode:
+     text">text</a>".</li>
 
     </ol></dd>
 
    <dt>An end tag whose tag name is "head"</dt>
    <dd>
 
-    <p>Pop the <a href=#current-node>current node</a> (which will be the
-    <code><a href=#the-head-element>head</a></code> element) off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> (which will be the <code><a href=#the-head-element>head</a></code> element) off the
+    <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-after-head-insertion-mode title="insertion mode: after head">after head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-after-head-insertion-mode title="insertion mode: after head">after
+    head</a>".</p>
 
    </dd>
 
@@ -90138,12 +90105,10 @@
      <li><p>If the <a href=#current-node>current node</a> is not a <code><a href=#the-template-element>template</a></code> element, then this is a
      <a href=#parse-error>parse error</a>.</li>
 
-     <li><p>Pop elements from the <a href=#stack-of-open-elements>stack of open elements</a>
-     until a <code><a href=#the-template-element>template</a></code> element has been
-     popped from the stack.</li>
+     <li><p>Pop elements from the <a href=#stack-of-open-elements>stack of open elements</a> until a <code><a href=#the-template-element>template</a></code>
+     element has been popped from the stack.</li>
 
-     <li><a href=#clear-the-list-of-active-formatting-elements-up-to-the-last-marker>Clear the list of active formatting elements up to the
-     last marker</a>.</li>
+     <li><a href=#clear-the-list-of-active-formatting-elements-up-to-the-last-marker>Clear the list of active formatting elements up to the last marker</a>.</li>
 
      <li><p>Pop the <a href=#current-template-insertion-mode>current template insertion mode</a> off the <a href=#stack-of-template-insertion-modes>stack of template
      insertion modes</a>.</p>
@@ -90278,7 +90243,8 @@
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in
+    body</a>".</p>
 
    </dd>
 
@@ -90287,28 +90253,28 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in frameset</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in
+    frameset</a>".</p>
 
    </dd>
 
-   <dt>A start tag whose tag name is one of: "base", "basefont",
-   "bgsound", "link", "meta", "noframes", "script", "style",
-   "title"</dt>
+   <dt>A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta",
+   "noframes", "script", "style", "title"</dt>
    <dd>
 
     <p><a href=#parse-error>Parse error</a>.</p>
 
-    <p>Push the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a> onto the
-    <a href=#stack-of-open-elements>stack of open elements</a>.</p>
+    <p>Push the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a> onto
+    the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in
+    head">in head</a>" <a href=#insertion-mode>insertion mode</a>.</p>
 
-    <p>Remove the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a> from the <a href=#stack-of-open-elements>stack
-    of open elements</a>.</p>
+    <p>Remove the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a>
+    from the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p class=note>The <a href=#head-element-pointer><code title="">head</code> element
-    pointer</a> cannot be null at this point.</p>
+    <p class=note>The <a href=#head-element-pointer><code title="">head</code> element pointer</a> cannot be null at
+    this point.</p>
 
    </dd>
 
@@ -90329,7 +90295,8 @@
     <!-- fake <body>, but without resetting frameset-ok -->
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for a "body" start tag token with no attributes.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in
+    body</a>".</p>
     <!-- end fake <body> -->
 
     <p>Reprocess the current token.</p>
@@ -90359,22 +90326,18 @@
    RETURN (CR), or U+0020 SPACE</dt>
    <dd>
 
-    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
-    any.</p>
+    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if any.</p>
 
-    <p><a href=#insert-a-character title="insert a character">Insert the token's
-    character</a>.</p>
+    <p><a href=#insert-a-character title="insert a character">Insert the token's character</a>.</p>
 
    </dd>
 
    <dt>Any other character token</dt>
    <dd>
 
-    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
-    any.</p>
+    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if any.</p>
 
-    <p><a href=#insert-a-character title="insert a character">Insert the token's
-    character</a>.</p>
+    <p><a href=#insert-a-character title="insert a character">Insert the token's character</a>.</p>
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
@@ -90392,23 +90355,24 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
+
     <p><a href=#parse-error>Parse error</a>.</p>
 
     <p>If there is a <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>, then
     ignore the token.</p>
 
-    <p>Otherwise, for each attribute on the token,
-    check to see if the attribute is already present on the top
-    element of the <a href=#stack-of-open-elements>stack of open elements</a>. If it is not,
-    add the attribute and its corresponding value to that element.</p>
+    <p>Otherwise, for each attribute on the token, check to see if the attribute is already present
+    on the top element of the <a href=#stack-of-open-elements>stack of open elements</a>. If it is not, add the attribute
+    and its corresponding value to that element.</p>
+
    </dd>
 
-   <dt>A start tag whose tag name is one of: "base", "basefont",
-   "bgsound", "link", "meta", "noframes", "script", "style", "template", "title"</dt>
+   <dt>A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta",
+   "noframes", "script", "style", "template", "title"</dt>
    <dt>An end tag whose tag name is "template"</dt>
    <dd>
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in
+    head">in head</a>" <a href=#insertion-mode>insertion mode</a>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "body"</dt>
@@ -90416,18 +90380,15 @@
 
     <p><a href=#parse-error>Parse error</a>.</p>
 
-    <p>If the second element on the <a href=#stack-of-open-elements>stack of open
-    elements</a> is not a <code><a href=#the-body-element>body</a></code> element, if the
-    <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it,
-    or if there is a <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>,
-    then ignore the token. (<a href=#fragment-case>fragment case</a>)</p>
+    <p>If the second element on the <a href=#stack-of-open-elements>stack of open elements</a> is not a <code><a href=#the-body-element>body</a></code>
+    element, if the <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it, or if there is a
+    <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>, then ignore the token.
+    (<a href=#fragment-case>fragment case</a>)</p>
 
-    <p>Otherwise, set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok";
-    then, for each attribute on the token, check to see if the
-    attribute is already present on the <code><a href=#the-body-element>body</a></code> element (the
-    second element) on the <a href=#stack-of-open-elements>stack of open elements</a>, and if
-    it is not, add the attribute and its corresponding value to that
-    element.</p>
+    <p>Otherwise, set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok"; then, for each attribute on the
+    token, check to see if the attribute is already present on the <code><a href=#the-body-element>body</a></code> element (the
+    second element) on the <a href=#stack-of-open-elements>stack of open elements</a>, and if it is not, add the attribute
+    and its corresponding value to that element.</p>
 
    </dd>
 
@@ -90436,43 +90397,36 @@
 
     <p><a href=#parse-error>Parse error</a>.</p>
 
-<!--CLEANUP--><!--should switch these clauses around-->
-    <p>If the second element on the <a href=#stack-of-open-elements>stack of open
-    elements</a> is not a <code><a href=#the-body-element>body</a></code> element, or, if the
-    <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it,
-    then ignore the token. (<a href=#fragment-case>fragment case</a>)</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it, or if the second element
+    on the <a href=#stack-of-open-elements>stack of open elements</a> is not a <code><a href=#the-body-element>body</a></code> element, then ignore the
+    token. (<a href=#fragment-case>fragment case</a>)</p>
 
-    <p>If the <a href=#frameset-ok-flag>frameset-ok flag</a> is set to "not ok", ignore
-    the token.</p>
+    <p>If the <a href=#frameset-ok-flag>frameset-ok flag</a> is set to "not ok", ignore the token.</p>
 
     <p>Otherwise, run the following steps:</p>
 
-    <ol><li><p>Remove the second element on the <a href=#stack-of-open-elements>stack of open
-     elements</a> from its parent node, if it has one.</li>
+    <ol><li><p>Remove the second element on the <a href=#stack-of-open-elements>stack of open elements</a> from its parent
+     node, if it has one.</li>
 
-     <li><p>Pop all the nodes from the bottom of the <a href=#stack-of-open-elements>stack of
-     open elements</a>, from the <a href=#current-node>current node</a> up to,
-     but not including, the root <code><a href=#the-html-element>html</a></code> element.</p>
+     <li><p>Pop all the nodes from the bottom of the <a href=#stack-of-open-elements>stack of open elements</a>, from the
+     <a href=#current-node>current node</a> up to, but not including, the root <code><a href=#the-html-element>html</a></code> element.</p>
 
-     <li><p><a href=#insert-an-html-element>Insert an HTML element</a> for the
-     token.</li>
+     <li><p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</li>
 
-     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in frameset</a>".</p>
+     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in
+     frameset</a>".</p>
 
     </ol></dd>
 
    <dt>An end-of-file token</dt>
    <dd>
 
-    <p>If there is a node in the <a href=#stack-of-open-elements>stack of open elements</a>
-    that is not either a <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code>
-    element, an <code><a href=#the-li-element>li</a></code> element, a <code><a href=#the-p-element>p</a></code> element, a
-    <code><a href=#the-tbody-element>tbody</a></code> element, a <code><a href=#the-td-element>td</a></code> element, a
-    <code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
-    <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the
-    <code><a href=#the-body-element>body</a></code> element, or the <code><a href=#the-html-element>html</a></code> element, then
-    this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
-    fragment cases) -->
+    <p>If there is a node in the <a href=#stack-of-open-elements>stack of open elements</a> that is not either a
+    <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, a <code><a href=#the-p-element>p</a></code>
+    element, a <code><a href=#the-tbody-element>tbody</a></code> element, a <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element,
+    a <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the
+    <code><a href=#the-body-element>body</a></code> element, or the <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
+    error</a>.</p> <!-- (some of those are fragment cases) -->
 
     <p>If the <a href=#stack-of-template-insertion-modes>stack of template insertion modes</a> is not empty, then process the token
     <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-intemplate title="insertion mode: in template">in
@@ -90486,32 +90440,27 @@
    <dt>An end tag whose tag name is "body"</dt>
    <dd>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have a <code>body</code> element
-    in scope</a>, this is a <a href=#parse-error>parse error</a>; ignore the
-    token.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in
+    scope">have a <code>body</code> element in scope</a>, this is a <a href=#parse-error>parse error</a>;
+    ignore the token.</p>
 
-    <!-- if we get here, the insertion mode here is forcibly "in
-    body". -->
+    <!-- if we get here, the insertion mode here is forcibly "in body". -->
 
-    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open
-    elements</a> that is not either a <code><a href=#the-dd-element>dd</a></code> element, a
-    <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
-    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a
-    <code><a href=#the-p-element>p</a></code> element, an <code><a href=#the-rp-element>rp</a></code> element, an
-    <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
-    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a
-    <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a
-    <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
-    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
-    error</a>.</p> <!-- (some of those are fragment cases, e.g. for
-    <tbody> you'd have hit the first paragraph since the <body>
-    wouldn't be in scope, unless it was a fragment case) -->
+    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open elements</a> that is not either a
+    <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
+    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a <code><a href=#the-p-element>p</a></code> element, an
+    <code><a href=#the-rp-element>rp</a></code> element, an <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
+    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
+    <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
+    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
+    fragment cases, e.g. for <tbody> you'd have hit the first paragraph since the <body> wouldn't be
+    in scope, unless it was a fragment case) -->
 
-    <!-- If we ever change the frameset-ok flag to an insertion mode,
-    then we'd have to somehow keep track of its state when we switch
-    to after-body. -->
+    <!-- If we ever change the frameset-ok flag to an insertion mode, then we'd have to somehow keep
+    track of its state when we switch to after-body. -->
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after
+    body</a>".</p>
 
    </dd>
 
@@ -90519,32 +90468,27 @@
    <dd>
 
     <!-- fake </body> -->
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have a <code>body</code> element
-    in scope</a>, this is a <a href=#parse-error>parse error</a>; ignore the
-    token.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in
+    scope">have a <code>body</code> element in scope</a>, this is a <a href=#parse-error>parse error</a>;
+    ignore the token.</p>
 
-    <!-- if we get here, the insertion mode here is forcibly "in
-    body". -->
+    <!-- if we get here, the insertion mode here is forcibly "in body". -->
 
-    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open
-    elements</a> that is not either a <code><a href=#the-dd-element>dd</a></code> element, a
-    <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
-    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a
-    <code><a href=#the-p-element>p</a></code> element, an <code><a href=#the-rp-element>rp</a></code> element, an
-    <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
-    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a
-    <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a
-    <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
-    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
-    error</a>.</p> <!-- (some of those are fragment cases, e.g. for
-    <tbody> you'd have hit the first paragraph since the <body>
-    wouldn't be in scope, unless it was a fragment case) -->
+    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open elements</a> that is not either a
+    <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
+    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a <code><a href=#the-p-element>p</a></code> element, an
+    <code><a href=#the-rp-element>rp</a></code> element, an <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
+    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
+    <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
+    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
+    fragment cases, e.g. for <tbody> you'd have hit the first paragraph since the <body> wouldn't be
+    in scope, unless it was a fragment case) -->
 
-    <!-- If we ever change the frameset-ok flag to an insertion mode,
-    then we'd have to somehow keep track of its state when we switch
-    to after-body. -->
+    <!-- If we ever change the frameset-ok flag to an insertion mode, then we'd have to somehow keep
+    track of its state when we switch to after-body. -->
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after
+    body</a>".</p>
     <!-- end fake </body> -->
 
     <p>Reprocess the token.</p>
@@ -90554,20 +90498,18 @@
    <!-- start tags for non-phrasing flow content elements -->
 
    <!-- the normal ones -->
-   <dt>A start tag whose tag name is one of: "address", "article",
-   "aside", "blockquote", "center", "details", "dialog", "dir", "div",
-   "dl", "fieldset", "figcaption", "figure", "footer", "header",
+   <dt>A start tag whose tag name is one of: "address", "article", "aside", "blockquote", "center",
+   "details", "dialog", "dir", "div", "dl", "fieldset", "figcaption", "figure", "footer", "header",
    "hgroup", "main", "menu", "nav", "ol", "p", "section", "summary", "ul"</dt>
    <dd>
 
-    <!-- As of May 2008 this doesn't match any browser exactly, but is
-    as close to what IE does as I can get without doing the non-tree
-    DOM nonsense, and thus should actually afford better compatibility
-    when implemented by the other browsers. -->
+    <!-- As of May 2008 this doesn't match any browser exactly, but is as close to what IE does as I
+    can get without doing the non-tree DOM nonsense, and thus should actually afford better
+    compatibility when implemented by the other browsers. -->
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an
-    element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
@@ -90578,14 +90520,13 @@
    "h5", "h6"</dt>
    <dd>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
-    <p>If the <a href=#current-node>current node</a> is an <a href=#html-elements title="HTML elements">HTML element</a> whose tag name
-    is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a
-    <a href=#parse-error>parse error</a>; pop the <a href=#current-node>current node</a> off
-    the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
+    <p>If the <a href=#current-node>current node</a> is an <a href=#html-elements title="HTML elements">HTML element</a> whose
+    tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a <a href=#parse-error>parse
+    error</a>; pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
     <!-- See https://bugs.webkit.org/show_bug.cgi?id=12646 -->
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
@@ -90596,16 +90537,15 @@
    <dt>A start tag whose tag name is one of: "pre", "listing"</dt>
    <dd>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>If the <a href=#next-token>next token</a> is a U+000A LINE FEED (LF) character
-    token, then ignore that token and move on to the next
-    one. (Newlines at the start of <code><a href=#the-pre-element>pre</a></code> blocks are
-    ignored as an authoring convenience.)</p>
+    <p>If the <a href=#next-token>next token</a> is a U+000A LINE FEED (LF) character token, then ignore that
+    token and move on to the next one. (Newlines at the start of <code><a href=#the-pre-element>pre</a></code> blocks are ignored
+    as an authoring convenience.)</p>
 
     <!-- <pre>[CR]X will eat the [CR], <pre>&#x10;X will eat the
     &#x10;, but <pre>&#x13;X will not eat the &#x13;. -->
@@ -90618,19 +90558,16 @@
    <dt>A start tag whose tag name is "form"</dt>
    <dd>
 
-    <p>If the <a href=#form-element-pointer><code title=form>form</code> element
-    pointer</a> is not null, then this is a <a href=#parse-error>parse
-    error</a>; ignore the token.</p>
+    <p>If the <a href=#form-element-pointer><code title=form>form</code> element pointer</a> is not null, then this is
+    a <a href=#parse-error>parse error</a>; ignore the token.</p>
 
     <p>Otherwise:</p>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
-    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, and set the
-    <a href=#form-element-pointer><code title=form>form</code> element pointer</a> to
-    point to the element created.</p>
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, and set the <a href=#form-element-pointer><code title=form>form</code> element pointer</a> to point to the element created.</p>
 
    </dd>
 
@@ -91564,11 +91501,11 @@
      formatting elements</a>, then remove <var title="">node</var> from the <a href=#stack-of-open-elements>stack of open
      elements</a> and then go back to the step labeled <i>inner loop</i>.</li>
 
-<!--CLEANUP-->
-     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">common ancestor</var> as the intended
-     parent; replace the entry for <var title="">node</var> in the <a href=#list-of-active-formatting-elements>list of active formatting
-     elements</a> with an entry for the new element, replace the entry for <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open elements</a> with an entry for the new
-     element, and let <var title="">node</var> be the new element.</li>
+     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">common
+     ancestor</var> as the intended parent; replace the entry for <var title="">node</var> in the
+     <a href=#list-of-active-formatting-elements>list of active formatting elements</a> with an entry for the new element, replace the
+     entry for <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open elements</a> with an entry for
+     the new element, and let <var title="">node</var> be the new element.</li>
 
      <li><p>If <var title="">last node</var> is <var title="">furthest block</var>, then move the
      aforementioned bookmark to be immediately after the new <var title="">node</var> in the
@@ -91587,10 +91524,9 @@
    <a href=#appropriate-place-for-inserting-a-node>appropriate place for inserting a node</a>, but using <var title="">common
    ancestor</var> as the <i>override target</i>.</li>
 
-<!--CLEANUP-->
    <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which <var title="">formatting
-   element</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">furthest block</var> as the intended
-   parent.</li>
+   element</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">furthest
+   block</var> as the intended parent.</li>
 
    <li><p>Take all of the child nodes of <var title="">furthest block</var> and append them to the
    element created in the last step.</li>
@@ -91623,12 +91559,10 @@
   <dl class=switch><dt>A character token</dt>
    <dd>
 
-    <p><a href=#insert-a-character title="insert a character">Insert the token's
-    character</a>.</p>
+    <p><a href=#insert-a-character title="insert a character">Insert the token's character</a>.</p>
 
-    <p class=note>This can never be a U+0000 NULL character; the
-    tokenizer converts those to U+FFFD REPLACEMENT CHARACTER
-    characters.</p>
+    <p class=note>This can never be a U+0000 NULL character; the tokenizer converts those to
+    U+FFFD REPLACEMENT CHARACTER characters.</p>
 
    </dd>
 
@@ -91638,15 +91572,13 @@
     <!-- can't be the fragment case -->
     <p><a href=#parse-error>Parse error</a>.</p>
 
-    <p>If the <a href=#current-node>current node</a> is a <code><a href=#the-script-element>script</a></code>
-    element, mark the <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already
-    started"</a>.</p>
+    <p>If the <a href=#current-node>current node</a> is a <code><a href=#the-script-element>script</a></code> element, mark the
+    <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already started"</a>.</p>
 
-    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
-    insertion mode</a> and reprocess the token.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original insertion mode</a> and
+    reprocess the token.</p>
 
    </dd>
 
@@ -91657,51 +91589,43 @@
 
     <p><a href=#provide-a-stable-state>Provide a stable state</a>.</p>
 
-    <p>Let <var title="">script</var> be the <a href=#current-node>current node</a>
-    (which will be a <code><a href=#the-script-element>script</a></code> element).</p>
+    <p>Let <var title="">script</var> be the <a href=#current-node>current node</a> (which will be a
+    <code><a href=#the-script-element>script</a></code> element).</p>
 
-    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
-    insertion mode</a>.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original insertion mode</a>.</p>
 
-    <p>Let the <var title="">old insertion point</var> have the
-    same value as the current <a href=#insertion-point>insertion point</a>. Let
-    the <a href=#insertion-point>insertion point</a> be just before the <a href=#next-input-character>next
+    <p>Let the <var title="">old insertion point</var> have the same value as the current
+    <a href=#insertion-point>insertion point</a>. Let the <a href=#insertion-point>insertion point</a> be just before the <a href=#next-input-character>next
     input character</a>.</p>
 
-    <p>Increment the parser's <a href=#script-nesting-level>script nesting level</a> by
-    one.</p>
+    <p>Increment the parser's <a href=#script-nesting-level>script nesting level</a> by one.</p>
 
-    <p><a href=#prepare-a-script title="prepare a script">Prepare</a> the <var title="">script</var>. This might cause some script to execute,
-    which might cause <a href=#dom-document-write title=dom-document-write>new characters
-    to be inserted into the tokenizer</a>, and might cause the
-    tokenizer to output more tokens, resulting in a <a href=#nestedParsing>reentrant invocation of the parser</a>.</p>
+    <p><a href=#prepare-a-script title="prepare a script">Prepare</a> the <var title="">script</var>. This might
+    cause some script to execute, which might cause <a href=#dom-document-write title=dom-document-write>new characters
+    to be inserted into the tokenizer</a>, and might cause the tokenizer to output more tokens,
+    resulting in a <a href=#nestedParsing>reentrant invocation of the parser</a>.</p>
 
-    <p>Decrement the parser's <a href=#script-nesting-level>script nesting level</a> by
-    one. If the parser's <a href=#script-nesting-level>script nesting level</a> is zero,
-    then set the <a href=#parser-pause-flag>parser pause flag</a> to false.</p>
+    <p>Decrement the parser's <a href=#script-nesting-level>script nesting level</a> by one. If the parser's <a href=#script-nesting-level>script
+    nesting level</a> is zero, then set the <a href=#parser-pause-flag>parser pause flag</a> to false.</p>
 
-    <p>Let the <a href=#insertion-point>insertion point</a> have the value of the <var title="">old insertion point</var>. (In other words, restore the
-    <a href=#insertion-point>insertion point</a> to its previous value. This value
-    might be the "undefined" value.)</p>
+    <p>Let the <a href=#insertion-point>insertion point</a> have the value of the <var title="">old insertion
+    point</var>. (In other words, restore the <a href=#insertion-point>insertion point</a> to its previous value.
+    This value might be the "undefined" value.)</p>
 
-    <p id=scriptTagParserResumes>At this stage, if there is a
-    <a href=#pending-parsing-blocking-script>pending parsing-blocking script</a>, then:</p>
+    <p id=scriptTagParserResumes>At this stage, if there is a <a href=#pending-parsing-blocking-script>pending parsing-blocking
+    script</a>, then:</p>
 
     <dl class=switch><dt>If the <a href=#script-nesting-level>script nesting level</a> is not zero:</dt>
 
      <dd>
 
-      <p>Set the <a href=#parser-pause-flag>parser pause flag</a> to true, and abort the
-      processing of any nested invocations of the tokenizer, yielding
-      control back to the caller. (Tokenization will resume when the
-      caller returns to the "outer" tree construction stage.)</p>
+      <p>Set the <a href=#parser-pause-flag>parser pause flag</a> to true, and abort the processing of any nested
+      invocations of the tokenizer, yielding control back to the caller. (Tokenization will resume
+      when the caller returns to the "outer" tree construction stage.)</p>
 
-      <p class=note>The tree construction stage of this particular
-      parser is <a href=#nestedParsing>being called reentrantly</a>,
-      say from a call to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>.</p>
+      <p class=note>The tree construction stage of this particular parser is <a href=#nestedParsing>being called reentrantly</a>, say from a call to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>.</p>
 
      </dd>
 
@@ -91753,15 +91677,13 @@
    <dt>Any other end tag</dt>
    <dd>
 
-    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
-    insertion mode</a>.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original insertion mode</a>.</p>
 
    </dd>
 
-  </dl><h6 id=parsing-main-intable><span class=secno>12.2.5.4.9 </span>The "<dfn title="insertion mode: in table">in table</dfn>" insertion mode</h6>
+  </dl><!--CLEANUP--><h6 id=parsing-main-intable><span class=secno>12.2.5.4.9 </span>The "<dfn title="insertion mode: in table">in table</dfn>" insertion mode</h6>
 
   <p>When the user agent is to apply the rules for the "<a href=#parsing-main-intable title="insertion mode: in table">in table</a>" <a href=#insertion-mode>insertion mode</a>, the user agent must handle the token as follows:</p>
 

Modified: index
===================================================================
--- index	2013-08-01 20:22:26 UTC (rev 8117)
+++ index	2013-08-01 20:44:06 UTC (rev 8118)
@@ -8687,18 +8687,15 @@
     <p>If the new value is not a <code><a href=#the-body-element>body</a></code> or <code><a href=#frameset>frameset</a></code> element, this will throw a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception.</p>
    </dd>
 
-  </dl><p><dfn id=the-body-element-0>The body element</dfn> of a document is the first child of
-  <a href=#the-html-element-0>the <code>html</code> element</a> that is either a
-  <code><a href=#the-body-element>body</a></code> element or a <code><a href=#frameset>frameset</a></code> element. If
+  </dl><p><dfn id=the-body-element-0>The body element</dfn> of a document is the first child of <a href=#the-html-element-0>the <code>html</code>
+  element</a> that is either a <code><a href=#the-body-element>body</a></code> element or a <code><a href=#frameset>frameset</a></code> element. If
   there is no such element, it is null.</p>
 
   <div class=impl>
 
-  <p>The <dfn id=dom-document-body title=dom-document-body><code>body</code></dfn>
-  attribute, on getting, must return <a href=#the-body-element-0>the body element</a> of
-  the document (either a <code><a href=#the-body-element>body</a></code> element, a
-  <code><a href=#frameset>frameset</a></code> element, or null). On setting, the following
-  algorithm must be run:</p>
+  <p>The <dfn id=dom-document-body title=dom-document-body><code>body</code></dfn> attribute, on getting, must return
+  <a href=#the-body-element-0>the body element</a> of the document (either a <code><a href=#the-body-element>body</a></code> element, a
+  <code><a href=#frameset>frameset</a></code> element, or null). On setting, the following algorithm must be run:</p>
 
   <ol><!-- if changes are requested:
     http://lxr.mozilla.org/seamonkey/source/content/html/document/src/nsHTMLDocument.cpp
@@ -8707,20 +8704,16 @@
     search for ::setBody
     http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/dom/Document.cpp
     search for ::body
-   --><li>If the new value is not a <code><a href=#the-body-element>body</a></code> or
-   <code><a href=#frameset>frameset</a></code> element, then throw a
-   <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception and abort these
-   steps.</li>
+   --><li>If the new value is not a <code><a href=#the-body-element>body</a></code> or <code><a href=#frameset>frameset</a></code> element, then throw a
+   <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception and abort these steps.</li>
 
-   <li>Otherwise, if the new value is the same as <a href=#the-body-element-0>the body
-   element</a>, do nothing. Abort these steps.</li>
+   <li>Otherwise, if the new value is the same as <a href=#the-body-element-0>the body element</a>, do nothing. Abort
+   these steps.</li>
 
-   <li>Otherwise, if <a href=#the-body-element-0>the body element</a> is not null, then
-   replace that element with the new value in the DOM, as if the root
-   element's <code title="">replaceChild()</code> method had been
-   called with the new value and <a href=#the-body-element-0 title="the body element">the
-   incumbent body element</a> as its two arguments respectively,
-   then abort these steps.</li>
+   <li>Otherwise, if <a href=#the-body-element-0>the body element</a> is not null, then replace that element with the
+   new value in the DOM, as if the root element's <code title="">replaceChild()</code> method had
+   been called with the new value and <a href=#the-body-element-0 title="the body element">the incumbent body
+   element</a> as its two arguments respectively, then abort these steps.</li>
 
    <li>Otherwise, if there is no root element, throw a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception
    and abort these steps.</li>
@@ -13429,12 +13422,12 @@
     <a href=#character-encoding-declaration>character encoding declaration</a>. <span class=impl>This state's user agent
     requirements are all handled by the parsing section of the specification.</span></p>
 
-<!--CLEANUP-->
     <p>For <code><a href=#the-meta-element>meta</a></code> elements with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code>
     attribute in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration
     state</a>, the <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute must have a value
     that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for a string that consists of: the literal
-    string "<code title="">text/html;</code>", optionally followed by any number of <a href=#space-character title="space character">space characters</a>, followed by the literal string "<code title="">charset=</code>", followed by one of the <a href=#encoding-label title="encoding label">labels</a> of the <a href=#encoding title=encoding>character encoding</a> of the <a href=#character-encoding-declaration>character encoding
+    string "<code title="">text/html;</code>", optionally followed by any number of <a href=#space-character title="space character">space characters</a>, followed by the literal string "<code title="">charset=</code>", followed by one of the <a href=#encoding-label title="encoding label">labels</a> of
+    the <a href=#encoding title=encoding>character encoding</a> of the <a href=#character-encoding-declaration>character encoding
     declaration</a>.</p>
 
     <p>A document must not contain both a <code><a href=#the-meta-element>meta</a></code> element with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration state</a> and a
@@ -25170,15 +25163,16 @@
     interfaces.</p>
     </div>
    </dd>
-  </dl><!--TOPIC:HTML--><!--CLEANUP--><p>The <code><a href=#the-embed-element>embed</a></code> element provides an integration point for an external
-  (typically non-HTML) application or interactive content.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-embed-element>embed</a></code> element provides an integration point for an external (typically
+  non-HTML) application or interactive content.</p>
 
   <p>The <dfn id=attr-embed-src title=attr-embed-src><code>src</code></dfn> attribute gives the address of the
   resource being embedded. The attribute, if present, must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL
   potentially surrounded by spaces</a>.</p>
 
-  <p>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is specified on an <code><a href=#the-embed-element>embed</a></code>
-  element, then the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute must also be specified.</p>
+  <p>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is specified on an
+  <code><a href=#the-embed-element>embed</a></code> element, then the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute must also
+  be specified.</p>
 
   <p>The <dfn id=attr-embed-type title=attr-embed-type><code>type</code></dfn> attribute, if present, gives the
   <a href=#mime-type>MIME type</a> by which the plugin to instantiate is selected. The value must be a
@@ -25217,8 +25211,8 @@
 
   </ul><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever a <a href=#concept-embed-active title=concept-embed-active>potentially active</a> <code><a href=#the-embed-element>embed</a></code> element that is
   remaining <a href=#concept-embed-active title=concept-embed-active>potentially active</a> and has its <code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute set, changed, or removed or its <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute set, changed, or removed, the user agent must
-  <a href=#queue-a-task>queue a task</a> using the <dfn id=embed-task-source>embed task source</dfn> to run
-  <a href=#the-embed-element-setup-steps>the <code>embed</code> element setup steps</a>.</p>
+  <a href=#queue-a-task>queue a task</a> using the <dfn id=embed-task-source>embed task source</dfn> to run <a href=#the-embed-element-setup-steps>the
+  <code>embed</code> element setup steps</a>.</p>
 
   <p><dfn id=the-embed-element-setup-steps>The <code>embed</code> element setup steps</dfn> are as follows:</p>
 
@@ -25250,32 +25244,34 @@
         follows (stopping at the first substep that determines the type):</p>
 
         <ol><li><p>If the element has a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute, and that
-         attribute's value is a type that a <a href=#plugin>plugin</a> supports, then the value of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is the <a href=#concept-embed-type title=concept-embed-type>content's
-         type</a>.</li>
+         attribute's value is a type that a <a href=#plugin>plugin</a> supports, then the value of the
+         <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is the <a href=#concept-embed-type title=concept-embed-type>content's type</a>.</li>
 
          <li>
 
           <!-- if we get to this point we know we can successfully parsed the URL, since this algorithm is
           only used after fetching the resource in the steps above -->
 
-          <p>Otherwise, if applying the <a href=#url-parser>URL parser</a> algorithm to the <a href=#url>URL</a> of the
-          specified resource (after any redirects) results in a <a href=#parsed-url>parsed URL</a> whose <a href=#concept-url-path title=concept-url-path>path</a> component matches a pattern that a <a href=#plugin>plugin</a>
-          supports, then the <a href=#concept-embed-type title=concept-embed-type>content's type</a> is the type that that
-          plugin can handle.</p>
+          <p>Otherwise, if applying the <a href=#url-parser>URL parser</a> algorithm to the <a href=#url>URL</a> of
+          the specified resource (after any redirects) results in a <a href=#parsed-url>parsed URL</a> whose
+          <a href=#concept-url-path title=concept-url-path>path</a> component matches a pattern that a
+          <a href=#plugin>plugin</a> supports, then the <a href=#concept-embed-type title=concept-embed-type>content's
+          type</a> is the type that that plugin can handle.</p>
 
-          <p class=example>For example, a plugin might say that it can handle resources with <a href=#concept-url-path title=concept-url-path>path</a> components that end with the four character string "<code title="">.swf</code>".</p>
+          <p class=example>For example, a plugin might say that it can handle resources with <a href=#concept-url-path title=concept-url-path>path</a> components that end with the four character string
+          "<code title="">.swf</code>".</p>
 
           <!-- it's sad that we have to do extension sniffing. sigh. -->
           <!-- see also <object> which has a similar step -->
 
          </li>
 
-         <li><p>Otherwise, if the specified resource has <a href=#content-type title=Content-Type>explicit Content-Type
-         metadata</a>, then that is the <a href=#concept-embed-type title=concept-embed-type>content's
+         <li><p>Otherwise, if the specified resource has <a href=#content-type title=Content-Type>explicit
+         Content-Type metadata</a>, then that is the <a href=#concept-embed-type title=concept-embed-type>content's
          type</a>.</li>
 
-         <li><p>Otherwise, the content has no <a href=#concept-embed-type title=concept-embed-type>type</a> and there can
-         be no appropriate <a href=#plugin>plugin</a> for it.</li>
+         <li><p>Otherwise, the content has no <a href=#concept-embed-type title=concept-embed-type>type</a> and there
+         can be no appropriate <a href=#plugin>plugin</a> for it.</li>
 
          <!-- This algorithm is a monument to bad design. Go legacy! -->
 
@@ -25624,11 +25620,13 @@
 
     <ol><li><p>If the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is present and its value is
      not a type that the user agent supports, and is not a type that the user agent can find a
-     <a href=#plugin>plugin</a> for, then the user agent may jump to the step below labeled <i>fallback</i> without fetching the content to examine its real type.</li>
+     <a href=#plugin>plugin</a> for, then the user agent may jump to the step below labeled <i>fallback</i>
+     without fetching the content to examine its real type.</li>
 
      <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <a href=#url>URL</a> specified by the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute, relative to the element.</li>
 
-     <li><p>If that failed, <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element, then jump to the step below labeled <i>fallback</i>.</li>
+     <li><p>If that failed, <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element, then jump to the step below labeled
+     <i>fallback</i>.</li>
 
      <li>
 
@@ -25650,10 +25648,11 @@
 
      <li><p>If the resource is not yet available (e.g. because the resource was not available in the
      cache, so that loading the resource required making a request over the network), then jump to
-     the step below labeled <i>fallback</i>. The <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a task">queued</a> by the
-     <a href=#networking-task-source>networking task source</a> once the resource is available must restart this algorithm
-     from this step. Resources can load incrementally; user agents may opt to consider a resource
-     "available" whenever enough data has been obtained to begin processing the resource.</li>
+     the step below labeled <i>fallback</i>. The <a href=#concept-task title=concept-task>task</a> that is
+     <a href=#queue-a-task title="queue a task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the
+     resource is available must restart this algorithm from this step. Resources can load
+     incrementally; user agents may opt to consider a resource "available" whenever enough data has
+     been obtained to begin processing the resource.</li>
 
      <li><p>If the load failed (e.g. there was an HTTP 404 error, there was a DNS error), <a href=#fire-a-simple-event>fire
      a simple event</a> named <code title=event-error>error</code> at the element, then jump to
@@ -25900,7 +25899,8 @@
 
         <p>Otherwise, the user agent should <a href=#object-plugin>use the plugin that supports
         <var title="">resource type</var></a> and pass the content of the resource to that
-        <a href=#plugin>plugin</a>. If the <a href=#plugin>plugin</a> reports an error, then jump to the step below labeled <i>fallback</i>.</p>
+        <a href=#plugin>plugin</a>. If the <a href=#plugin>plugin</a> reports an error, then jump to the step
+        below labeled <i>fallback</i>.</p>
 
        </dd>
 
@@ -25966,7 +25966,8 @@
 
        <dd>
 
-        <p>The given <var title="">resource type</var> is not supported. Jump to the step below labeled <i>fallback</i>.</p>
+        <p>The given <var title="">resource type</var> is not supported. Jump to the step below
+        labeled <i>fallback</i>.</p>
 
         <p class=note>If the previous step ended with the <var title="">resource type</var> being
         unknown, this is the case that is triggered.</p>
@@ -26152,7 +26153,7 @@
   // <a href="#HTMLParamElement-partial">also has obsolete members</a>
 };</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-param-element>param</a></code> element defines parameters for plugins
+  </dl><!--TOPIC:HTML--><!--CLEANUP--><p>The <code><a href=#the-param-element>param</a></code> element defines parameters for plugins
   invoked by <code><a href=#the-object-element>object</a></code> elements. It does not <a href=#represents title=represents>represent</a> anything on its own.</p>
 
   <p>The <dfn id=attr-param-name title=attr-param-name><code>name</code></dfn>
@@ -27399,14 +27400,14 @@
 
   </dl><div class=impl>
 
-<!--CLEANUP-->
-  <p>The <dfn id=dom-navigator-canplaytype title=dom-navigator-canPlayType><code>canPlayType(<var title="">type</var>)</code></dfn> method must return <dfn id=dom-canplaytypeenum-nil title=dom-CanPlayTypeEnum-nil>the empty string</dfn> if <var title="">type</var>
-  is <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot render</a> or is the type
-  "<code>application/octet-stream</code>"; it must return "<dfn id=dom-canplaytypeenum-probably title=dom-CanPlayTypeEnum-probably><code>probably</code></dfn>" if the
-  user agent is confident that the type represents a <a href=#media-resource>media resource</a> that it can render
-  if used in with this <code><a href=#the-audio-element>audio</a></code> or <code><a href=#the-video-element>video</a></code> element; and it must return "<dfn id=dom-canplaytypeenum-maybe title=dom-CanPlayTypeEnum-maybe><code>maybe</code></dfn>" otherwise. Implementors are encouraged to return "<code title=dom-CanPlayTypeEnum-maybe><a href=#dom-canplaytypeenum-maybe>maybe</a></code>" unless the type can be confidently established as being supported or not.
-  Generally, a user agent should never return "<code title=dom-CanPlayTypeEnum-probably><a href=#dom-canplaytypeenum-probably>probably</a></code>" for a type that
-  allows the <code title="">codecs</code> parameter if that parameter is not present.</p>
+  <p>The <dfn id=dom-navigator-canplaytype title=dom-navigator-canPlayType><code>canPlayType(<var title="">type</var>)</code></dfn> method must return <dfn id=dom-canplaytypeenum-nil title=dom-CanPlayTypeEnum-nil>the
+  empty string</dfn> if <var title="">type</var> is <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
+  render</a> or is the type "<code>application/octet-stream</code>"; it must return "<dfn id=dom-canplaytypeenum-probably title=dom-CanPlayTypeEnum-probably><code>probably</code></dfn>" if the user agent is confident
+  that the type represents a <a href=#media-resource>media resource</a> that it can render if used in with this
+  <code><a href=#the-audio-element>audio</a></code> or <code><a href=#the-video-element>video</a></code> element; and it must return "<dfn id=dom-canplaytypeenum-maybe title=dom-CanPlayTypeEnum-maybe><code>maybe</code></dfn>" otherwise. Implementors are encouraged
+  to return "<code title=dom-CanPlayTypeEnum-maybe><a href=#dom-canplaytypeenum-maybe>maybe</a></code>" unless the type can be
+  confidently established as being supported or not. Generally, a user agent should never return
+  "<code title=dom-CanPlayTypeEnum-probably><a href=#dom-canplaytypeenum-probably>probably</a></code>" for a type that allows the <code title="">codecs</code> parameter if that parameter is not present.</p>
 
   </div>
 
@@ -27624,7 +27625,7 @@
   algorithm). Steps in such sections are marked with &#x231b;.</p>
 
   <ol><!-- precondition: networkState == NETWORK_EMPTY or we're coming straight from the algorithm above
-                      (where setting it to empty is commented out) --><!--CLEANUP--><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
+                      (where setting it to empty is commented out) --><li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
    the <code title=dom-media-NETWORK_NO_SOURCE><a href=#dom-media-network_no_source>NETWORK_NO_SOURCE</a></code> value.</li>
 
    <li><p>Set the element's <a href=#show-poster-flag>show poster flag</a> to true.</li>
@@ -27786,9 +27787,8 @@
      <var title="">absolute URL</var>. If that algorithm returns without aborting <em>this</em> one,
      then the load failed.</li>
 
-     <li><p><i title="">Failed with elements</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task
-     source</a>, to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code>
-     at the <var title="">candidate</var> element.</li>
+     <li><p><i title="">Failed with elements</i>: <a href=#queue-a-task>Queue a task</a>, using the <a href=#dom-manipulation-task-source>DOM
+     manipulation task source</a>, to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the <var title="">candidate</var> element.</li>
 
      <li><p>Asynchronously <a href=#await-a-stable-state>await a stable state</a>. The <a href=#synchronous-section>synchronous section</a>
      consists of all the remaining steps of this algorithm until the algorithm says the
@@ -27977,8 +27977,8 @@
        <li><p>Update the <a href=#media-element>media element</a>'s <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute's <code><a href=#audiotracklist>AudioTrackList</a></code>
        object with the new <code><a href=#audiotrack>AudioTrack</a></code> object.</li>
 
-       <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and that
-       uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
+       <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and
+       that uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
        <code><a href=#audiotrack>AudioTrack</a></code> object, at this <code><a href=#audiotracklist>AudioTrackList</a></code> object.</li>
 
       </ol></dd>
@@ -65547,8 +65547,9 @@
   <p id=security-2>User agents must throw a <code><a href=#securityerror>SecurityError</a></code> exception whenever any
   properties of a <code><a href=#window>Window</a></code> object are accessed when the <a href=#incumbent-script>incumbent script</a> has
   an <a href=#effective-script-origin>effective script origin</a> that is not the <a href=#same-origin title="same origin">same</a> as
-  <a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>,
-  with the following exceptions:</p>
+  <a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's
+  <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, with the following
+  exceptions:</p>
 
   <ul><li>The <code title=dom-location><a href=#dom-location>location</a></code> attribute
 
@@ -65577,10 +65578,11 @@
    <li>The <a href=#dynamic-nested-browsing-context-properties>dynamic nested browsing context properties</a>
 
   </ul><p>When the <a href=#incumbent-script>incumbent script</a>'s <a href=#effective-script-origin>effective script origin</a> is different than
-  a <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, the
-  user agent must act as if any changes to that <code><a href=#window>Window</a></code> object's properties, getters,
-  setters, etc, were not present, and as if all the properties of that <code><a href=#window>Window</a></code> object
-  had their [[Enumerable]] attribute set to false.</p>
+  a <a href=#concept-document-window title=concept-document-window><code>Window</code> object's
+  <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, the user agent must act as if
+  any changes to that <code><a href=#window>Window</a></code> object's properties, getters, setters, etc, were not
+  present, and as if all the properties of that <code><a href=#window>Window</a></code> object had their [[Enumerable]]
+  attribute set to false.</p>
 
   <p>For members that return objects (including function objects), each distinct <a href=#effective-script-origin>effective
   script origin</a> that is not the same as the <code><a href=#window>Window</a></code> object's
@@ -65711,8 +65713,9 @@
   context</a> was just created as part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
   browsing context name</a>, then the user agent must instead <a href=#queue-a-task>queue a task</a> to
   <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the selected
-  <a href=#browsing-context>browsing context</a>'s <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context>browsing context</a>'s
-  <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object).</p>
+  <a href=#browsing-context>browsing context</a>'s <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context>browsing context</a>'s <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a> object
+  (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code>
+  object).</p>
 
   <p>The method must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing context</a>
   that was navigated, or null if no browsing context was navigated.</p>
@@ -66213,12 +66216,12 @@
      <dd>
 
       <p>The <a href=#origin>origin</a> is an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the
-      <a href=#origin>origin</a> of the <a href=#incumbent-script>incumbent script</a> when
-      the <a href=#navigate>navigate</a> algorithm was invoked, or, if no <a href=#concept-script title=concept-script>script</a>
-      was involved, of the <code><a href=#document>Document</a></code> of the element that initiated the <a href=#navigate title=navigate>navigation</a> to that <a href=#url>URL</a>.</p>
+      <a href=#origin>origin</a> of the <a href=#incumbent-script>incumbent script</a> when the <a href=#navigate>navigate</a>
+      algorithm was invoked, or, if no <a href=#concept-script title=concept-script>script</a> was involved, of
+      the <code><a href=#document>Document</a></code> of the element that initiated the <a href=#navigate title=navigate>navigation</a> to that <a href=#url>URL</a>.</p>
 
-      <p>The <a href=#effective-script-origin>effective script origin</a> is initially an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#effective-script-origin>effective script origin</a> of that same <a href=#concept-script title=concept-script>script</a> or
-      <code><a href=#document>Document</a></code>.</p>
+      <p>The <a href=#effective-script-origin>effective script origin</a> is initially an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#effective-script-origin>effective script origin</a> of that
+      same <a href=#concept-script title=concept-script>script</a> or <code><a href=#document>Document</a></code>.</p>
 
      </dd>
 
@@ -66359,7 +66362,8 @@
 
      <dt>If a script is a function or other code reference created by another script</dt>
 
-     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the function or other code reference was created.</dd>
+     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the function or other code reference
+     was created.</dd>
 
 
      <dt>If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code>
@@ -66399,7 +66403,8 @@
      <dt>If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code>
      URL</a> to which a <a href=#browsing-context>browsing context</a> is being <a href=#navigate title=navigate>navigated</a>, the URL having been provided by script</dt>
 
-     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the <a href=#navigate>navigate</a> algorithm was invoked.</dd>
+     <dd>The owner is the <a href=#incumbent-script>incumbent script</a> when the <a href=#navigate>navigate</a> algorithm was
+     invoked.</dd>
 
     </dl><p>The <a href=#origin>origin</a> of the script is then an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#origin>origin</a> of the owner, and the
     <a href=#effective-script-origin>effective script origin</a> of the script is an <a href=#concept-origin-alias title=concept-origin-alias>alias</a> to the <a href=#effective-script-origin>effective script origin</a> of the
@@ -67522,8 +67527,8 @@
   context</a> to the specified <var title="">url</var> with <a href=#replacement-enabled>replacement enabled</a>.</p>
 
   <p>Navigation for the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> and <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> methods must be done with the <a href="#script's-browsing-context" title="script's
-  browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent script</a> as the
-  <a href=#source-browsing-context>source browsing context</a>.</p>
+  browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent script</a> as the <a href=#source-browsing-context>source
+  browsing context</a>.</p>
 
   <p>If the <a href=#resolve-a-url title="resolve a url">resolving</a> step of the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> and <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> methods is not successful, then the user agent must
   instead throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception.</p>
@@ -71515,8 +71520,6 @@
   <p class=note>The WebIDL specification also manipulates the <a href=#stack-of-incumbent-scripts>stack of incumbent
   scripts</a>. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
-<!--CLEANUP:all occurrences of 'incumbent'-->
-
   <hr><p>Each <a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a> has a <dfn id=running-mutation-observers>running mutation
   observers</dfn> flag, which must initially be false. It is used to prevent reentrant invocation of
   the algorithm to <a href=#concept-mo-invoke title=concept-mo-invoke>invoke <code>MutationObserver</code>
@@ -73625,9 +73628,8 @@
 
     <p>If the <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> of the <a href=#active-document>active document</a> of the
     <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
-    script</a> has its <a href=#sandboxed-auxiliary-navigation-browsing-context-flag>sandboxed auxiliary
-    navigation browsing context flag</a> set, then return the empty string and abort these
-    steps.</p>
+    script</a> has its <a href=#sandboxed-auxiliary-navigation-browsing-context-flag>sandboxed auxiliary navigation browsing context flag</a> set,
+    then return the empty string and abort these steps.</p>
 
    </li>
 
@@ -73640,9 +73642,8 @@
 
    <li>
 
-<!--CLEANUP-->
-    <p>Let <var title="">the list of background browsing
-    contexts</var> be a list of all the browsing contexts that:</p>
+    <p>Let <var title="">the list of background browsing contexts</var> be a list of all the
+    browsing contexts that:</p>
 
     <ul><li>are part of the same <a href=#unit-of-related-browsing-contexts>unit of related browsing contexts</a> as the browsing context
      of the <code><a href=#window>Window</a></code> object on which the <code title=dom-showModalDialog><a href=#dom-showmodaldialog>showModalDialog()</a></code> method was called, and that</li>
@@ -73651,8 +73652,8 @@
      origin">same</a> as <var title="">incumbent origin</var>,</li> <!-- Note that changing
      document.domain to talk to another domain doesn't make you able to block that domain -->
 
-    </ul><p>...as well as any browsing contexts that are nested inside any
-    of the browsing contexts matching those conditions.</p>
+    </ul><p>...as well as any browsing contexts that are nested inside any of the browsing contexts
+    matching those conditions.</p>
 
    </li>
 
@@ -73718,9 +73719,8 @@
 
     <p><a href=#navigate>Navigate</a><!--DONAV showModalDialog--> the new <a href=#browsing-context>browsing context</a> to
     the <a href=#absolute-url>absolute URL</a> that resulted from <a href=#resolve-a-url title="resolve a url">resolving</a>
-    <var title="">url</var> earlier, with <a href=#replacement-enabled>replacement enabled</a>, and with the <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
-    script</a> as the <a href=#source-browsing-context>source browsing
-    context</a>.</p>
+    <var title="">url</var> earlier, with <a href=#replacement-enabled>replacement enabled</a>, and with the <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent script</a>
+    as the <a href=#source-browsing-context>source browsing context</a>.</p>
 
    </li>
 
@@ -73740,11 +73740,10 @@
 
    <li>
 
-    <p>If the <a href=#auxiliary-browsing-context>auxiliary browsing context</a>'s <a href=#return-value-origin>return value origin</a> at
-    the time the browsing context was <a href=#close-a-browsing-context title="close a browsing
-    context">closed</a> was the <a href=#same-origin title="same origin">same</a> as <var title="">incumbent origin</var>,
-    then let <var title="">return value</var> be the <a href=#auxiliary-browsing-context>auxiliary browsing
-    context</a>'s <a href=#return-value>return value</a> as it stood when the browsing context was <a href=#close-a-browsing-context title="close a browsing context">closed</a>.</p>
+    <p>If the <a href=#auxiliary-browsing-context>auxiliary browsing context</a>'s <a href=#return-value-origin>return value origin</a> at the time
+    the browsing context was <a href=#close-a-browsing-context title="close a browsing context">closed</a> was the <a href=#same-origin title="same origin">same</a> as <var title="">incumbent origin</var>, then let <var title="">return value</var> be the <a href=#auxiliary-browsing-context>auxiliary browsing context</a>'s <a href=#return-value>return
+    value</a> as it stood when the browsing context was <a href=#close-a-browsing-context title="close a browsing
+    context">closed</a>.</p>
 
     <p>Otherwise, let <var title="">return value</var> be undefined.</p>
 
@@ -80767,8 +80766,8 @@
    <li><p>Create a new <code><a href=#worker>Worker</a></code> object, associated with <var title="">worker global
    scope</var>. Let <var title="">worker</var> be this new object.</li>
 
-   <li><p><a href=#create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a> owned by the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.
-   Let this be the <var title="">outside port</var>.</li>
+   <li><p><a href=#create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a> owned by the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent script</a>. Let
+   this be the <var title="">outside port</var>.</li>
 
    <li><p>Associate the <var title="">outside port</var> with <var title="">worker</var>.</li>
 
@@ -80792,8 +80791,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <a href=#list-of-relevant-document-objects-to-add>list of relevant <code>Document</code> objects to
-    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a>.</p>
+    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the
+    <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -80808,10 +80807,10 @@
    <li>
 
     <p>If the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a> is a
-    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object (i.e. we are creating a nested worker), add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
-    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global object">global
-    object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
+    script</a> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object (i.e. we are creating a nested worker),
+    add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of
+    the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global
+    object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -80819,8 +80818,9 @@
 
     <p><a href=#run-a-worker>Run a worker</a> for the resulting <a href=#absolute-url>absolute URL</a>, with the
     <a href="#script's-browsing-context">script's browsing context</a> of the <a href=#incumbent-script>incumbent script</a> as the <var title="">owner browsing context</var>, with the <a href="#script's-document">script's document</a> of the
-    <a href=#incumbent-script>incumbent script</a> as the <var title="">owner document</var>, with the <a href=#origin>origin</a>
-    of the <a href=#entry-script>entry script</a> as the <var title="">owner origin</var>, and with <var title="">worker global scope</var> as the global scope.</p>
+    <a href=#incumbent-script>incumbent script</a> as the <var title="">owner document</var>, with the
+    <a href=#origin>origin</a> of the <a href=#entry-script>entry script</a> as the <var title="">owner origin</var>,
+    and with <var title="">worker global scope</var> as the global scope.</p>
 
    </li>
 
@@ -80871,8 +80871,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <a href=#list-of-relevant-document-objects-to-add>list of relevant <code>Document</code> objects to
-    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a>.</p>
+    add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the
+    <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -80906,9 +80906,9 @@
      <li>
 
       <p>If <var title="">worker global scope</var> is not null, but the user agent has been
-      configured to disallow communication between the <a href=#incumbent-script>incumbent script</a>
-      and the worker represented by the <var title="">worker global
-      scope</var>, then set <var title="">worker global scope</var> to null.</p>
+      configured to disallow communication between the <a href=#incumbent-script>incumbent script</a> and the worker
+      represented by the <var title="">worker global scope</var>, then set <var title="">worker
+      global scope</var> to null.</p>
 
       <p class=note>For example, a user agent could have a development mode that isolates a
       particular <a href=#top-level-browsing-context>top-level browsing context</a> from all other pages, and scripts in that
@@ -80953,11 +80953,10 @@
        <li>
 
         <p>If the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-        script</a> is a
-        <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the
-        list of <a href="#the-worker's-workers">the worker's workers</a> of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that
-        is the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-        script</a>.</p>
+        script</a> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global
+        scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
+        <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global
+        object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
 
        </li>
 
@@ -81004,10 +81003,9 @@
    <li>
 
     <p>If the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent
-    script</a> that invoked the constructor is a
-    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list
-    of <a href="#the-worker's-workers">the worker's workers</a> of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the
-    <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
+    script</a> that invoked the constructor is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
+    <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global object">global
+    object</a> of the <a href=#incumbent-script>incumbent script</a>.</p>
 
    </li>
 
@@ -81015,8 +81013,8 @@
 
     <p><a href=#run-a-worker>Run a worker</a> for <var title="">scriptURL</var>, with the <a href="#script's-browsing-context">script's browsing
     context</a> of the <a href=#incumbent-script>incumbent script</a> as the <var title="">owner browsing
-    context</var>, with the <a href="#script's-document">script's document</a> of the <a href=#incumbent-script>incumbent script</a>
-    the <var title="">owner document</var>, with the <a href=#origin>origin</a> of the <a href=#entry-script>entry
+    context</var>, with the <a href="#script's-document">script's document</a> of the <a href=#incumbent-script>incumbent script</a> the
+    <var title="">owner document</var>, with the <a href=#origin>origin</a> of the <a href=#entry-script>entry
     script</a> as the <var title="">owner origin</var>, and with <var title="">worker global
     scope</var> as the global scope.</p>
 
@@ -81045,84 +81043,70 @@
 
   <h4 id=importing-scripts-and-libraries><span class=secno>9.3.1 </span>Importing scripts and libraries</h4>
 
-<!--CLEANUP-->
-  <p>When a script invokes the <dfn id=dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts><code>importScripts(<var title="">urls</var>)</code></dfn> method on a
-  <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, the user agent must run the
-  following steps:</p>
+  <p>When a script invokes the <dfn id=dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts><code>importScripts(<var title="">urls</var>)</code></dfn> method on a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, the user
+  agent must run the following steps:</p>
 
-  <ol><li><p>If there are no arguments, return without doing
-   anything. Abort these steps.</li>
+  <ol><li><p>If there are no arguments, return without doing anything. Abort these steps.</li>
 
-   <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> each
-   argument.</li>
+   <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> each argument.</li>
 
-   <li><p>If any fail, throw a <code><a href=#syntaxerror>SyntaxError</a></code>
-   exception and abort these steps.</li>
+   <li><p>If any fail, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps.</li>
 
    <li>
 
-    <p>Attempt to <a href=#fetch>fetch</a><!--FETCH--> each resource
-    identified by the resulting <a href=#absolute-url title="absolute URL">absolute
-    URLs</a>, from the <a href=#entry-script>entry script</a>'s
-    <a href=#origin>origin</a>, using the <a href=#entry-script>entry script</a>'s <a href="#script's-referrer-source" title="script's referrer source">referrer source</a>, and with
-    the <i>synchronous flag</i> set.</p> <!-- not http-origin privacy
-    sensitive -->
+    <p>Attempt to <a href=#fetch>fetch</a><!--FETCH--> each resource identified by the resulting <a href=#absolute-url title="absolute URL">absolute URLs</a>, from the <a href=#entry-script>entry script</a>'s
+    <a href=#origin>origin</a>, using the <a href=#entry-script>entry script</a>'s <a href="#script's-referrer-source" title="script's referrer
+    source">referrer source</a>, and with the <i>synchronous flag</i> set.</p> <!-- not
+    http-origin privacy sensitive -->
 
    </li>
 
    <li>
 
-    <p>For each argument in turn, in the order given, starting with
-    the first one, run these substeps:</p>
+    <p>For each argument in turn, in the order given, starting with the first one, run these
+    substeps:</p>
 
     <ol><li>
 
-      <p>Wait for the fetching attempt for the corresponding resource
-      to complete.</p>
+      <p>Wait for the fetching attempt for the corresponding resource to complete.</p>
 
-      <p>If the fetching attempt failed, throw a
-      <code><a href=#networkerror>NetworkError</a></code> exception and abort all these
-      steps.</p>
+      <p>If the fetching attempt failed, throw a <code><a href=#networkerror>NetworkError</a></code> exception and abort all
+      these steps.</p>
 
       <p>If the attempt succeeds, then let <var title="">source</var> be the result of running the
       <a href=#utf-8-decode>UTF-8 decode</a> algorithm on the script resource.</p>
 
       <p>Let <var title="">language</var> be JavaScript.</p>
 
-      <p class=note>As with the worker's script, the script here is
-      always assumed to be JavaScript, regardless of the MIME
-      type.</p>
+      <p class=note>As with the worker's script, the script here is always assumed to be
+      JavaScript, regardless of the MIME type.</p>
 
      </li>
 
      <li>
 
-      <p><a href=#create-a-script>Create a script</a>, using <var title="">source</var> as the script source, the <a href=#url>URL</a>
-      from which <var title="">source</var> was obtained, and <var title="">language</var> as the scripting language, using the
-      same global object, browsing context, document, referrer source,
-      URL character encoding, and base URL as the <a href=#concept-script title=concept-script>script</a> that was created by the
-      worker's <a href=#run-a-worker>run a worker</a> algorithm.</p>
+      <p><a href=#create-a-script>Create a script</a>, using <var title="">source</var> as the script source, the
+      <a href=#url>URL</a> from which <var title="">source</var> was obtained, and <var title="">language</var> as the scripting language, using the same global object, browsing
+      context, document, referrer source, URL character encoding, and base URL as the <a href=#concept-script title=concept-script>script</a> that was created by the worker's <a href=#run-a-worker>run a
+      worker</a> algorithm.</p>
 
       <p>If the script came from a resource whose <a href=#url>URL</a> does not have the <a href=#same-origin>same
       origin</a> as the <a href=#worker-origin>worker origin</a>, then pass the <var title="">muted
       errors</var> flag to the <a href=#create-a-script-from-a-node>create a script from a node</a> algorithm.</p>
 
       <p>Let the newly created <a href=#concept-script title=concept-script>script</a> run until it either
-      returns, fails to parse, fails to catch an exception, or gets
-      prematurely aborted by the "<a href=#kill-a-worker>kill a worker</a>" or
-      "<a href=#terminate-a-worker>terminate a worker</a>" algorithms defined above.</p>
+      returns, fails to parse, fails to catch an exception, or gets prematurely aborted by the
+      "<a href=#kill-a-worker>kill a worker</a>" or "<a href=#terminate-a-worker>terminate a worker</a>" algorithms defined
+      above.</p>
 
-      <p>If it failed to parse, then throw an ECMAScript
-      <code title=js-SyntaxError><a href=#js-syntaxerror>SyntaxError</a></code> exception and abort all these
-      steps. <a href=#refsECMA262>[ECMA262]</a></p>
+      <p>If it failed to parse, then throw an ECMAScript <code title=js-SyntaxError><a href=#js-syntaxerror>SyntaxError</a></code> exception and abort all these steps. <a href=#refsECMA262>[ECMA262]</a></p>
 
-      <p>If an exception was thrown or if the script was prematurely
-      aborted, then abort all these steps, letting the exception or
-      aborting continue to be processed by the <a href=#incumbent-script>incumbent script</a>.</p>
+      <p>If an exception was thrown or if the script was prematurely aborted, then abort all these
+      steps, letting the exception or aborting continue to be processed by the <a href=#incumbent-script>incumbent
+      script</a>.</p>
 
-      <p>If the "<a href=#kill-a-worker>kill a worker</a>" or "<a href=#terminate-a-worker>terminate a
-      worker</a>" algorithms abort the script then abort all these
-      steps.</p>
+      <p>If the "<a href=#kill-a-worker>kill a worker</a>" or "<a href=#terminate-a-worker>terminate a worker</a>" algorithms abort
+      the script then abort all these steps.</p>
 
      </li>
 
@@ -83141,8 +83125,8 @@
     initialized to the value of <var title="">message clone</var>, the <code title=dom-MessageEvent-origin><a href=#dom-messageevent-origin>origin</a></code> attribute must be initialized to the <a href=#unicode-serialization-of-an-origin title="Unicode serialization of an origin">Unicode serialization</a> of the
     <a href=#origin>origin</a> of the <a href=#incumbent-script>incumbent script</a>, the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be initialized to the
     <a href="#script's-global-object">script's global object</a>'s <code><a href=#windowproxy>WindowProxy</a></code> object, and the <code title=dom-MessageEvent-ports><a href=#dom-messageevent-ports>ports</a></code> attribute must be initialized to the <var title="">new ports</var> array.
-    </p> <!-- invariant: the global object is always a Window if the
-    script can see this method -->
+    </p>
+    <!-- invariant: the global object is always a Window if the script can see this method -->
 
    </li>
 
@@ -89326,8 +89310,8 @@
     interface), with the tag name being the name of that element, with the node being in the given
     namespace, and with the attributes on the node being those given in the given token.</p>
 
-    <p>The interface appropriate for an element in the <a href=#html-namespace-0>HTML namespace</a> that is not defined
-    in this specification (or <a href=#other-applicable-specifications>other applicable specifications</a>) is
+    <p>The interface appropriate for an element in the <a href=#html-namespace-0>HTML namespace</a> that is not
+    defined in this specification (or <a href=#other-applicable-specifications>other applicable specifications</a>) is
     <code><a href=#htmlunknownelement>HTMLUnknownElement</a></code>. Elements in other namespaces whose interface is not defined by
     that namespace's specification must use the interface <code><a href=#element>Element</a></code>.</p>
 
@@ -89337,23 +89321,17 @@
    </li>
 
    <li><p>If the newly created element has an <code title="">xmlns</code> attribute <em>in the
-   <a href=#xmlns-namespace>XMLNS namespace</a></em> whose value is not exactly the same as the element's namespace, that
-   is a <a href=#parse-error>parse error</a>. Similarly, if the newly created element has an <code title="">xmlns:xlink</code> attribute in the <a href=#xmlns-namespace>XMLNS namespace</a> whose value is not the
+   <a href=#xmlns-namespace>XMLNS namespace</a></em> whose value is not exactly the same as the element's namespace,
+   that is a <a href=#parse-error>parse error</a>. Similarly, if the newly created element has an <code title="">xmlns:xlink</code> attribute in the <a href=#xmlns-namespace>XMLNS namespace</a> whose value is not the
    <a href=#xlink-namespace>XLink Namespace</a>, that is a <a href=#parse-error>parse error</a>.</li>
 
-<!--CLEANUP-->
-   <li>
+   <li><p>If the newly created element is a <a href=#category-reset title=category-reset>resettable element</a>,
+   invoke its <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a>. (This initializes the
+   element's <a href=#concept-fe-value title=concept-fe-value>value</a> and <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> based on the element's attributes.)</li>
 
-    <p>If the newly created element is a <a href=#category-reset title=category-reset>resettable element</a>,
-    invoke its <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a>. (This initializes
-    the element's <a href=#concept-fe-value title=concept-fe-value>value</a> and <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> based on the element's attributes.)</p>
-
-   </li>
-
-   <li><p>If the element is a <a href=#form-associated-element>form-associated element</a>, and the <a href=#form-element-pointer><code title="">form</code> element pointer</a> is not null,
-   and there is no <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>,
-   and the newly created element is either not <a href=#category-form-attr title=category-form-attr>reassociateable</a> or doesn't
-   have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, <a href=#concept-form-association title=concept-form-association>associate</a> the newly created element with the
+   <li><p>If the element is a <a href=#form-associated-element>form-associated element</a>, and the <a href=#form-element-pointer><code title="">form</code> element pointer</a> is not null, and there is no <code><a href=#the-template-element>template</a></code>
+   element on the <a href=#stack-of-open-elements>stack of open elements</a>, and the newly created element is either not
+   <a href=#category-form-attr title=category-form-attr>reassociateable</a> or doesn't have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, <a href=#concept-form-association title=concept-form-association>associate</a> the newly created element with the
    <code><a href=#the-form-element>form</a></code> element pointed to by the <a href=#form-element-pointer><code title="">form</code> element
    pointer</a>, and suppress the running of the <a href=#reset-the-form-owner>reset the form owner</a> algorithm in
    the next step.</li>
@@ -89362,15 +89340,15 @@
 
   </ol><hr><!-- The names of these algorithms are kinda confusing; e.g. see the confusion in
          https://www.w3.org/Bugs/Public/show_bug.cgi?id=18367
-       Not sure what we could call them instead, though... --><p>When the steps below require the user agent to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token in a given namespace,
-  the user agent must run these steps:</p>
+       Not sure what we could call them instead, though... --><p>When the steps below require the user agent to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token
+  in a given namespace, the user agent must run these steps:</p>
 
-  <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate
-   place for inserting a node</a>.</li>
+  <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate place for
+   inserting a node</a>.</li>
 
-   <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the given namespace, with the
-   intended parent being the element in which the <var title="">adjusted insertion location</var>
-   finds itself.</li>
+   <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the given namespace, with the intended
+   parent being the element in which the <var title="">adjusted insertion location</var> finds
+   itself.</li>
 
    <li>
 
@@ -89390,7 +89368,8 @@
    <li><p>Return the newly created element.</li>
 
   </ol><p>When the steps below require the user agent to <dfn id=insert-an-html-element>insert an HTML element</dfn> for a token,
-  the user agent must <a href=#insert-a-foreign-element>insert a foreign element</a> for the token, in the <a href=#html-namespace-0>HTML namespace</a>.</p>
+  the user agent must <a href=#insert-a-foreign-element>insert a foreign element</a> for the token, in the <a href=#html-namespace-0>HTML
+  namespace</a>.</p>
 
   <hr><p>When the steps below require the user agent to <dfn id=adjust-mathml-attributes>adjust MathML attributes</dfn> for a token,
   then, if the token has an attribute named <code title="">definitionurl</code>, change its name to
@@ -89819,9 +89798,8 @@
     <p><a href=#insert-a-comment>Insert a comment</a> as the last child of the <code><a href=#document>Document</a></code> object.</p>
    </dd>
 
-   <dt>A character token that is one of U+0009 CHARACTER
-   TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
-   U+000D CARRIAGE RETURN (CR), or U+0020 SPACE</dt>
+   <dt>A character token that is one of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C
+   FORM FEED (FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE</dt>
    <dd>
     <p>Ignore the token.</p>
    </dd>
@@ -89829,27 +89807,24 @@
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
 
-<!--CLEANUP-->
-    <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML
-    namespace</a>, with the <code><a href=#document>Document</a></code> as the intended parent. Append it to the <code><a href=#document>Document</a></code>
-    object. Put this element in the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, with the
+    <code><a href=#document>Document</a></code> as the intended parent. Append it to the <code><a href=#document>Document</a></code> object. Put
+    this element in the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p id=parser-appcache>If the <code><a href=#document>Document</a></code> is being
-    loaded as part of <a href=#navigate title=navigate>navigation</a> of a
-    <a href=#browsing-context>browsing context</a>, then: if the newly created element
-    has a <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute
-    whose value is not the empty string, then <a href=#resolve-a-url title="resolve a
-    url">resolve</a> the value of that attribute to an
-    <a href=#absolute-url>absolute URL</a>, relative to the newly created element,
-    and if that is successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-    algorithm</a> with the result of applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorithm to
-    the resulting <a href=#parsed-url>parsed URL</a> with the <i>exclude fragment flag</i> set; otherwise, if there is no such attribute, or its value is
-    the empty string, or resolving its value fails, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-    algorithm</a> with no manifest. The algorithm must be passed
-    the <code><a href=#document>Document</a></code> object.</p>
+    <p id=parser-appcache>If the <code><a href=#document>Document</a></code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing context</a>, then: if the newly
+    created element has a <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute whose value is
+    not the empty string, then <a href=#resolve-a-url title="resolve a url">resolve</a> the value of that
+    attribute to an <a href=#absolute-url>absolute URL</a>, relative to the newly created element, and if that is
+    successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
+    algorithm</a> with the result of applying the <a href=#concept-url-serializer title=concept-url-serializer>URL
+    serializer</a> algorithm to the resulting <a href=#parsed-url>parsed URL</a> with the <i>exclude
+    fragment flag</i> set; otherwise, if there is no such attribute, or its value is the empty
+    string, or resolving its value fails, run the <a href=#concept-appcache-init title=concept-appcache-init>application
+    cache selection algorithm</a> with no manifest. The algorithm must be passed the
+    <code><a href=#document>Document</a></code> object.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before
+    head</a>".</p>
 
    </dd>
 
@@ -89866,24 +89841,21 @@
    <dt>Anything else</dt>
    <dd>
 
-    <p>Create an <code><a href=#the-html-element>html</a></code> element whose <code title=dom-Node-ownerDocument><a href=#dom-node-ownerdocument>ownerDocument</a></code> is the <code><a href=#document>Document</a></code> object. Append it to the
-    <code><a href=#document>Document</a></code> object. Put this element in the <a href=#stack-of-open-elements>stack
-    of open elements</a>.</p>
+    <p>Create an <code><a href=#the-html-element>html</a></code> element whose <code title=dom-Node-ownerDocument><a href=#dom-node-ownerdocument>ownerDocument</a></code> is the <code><a href=#document>Document</a></code> object. Append
+    it to the <code><a href=#document>Document</a></code> object. Put this element in the <a href=#stack-of-open-elements>stack of open
+    elements</a>.</p>
 
-    <p>If the <code><a href=#document>Document</a></code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing
-    context</a>, then: run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-    algorithm</a> with no manifest, passing it the
-    <code><a href=#document>Document</a></code> object.</p>
+    <p>If the <code><a href=#document>Document</a></code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing context</a>, then: run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection algorithm</a> with no manifest,
+    passing it the <code><a href=#document>Document</a></code> object.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before head</a>", then
-    reprocess the token.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before
+    head</a>", then reprocess the token.</p>
 
    </dd>
 
-  </dl><p>The root element can end up being removed from the
-  <code><a href=#document>Document</a></code> object, e.g. by scripts; nothing in particular
-  happens in such cases, content continues being appended to the nodes
-  as described in the next section.</p>
+  </dl><p>The root element can end up being removed from the <code><a href=#document>Document</a></code> object, e.g. by
+  scripts; nothing in particular happens in such cases, content continues being appended to the
+  nodes as described in the next section.</p>
 
 
   <h6 id=the-before-head-insertion-mode><span class=secno>12.2.5.4.3 </span>The "<dfn title="insertion mode: before head">before head</dfn>" insertion mode</h6>
@@ -89909,8 +89881,8 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in
+    body">in body</a>" <a href=#insertion-mode>insertion mode</a>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "head"</dt>
@@ -89918,10 +89890,11 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a>
-    to the newly created <code><a href=#the-head-element>head</a></code> element.</p>
+    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a> to the newly created
+    <code><a href=#the-head-element>head</a></code> element.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in
+    head</a>".</p>
 
    </dd>
 
@@ -89946,10 +89919,11 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for a "head" start tag token with no attributes.</p>
 
-    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a>
-    to the newly created <code><a href=#the-head-element>head</a></code> element.</p>
+    <p>Set the <a href=#head-element-pointer><code title="">head</code> element pointer</a> to the newly created
+    <code><a href=#the-head-element>head</a></code> element.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inhead title="insertion mode: in head">in
+    head</a>".</p>
 
     <!-- end of fake <head> -->
 
@@ -89980,32 +89954,30 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inbody title="insertion mode: in
+    body">in body</a>" <a href=#insertion-mode>insertion mode</a>.</p>
    </dd>
 
    <dt>A start tag whose tag name is one of: "base", "basefont",
    "bgsound", "link"</dt>
    <dd>
 
-    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately
-    pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately pop the <a href=#current-node>current
+    node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
-    token's <i>self-closing flag</i></a>, if it is set.</p>
+    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the token's <i>self-closing
+    flag</i></a>, if it is set.</p>
 
    </dd>
 
    <dt>A start tag whose tag name is "meta"</dt>
    <dd>
 
-    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately
-    pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately pop the <a href=#current-node>current
+    node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
-    token's <i>self-closing flag</i></a>, if it is set.</p>
+    <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the token's <i>self-closing
+    flag</i></a>, if it is set.</p>
 
     <p id=meta-charset-during-parse>If the element has a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute, and <a href=#getting-an-encoding>getting an encoding</a> from
     its value results in a supported <a href=#ascii-compatible-character-encoding>ASCII-compatible character encoding</a> or <a href=#a-utf-16-encoding>a
@@ -90037,8 +90009,8 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inheadnoscript title="insertion mode: in head noscript">in head
-    noscript</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inheadnoscript title="insertion mode: in head noscript">in
+    head noscript</a>".</p>
 
    </dd>
 
@@ -90048,32 +90020,27 @@
 
     <p>Run these steps:</p>
 
-    <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate
-     place for inserting a node</a>.</li>
+    <ol><li><p>Let the <var title="">adjusted insertion location</var> be the <a href=#appropriate-place-for-inserting-a-node>appropriate place
+     for inserting a node</a>.</li>
 
-     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, with the
-     intended parent being the element in which the <var title="">adjusted insertion location</var>
-     finds itself.</li>
+     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML namespace</a>, with
+     the intended parent being the element in which the <var title="">adjusted insertion
+     location</var> finds itself.</li>
 
      <li>
 
-<!--CLEANUP-->
-      <p>Mark the element as being <a href=#parser-inserted>"parser-inserted"</a> and
-      unset the element's <a href=#force-async>"force-async"</a> flag.</p>
+      <p>Mark the element as being <a href=#parser-inserted>"parser-inserted"</a> and unset the element's
+      <a href=#force-async>"force-async"</a> flag.</p>
 
-      <p class=note>This ensures that, if the script is external,
-      any <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>
-      calls in the script will execute in-line, instead of blowing the
-      document away, as would happen in most other cases. It also
-      prevents the script from executing until the end tag is
-      seen.</p>
+      <p class=note>This ensures that, if the script is external, any <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> calls in the script will execute in-line,
+      instead of blowing the document away, as would happen in most other cases. It also prevents
+      the script from executing until the end tag is seen.</p>
 
      </li>
 
-     <li><p>If the parser was originally created for the <a href=#html-fragment-parsing-algorithm>HTML
-     fragment parsing algorithm</a>, then mark the
-     <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already
-     started"</a>. (<a href=#fragment-case>fragment case</a>)</li>
+     <li><p>If the parser was originally created for the <a href=#html-fragment-parsing-algorithm>HTML fragment parsing
+     algorithm</a>, then mark the <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already started"</a>.
+     (<a href=#fragment-case>fragment case</a>)</li>
 
      <li><p>Insert the newly created element at the <var title="">adjusted insertion
      location</var>.</li>
@@ -90081,24 +90048,24 @@
      <li><p>Push the element onto the <a href=#stack-of-open-elements>stack of open elements</a> so that it is the new
      <a href=#current-node>current node</a>.</li>
 
-     <li><p>Switch the tokenizer to the <a href=#script-data-state>script data
-     state</a>.</li>
+     <li><p>Switch the tokenizer to the <a href=#script-data-state>script data state</a>.</li>
 
-     <li><p>Let the <a href=#original-insertion-mode>original insertion mode</a> be the current
-     <a href=#insertion-mode>insertion mode</a>.</p>
+     <li><p>Let the <a href=#original-insertion-mode>original insertion mode</a> be the current <a href=#insertion-mode>insertion
+     mode</a>.</p>
 
-     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-incdata title="insertion mode: text">text</a>".</li>
+     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-incdata title="insertion mode:
+     text">text</a>".</li>
 
     </ol></dd>
 
    <dt>An end tag whose tag name is "head"</dt>
    <dd>
 
-    <p>Pop the <a href=#current-node>current node</a> (which will be the
-    <code><a href=#the-head-element>head</a></code> element) off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> (which will be the <code><a href=#the-head-element>head</a></code> element) off the
+    <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-after-head-insertion-mode title="insertion mode: after head">after head</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-after-head-insertion-mode title="insertion mode: after head">after
+    head</a>".</p>
 
    </dd>
 
@@ -90138,12 +90105,10 @@
      <li><p>If the <a href=#current-node>current node</a> is not a <code><a href=#the-template-element>template</a></code> element, then this is a
      <a href=#parse-error>parse error</a>.</li>
 
-     <li><p>Pop elements from the <a href=#stack-of-open-elements>stack of open elements</a>
-     until a <code><a href=#the-template-element>template</a></code> element has been
-     popped from the stack.</li>
+     <li><p>Pop elements from the <a href=#stack-of-open-elements>stack of open elements</a> until a <code><a href=#the-template-element>template</a></code>
+     element has been popped from the stack.</li>
 
-     <li><a href=#clear-the-list-of-active-formatting-elements-up-to-the-last-marker>Clear the list of active formatting elements up to the
-     last marker</a>.</li>
+     <li><a href=#clear-the-list-of-active-formatting-elements-up-to-the-last-marker>Clear the list of active formatting elements up to the last marker</a>.</li>
 
      <li><p>Pop the <a href=#current-template-insertion-mode>current template insertion mode</a> off the <a href=#stack-of-template-insertion-modes>stack of template
      insertion modes</a>.</p>
@@ -90278,7 +90243,8 @@
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in
+    body</a>".</p>
 
    </dd>
 
@@ -90287,28 +90253,28 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in frameset</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in
+    frameset</a>".</p>
 
    </dd>
 
-   <dt>A start tag whose tag name is one of: "base", "basefont",
-   "bgsound", "link", "meta", "noframes", "script", "style",
-   "title"</dt>
+   <dt>A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta",
+   "noframes", "script", "style", "title"</dt>
    <dd>
 
     <p><a href=#parse-error>Parse error</a>.</p>
 
-    <p>Push the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a> onto the
-    <a href=#stack-of-open-elements>stack of open elements</a>.</p>
+    <p>Push the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a> onto
+    the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in
+    head">in head</a>" <a href=#insertion-mode>insertion mode</a>.</p>
 
-    <p>Remove the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a> from the <a href=#stack-of-open-elements>stack
-    of open elements</a>.</p>
+    <p>Remove the node pointed to by the <a href=#head-element-pointer><code title="">head</code> element pointer</a>
+    from the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p class=note>The <a href=#head-element-pointer><code title="">head</code> element
-    pointer</a> cannot be null at this point.</p>
+    <p class=note>The <a href=#head-element-pointer><code title="">head</code> element pointer</a> cannot be null at
+    this point.</p>
 
    </dd>
 
@@ -90329,7 +90295,8 @@
     <!-- fake <body>, but without resetting frameset-ok -->
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for a "body" start tag token with no attributes.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in body">in
+    body</a>".</p>
     <!-- end fake <body> -->
 
     <p>Reprocess the current token.</p>
@@ -90359,22 +90326,18 @@
    RETURN (CR), or U+0020 SPACE</dt>
    <dd>
 
-    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
-    any.</p>
+    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if any.</p>
 
-    <p><a href=#insert-a-character title="insert a character">Insert the token's
-    character</a>.</p>
+    <p><a href=#insert-a-character title="insert a character">Insert the token's character</a>.</p>
 
    </dd>
 
    <dt>Any other character token</dt>
    <dd>
 
-    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
-    any.</p>
+    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if any.</p>
 
-    <p><a href=#insert-a-character title="insert a character">Insert the token's
-    character</a>.</p>
+    <p><a href=#insert-a-character title="insert a character">Insert the token's character</a>.</p>
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
@@ -90392,23 +90355,24 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
+
     <p><a href=#parse-error>Parse error</a>.</p>
 
     <p>If there is a <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>, then
     ignore the token.</p>
 
-    <p>Otherwise, for each attribute on the token,
-    check to see if the attribute is already present on the top
-    element of the <a href=#stack-of-open-elements>stack of open elements</a>. If it is not,
-    add the attribute and its corresponding value to that element.</p>
+    <p>Otherwise, for each attribute on the token, check to see if the attribute is already present
+    on the top element of the <a href=#stack-of-open-elements>stack of open elements</a>. If it is not, add the attribute
+    and its corresponding value to that element.</p>
+
    </dd>
 
-   <dt>A start tag whose tag name is one of: "base", "basefont",
-   "bgsound", "link", "meta", "noframes", "script", "style", "template", "title"</dt>
+   <dt>A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta",
+   "noframes", "script", "style", "template", "title"</dt>
    <dt>An end tag whose tag name is "template"</dt>
    <dd>
-    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
-    mode</a>.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in
+    head">in head</a>" <a href=#insertion-mode>insertion mode</a>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "body"</dt>
@@ -90416,18 +90380,15 @@
 
     <p><a href=#parse-error>Parse error</a>.</p>
 
-    <p>If the second element on the <a href=#stack-of-open-elements>stack of open
-    elements</a> is not a <code><a href=#the-body-element>body</a></code> element, if the
-    <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it,
-    or if there is a <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>,
-    then ignore the token. (<a href=#fragment-case>fragment case</a>)</p>
+    <p>If the second element on the <a href=#stack-of-open-elements>stack of open elements</a> is not a <code><a href=#the-body-element>body</a></code>
+    element, if the <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it, or if there is a
+    <code><a href=#the-template-element>template</a></code> element on the <a href=#stack-of-open-elements>stack of open elements</a>, then ignore the token.
+    (<a href=#fragment-case>fragment case</a>)</p>
 
-    <p>Otherwise, set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok";
-    then, for each attribute on the token, check to see if the
-    attribute is already present on the <code><a href=#the-body-element>body</a></code> element (the
-    second element) on the <a href=#stack-of-open-elements>stack of open elements</a>, and if
-    it is not, add the attribute and its corresponding value to that
-    element.</p>
+    <p>Otherwise, set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok"; then, for each attribute on the
+    token, check to see if the attribute is already present on the <code><a href=#the-body-element>body</a></code> element (the
+    second element) on the <a href=#stack-of-open-elements>stack of open elements</a>, and if it is not, add the attribute
+    and its corresponding value to that element.</p>
 
    </dd>
 
@@ -90436,43 +90397,36 @@
 
     <p><a href=#parse-error>Parse error</a>.</p>
 
-<!--CLEANUP--><!--should switch these clauses around-->
-    <p>If the second element on the <a href=#stack-of-open-elements>stack of open
-    elements</a> is not a <code><a href=#the-body-element>body</a></code> element, or, if the
-    <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it,
-    then ignore the token. (<a href=#fragment-case>fragment case</a>)</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it, or if the second element
+    on the <a href=#stack-of-open-elements>stack of open elements</a> is not a <code><a href=#the-body-element>body</a></code> element, then ignore the
+    token. (<a href=#fragment-case>fragment case</a>)</p>
 
-    <p>If the <a href=#frameset-ok-flag>frameset-ok flag</a> is set to "not ok", ignore
-    the token.</p>
+    <p>If the <a href=#frameset-ok-flag>frameset-ok flag</a> is set to "not ok", ignore the token.</p>
 
     <p>Otherwise, run the following steps:</p>
 
-    <ol><li><p>Remove the second element on the <a href=#stack-of-open-elements>stack of open
-     elements</a> from its parent node, if it has one.</li>
+    <ol><li><p>Remove the second element on the <a href=#stack-of-open-elements>stack of open elements</a> from its parent
+     node, if it has one.</li>
 
-     <li><p>Pop all the nodes from the bottom of the <a href=#stack-of-open-elements>stack of
-     open elements</a>, from the <a href=#current-node>current node</a> up to,
-     but not including, the root <code><a href=#the-html-element>html</a></code> element.</p>
+     <li><p>Pop all the nodes from the bottom of the <a href=#stack-of-open-elements>stack of open elements</a>, from the
+     <a href=#current-node>current node</a> up to, but not including, the root <code><a href=#the-html-element>html</a></code> element.</p>
 
-     <li><p><a href=#insert-an-html-element>Insert an HTML element</a> for the
-     token.</li>
+     <li><p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</li>
 
-     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in frameset</a>".</p>
+     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in
+     frameset</a>".</p>
 
     </ol></dd>
 
    <dt>An end-of-file token</dt>
    <dd>
 
-    <p>If there is a node in the <a href=#stack-of-open-elements>stack of open elements</a>
-    that is not either a <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code>
-    element, an <code><a href=#the-li-element>li</a></code> element, a <code><a href=#the-p-element>p</a></code> element, a
-    <code><a href=#the-tbody-element>tbody</a></code> element, a <code><a href=#the-td-element>td</a></code> element, a
-    <code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
-    <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the
-    <code><a href=#the-body-element>body</a></code> element, or the <code><a href=#the-html-element>html</a></code> element, then
-    this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
-    fragment cases) -->
+    <p>If there is a node in the <a href=#stack-of-open-elements>stack of open elements</a> that is not either a
+    <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, a <code><a href=#the-p-element>p</a></code>
+    element, a <code><a href=#the-tbody-element>tbody</a></code> element, a <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element,
+    a <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the
+    <code><a href=#the-body-element>body</a></code> element, or the <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
+    error</a>.</p> <!-- (some of those are fragment cases) -->
 
     <p>If the <a href=#stack-of-template-insertion-modes>stack of template insertion modes</a> is not empty, then process the token
     <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-intemplate title="insertion mode: in template">in
@@ -90486,32 +90440,27 @@
    <dt>An end tag whose tag name is "body"</dt>
    <dd>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have a <code>body</code> element
-    in scope</a>, this is a <a href=#parse-error>parse error</a>; ignore the
-    token.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in
+    scope">have a <code>body</code> element in scope</a>, this is a <a href=#parse-error>parse error</a>;
+    ignore the token.</p>
 
-    <!-- if we get here, the insertion mode here is forcibly "in
-    body". -->
+    <!-- if we get here, the insertion mode here is forcibly "in body". -->
 
-    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open
-    elements</a> that is not either a <code><a href=#the-dd-element>dd</a></code> element, a
-    <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
-    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a
-    <code><a href=#the-p-element>p</a></code> element, an <code><a href=#the-rp-element>rp</a></code> element, an
-    <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
-    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a
-    <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a
-    <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
-    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
-    error</a>.</p> <!-- (some of those are fragment cases, e.g. for
-    <tbody> you'd have hit the first paragraph since the <body>
-    wouldn't be in scope, unless it was a fragment case) -->
+    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open elements</a> that is not either a
+    <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
+    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a <code><a href=#the-p-element>p</a></code> element, an
+    <code><a href=#the-rp-element>rp</a></code> element, an <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
+    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
+    <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
+    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
+    fragment cases, e.g. for <tbody> you'd have hit the first paragraph since the <body> wouldn't be
+    in scope, unless it was a fragment case) -->
 
-    <!-- If we ever change the frameset-ok flag to an insertion mode,
-    then we'd have to somehow keep track of its state when we switch
-    to after-body. -->
+    <!-- If we ever change the frameset-ok flag to an insertion mode, then we'd have to somehow keep
+    track of its state when we switch to after-body. -->
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after
+    body</a>".</p>
 
    </dd>
 
@@ -90519,32 +90468,27 @@
    <dd>
 
     <!-- fake </body> -->
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have a <code>body</code> element
-    in scope</a>, this is a <a href=#parse-error>parse error</a>; ignore the
-    token.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in
+    scope">have a <code>body</code> element in scope</a>, this is a <a href=#parse-error>parse error</a>;
+    ignore the token.</p>
 
-    <!-- if we get here, the insertion mode here is forcibly "in
-    body". -->
+    <!-- if we get here, the insertion mode here is forcibly "in body". -->
 
-    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open
-    elements</a> that is not either a <code><a href=#the-dd-element>dd</a></code> element, a
-    <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
-    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a
-    <code><a href=#the-p-element>p</a></code> element, an <code><a href=#the-rp-element>rp</a></code> element, an
-    <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
-    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a
-    <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a
-    <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
-    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
-    error</a>.</p> <!-- (some of those are fragment cases, e.g. for
-    <tbody> you'd have hit the first paragraph since the <body>
-    wouldn't be in scope, unless it was a fragment case) -->
+    <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open elements</a> that is not either a
+    <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
+    <code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a <code><a href=#the-p-element>p</a></code> element, an
+    <code><a href=#the-rp-element>rp</a></code> element, an <code><a href=#the-rt-element>rt</a></code> element, a <code><a href=#the-tbody-element>tbody</a></code> element, a
+    <code><a href=#the-td-element>td</a></code> element, a <code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
+    <code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
+    <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
+    fragment cases, e.g. for <tbody> you'd have hit the first paragraph since the <body> wouldn't be
+    in scope, unless it was a fragment case) -->
 
-    <!-- If we ever change the frameset-ok flag to an insertion mode,
-    then we'd have to somehow keep track of its state when we switch
-    to after-body. -->
+    <!-- If we ever change the frameset-ok flag to an insertion mode, then we'd have to somehow keep
+    track of its state when we switch to after-body. -->
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>".</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after
+    body</a>".</p>
     <!-- end fake </body> -->
 
     <p>Reprocess the token.</p>
@@ -90554,20 +90498,18 @@
    <!-- start tags for non-phrasing flow content elements -->
 
    <!-- the normal ones -->
-   <dt>A start tag whose tag name is one of: "address", "article",
-   "aside", "blockquote", "center", "details", "dialog", "dir", "div",
-   "dl", "fieldset", "figcaption", "figure", "footer", "header",
+   <dt>A start tag whose tag name is one of: "address", "article", "aside", "blockquote", "center",
+   "details", "dialog", "dir", "div", "dl", "fieldset", "figcaption", "figure", "footer", "header",
    "hgroup", "main", "menu", "nav", "ol", "p", "section", "summary", "ul"</dt>
    <dd>
 
-    <!-- As of May 2008 this doesn't match any browser exactly, but is
-    as close to what IE does as I can get without doing the non-tree
-    DOM nonsense, and thus should actually afford better compatibility
-    when implemented by the other browsers. -->
+    <!-- As of May 2008 this doesn't match any browser exactly, but is as close to what IE does as I
+    can get without doing the non-tree DOM nonsense, and thus should actually afford better
+    compatibility when implemented by the other browsers. -->
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an
-    element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
@@ -90578,14 +90520,13 @@
    "h5", "h6"</dt>
    <dd>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
-    <p>If the <a href=#current-node>current node</a> is an <a href=#html-elements title="HTML elements">HTML element</a> whose tag name
-    is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a
-    <a href=#parse-error>parse error</a>; pop the <a href=#current-node>current node</a> off
-    the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
+    <p>If the <a href=#current-node>current node</a> is an <a href=#html-elements title="HTML elements">HTML element</a> whose
+    tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a <a href=#parse-error>parse
+    error</a>; pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
     <!-- See https://bugs.webkit.org/show_bug.cgi?id=12646 -->
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
@@ -90596,16 +90537,15 @@
    <dt>A start tag whose tag name is one of: "pre", "listing"</dt>
    <dd>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>If the <a href=#next-token>next token</a> is a U+000A LINE FEED (LF) character
-    token, then ignore that token and move on to the next
-    one. (Newlines at the start of <code><a href=#the-pre-element>pre</a></code> blocks are
-    ignored as an authoring convenience.)</p>
+    <p>If the <a href=#next-token>next token</a> is a U+000A LINE FEED (LF) character token, then ignore that
+    token and move on to the next one. (Newlines at the start of <code><a href=#the-pre-element>pre</a></code> blocks are ignored
+    as an authoring convenience.)</p>
 
     <!-- <pre>[CR]X will eat the [CR], <pre>&#x10;X will eat the
     &#x10;, but <pre>&#x13;X will not eat the &#x13;. -->
@@ -90618,19 +90558,16 @@
    <dt>A start tag whose tag name is "form"</dt>
    <dd>
 
-    <p>If the <a href=#form-element-pointer><code title=form>form</code> element
-    pointer</a> is not null, then this is a <a href=#parse-error>parse
-    error</a>; ignore the token.</p>
+    <p>If the <a href=#form-element-pointer><code title=form>form</code> element pointer</a> is not null, then this is
+    a <a href=#parse-error>parse error</a>; ignore the token.</p>
 
     <p>Otherwise:</p>
 
-    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
+    <p>If the <a href=#stack-of-open-elements>stack of open elements</a> <a href=#has-an-element-in-button-scope title="has an element in button scope">has a
+    <code>p</code> element in button scope</a>, then <a href=#close-a-p-element>close a <code>p</code>
+    element</a>.</p>
 
-    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, and set the
-    <a href=#form-element-pointer><code title=form>form</code> element pointer</a> to
-    point to the element created.</p>
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, and set the <a href=#form-element-pointer><code title=form>form</code> element pointer</a> to point to the element created.</p>
 
    </dd>
 
@@ -91564,11 +91501,11 @@
      formatting elements</a>, then remove <var title="">node</var> from the <a href=#stack-of-open-elements>stack of open
      elements</a> and then go back to the step labeled <i>inner loop</i>.</li>
 
-<!--CLEANUP-->
-     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">common ancestor</var> as the intended
-     parent; replace the entry for <var title="">node</var> in the <a href=#list-of-active-formatting-elements>list of active formatting
-     elements</a> with an entry for the new element, replace the entry for <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open elements</a> with an entry for the new
-     element, and let <var title="">node</var> be the new element.</li>
+     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">common
+     ancestor</var> as the intended parent; replace the entry for <var title="">node</var> in the
+     <a href=#list-of-active-formatting-elements>list of active formatting elements</a> with an entry for the new element, replace the
+     entry for <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open elements</a> with an entry for
+     the new element, and let <var title="">node</var> be the new element.</li>
 
      <li><p>If <var title="">last node</var> is <var title="">furthest block</var>, then move the
      aforementioned bookmark to be immediately after the new <var title="">node</var> in the
@@ -91587,10 +91524,9 @@
    <a href=#appropriate-place-for-inserting-a-node>appropriate place for inserting a node</a>, but using <var title="">common
    ancestor</var> as the <i>override target</i>.</li>
 
-<!--CLEANUP-->
    <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which <var title="">formatting
-   element</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">furthest block</var> as the intended
-   parent.</li>
+   element</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">furthest
+   block</var> as the intended parent.</li>
 
    <li><p>Take all of the child nodes of <var title="">furthest block</var> and append them to the
    element created in the last step.</li>
@@ -91623,12 +91559,10 @@
   <dl class=switch><dt>A character token</dt>
    <dd>
 
-    <p><a href=#insert-a-character title="insert a character">Insert the token's
-    character</a>.</p>
+    <p><a href=#insert-a-character title="insert a character">Insert the token's character</a>.</p>
 
-    <p class=note>This can never be a U+0000 NULL character; the
-    tokenizer converts those to U+FFFD REPLACEMENT CHARACTER
-    characters.</p>
+    <p class=note>This can never be a U+0000 NULL character; the tokenizer converts those to
+    U+FFFD REPLACEMENT CHARACTER characters.</p>
 
    </dd>
 
@@ -91638,15 +91572,13 @@
     <!-- can't be the fragment case -->
     <p><a href=#parse-error>Parse error</a>.</p>
 
-    <p>If the <a href=#current-node>current node</a> is a <code><a href=#the-script-element>script</a></code>
-    element, mark the <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already
-    started"</a>.</p>
+    <p>If the <a href=#current-node>current node</a> is a <code><a href=#the-script-element>script</a></code> element, mark the
+    <code><a href=#the-script-element>script</a></code> element as <a href=#already-started>"already started"</a>.</p>
 
-    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
-    insertion mode</a> and reprocess the token.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original insertion mode</a> and
+    reprocess the token.</p>
 
    </dd>
 
@@ -91657,51 +91589,43 @@
 
     <p><a href=#provide-a-stable-state>Provide a stable state</a>.</p>
 
-    <p>Let <var title="">script</var> be the <a href=#current-node>current node</a>
-    (which will be a <code><a href=#the-script-element>script</a></code> element).</p>
+    <p>Let <var title="">script</var> be the <a href=#current-node>current node</a> (which will be a
+    <code><a href=#the-script-element>script</a></code> element).</p>
 
-    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
-    insertion mode</a>.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original insertion mode</a>.</p>
 
-    <p>Let the <var title="">old insertion point</var> have the
-    same value as the current <a href=#insertion-point>insertion point</a>. Let
-    the <a href=#insertion-point>insertion point</a> be just before the <a href=#next-input-character>next
+    <p>Let the <var title="">old insertion point</var> have the same value as the current
+    <a href=#insertion-point>insertion point</a>. Let the <a href=#insertion-point>insertion point</a> be just before the <a href=#next-input-character>next
     input character</a>.</p>
 
-    <p>Increment the parser's <a href=#script-nesting-level>script nesting level</a> by
-    one.</p>
+    <p>Increment the parser's <a href=#script-nesting-level>script nesting level</a> by one.</p>
 
-    <p><a href=#prepare-a-script title="prepare a script">Prepare</a> the <var title="">script</var>. This might cause some script to execute,
-    which might cause <a href=#dom-document-write title=dom-document-write>new characters
-    to be inserted into the tokenizer</a>, and might cause the
-    tokenizer to output more tokens, resulting in a <a href=#nestedParsing>reentrant invocation of the parser</a>.</p>
+    <p><a href=#prepare-a-script title="prepare a script">Prepare</a> the <var title="">script</var>. This might
+    cause some script to execute, which might cause <a href=#dom-document-write title=dom-document-write>new characters
+    to be inserted into the tokenizer</a>, and might cause the tokenizer to output more tokens,
+    resulting in a <a href=#nestedParsing>reentrant invocation of the parser</a>.</p>
 
-    <p>Decrement the parser's <a href=#script-nesting-level>script nesting level</a> by
-    one. If the parser's <a href=#script-nesting-level>script nesting level</a> is zero,
-    then set the <a href=#parser-pause-flag>parser pause flag</a> to false.</p>
+    <p>Decrement the parser's <a href=#script-nesting-level>script nesting level</a> by one. If the parser's <a href=#script-nesting-level>script
+    nesting level</a> is zero, then set the <a href=#parser-pause-flag>parser pause flag</a> to false.</p>
 
-    <p>Let the <a href=#insertion-point>insertion point</a> have the value of the <var title="">old insertion point</var>. (In other words, restore the
-    <a href=#insertion-point>insertion point</a> to its previous value. This value
-    might be the "undefined" value.)</p>
+    <p>Let the <a href=#insertion-point>insertion point</a> have the value of the <var title="">old insertion
+    point</var>. (In other words, restore the <a href=#insertion-point>insertion point</a> to its previous value.
+    This value might be the "undefined" value.)</p>
 
-    <p id=scriptTagParserResumes>At this stage, if there is a
-    <a href=#pending-parsing-blocking-script>pending parsing-blocking script</a>, then:</p>
+    <p id=scriptTagParserResumes>At this stage, if there is a <a href=#pending-parsing-blocking-script>pending parsing-blocking
+    script</a>, then:</p>
 
     <dl class=switch><dt>If the <a href=#script-nesting-level>script nesting level</a> is not zero:</dt>
 
      <dd>
 
-      <p>Set the <a href=#parser-pause-flag>parser pause flag</a> to true, and abort the
-      processing of any nested invocations of the tokenizer, yielding
-      control back to the caller. (Tokenization will resume when the
-      caller returns to the "outer" tree construction stage.)</p>
+      <p>Set the <a href=#parser-pause-flag>parser pause flag</a> to true, and abort the processing of any nested
+      invocations of the tokenizer, yielding control back to the caller. (Tokenization will resume
+      when the caller returns to the "outer" tree construction stage.)</p>
 
-      <p class=note>The tree construction stage of this particular
-      parser is <a href=#nestedParsing>being called reentrantly</a>,
-      say from a call to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>.</p>
+      <p class=note>The tree construction stage of this particular parser is <a href=#nestedParsing>being called reentrantly</a>, say from a call to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>.</p>
 
      </dd>
 
@@ -91753,15 +91677,13 @@
    <dt>Any other end tag</dt>
    <dd>
 
-    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
-    elements</a>.</p>
+    <p>Pop the <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
-    insertion mode</a>.</p>
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original insertion mode</a>.</p>
 
    </dd>
 
-  </dl><h6 id=parsing-main-intable><span class=secno>12.2.5.4.9 </span>The "<dfn title="insertion mode: in table">in table</dfn>" insertion mode</h6>
+  </dl><!--CLEANUP--><h6 id=parsing-main-intable><span class=secno>12.2.5.4.9 </span>The "<dfn title="insertion mode: in table">in table</dfn>" insertion mode</h6>
 
   <p>When the user agent is to apply the rules for the "<a href=#parsing-main-intable title="insertion mode: in table">in table</a>" <a href=#insertion-mode>insertion mode</a>, the user agent must handle the token as follows:</p>
 

Modified: source
===================================================================
--- source	2013-08-01 20:22:26 UTC (rev 8117)
+++ source	2013-08-01 20:44:06 UTC (rev 8118)
@@ -8442,18 +8442,15 @@
 
   </dl>
 
-  <p><dfn>The body element</dfn> of a document is the first child of
-  <span>the <code>html</code> element</span> that is either a
-  <code>body</code> element or a <code>frameset</code> element. If
+  <p><dfn>The body element</dfn> of a document is the first child of <span>the <code>html</code>
+  element</span> that is either a <code>body</code> element or a <code>frameset</code> element. If
   there is no such element, it is null.</p>
 
   <div class="impl">
 
-  <p>The <dfn title="dom-document-body"><code>body</code></dfn>
-  attribute, on getting, must return <span>the body element</span> of
-  the document (either a <code>body</code> element, a
-  <code>frameset</code> element, or null). On setting, the following
-  algorithm must be run:</p>
+  <p>The <dfn title="dom-document-body"><code>body</code></dfn> attribute, on getting, must return
+  <span>the body element</span> of the document (either a <code>body</code> element, a
+  <code>frameset</code> element, or null). On setting, the following algorithm must be run:</p>
 
   <ol>
 
@@ -8466,20 +8463,16 @@
     search for ::body
    -->
 
-   <li>If the new value is not a <code>body</code> or
-   <code>frameset</code> element, then throw a
-   <code>HierarchyRequestError</code> exception and abort these
-   steps.</li>
+   <li>If the new value is not a <code>body</code> or <code>frameset</code> element, then throw a
+   <code>HierarchyRequestError</code> exception and abort these steps.</li>
 
-   <li>Otherwise, if the new value is the same as <span>the body
-   element</span>, do nothing. Abort these steps.</li>
+   <li>Otherwise, if the new value is the same as <span>the body element</span>, do nothing. Abort
+   these steps.</li>
 
-   <li>Otherwise, if <span>the body element</span> is not null, then
-   replace that element with the new value in the DOM, as if the root
-   element's <code title="">replaceChild()</code> method had been
-   called with the new value and <span title="the body element">the
-   incumbent body element</span> as its two arguments respectively,
-   then abort these steps.</li>
+   <li>Otherwise, if <span>the body element</span> is not null, then replace that element with the
+   new value in the DOM, as if the root element's <code title="">replaceChild()</code> method had
+   been called with the new value and <span title="the body element">the incumbent body
+   element</span> as its two arguments respectively, then abort these steps.</li>
 
    <li>Otherwise, if there is no root element, throw a <code>HierarchyRequestError</code> exception
    and abort these steps.</li>
@@ -13791,15 +13784,14 @@
     <span>character encoding declaration</span>. <span class="impl">This state's user agent
     requirements are all handled by the parsing section of the specification.</span></p>
 
-<!--CLEANUP-->
     <p>For <code>meta</code> elements with an <code title="attr-meta-http-equiv">http-equiv</code>
     attribute in the <span title="attr-meta-http-equiv-content-type">Encoding declaration
     state</span>, the <code title="attr-meta-content">content</code> attribute must have a value
     that is an <span>ASCII case-insensitive</span> match for a string that consists of: the literal
     string "<code title="">text/html;</code>", optionally followed by any number of <span
     title="space character">space characters</span>, followed by the literal string "<code
-    title="">charset=</code>", followed by one of the <span title="encoding label">labels</span> of the <span
-    title="encoding">character encoding</span> of the <span>character encoding
+    title="">charset=</code>", followed by one of the <span title="encoding label">labels</span> of
+    the <span title="encoding">character encoding</span> of the <span>character encoding
     declaration</span>.</p>
 
     <p>A document must not contain both a <code>meta</code> element with an <code
@@ -26478,17 +26470,17 @@
     </div>
    </dd>
   </dl><!--TOPIC:HTML-->
-<!--CLEANUP-->
 
-  <p>The <code>embed</code> element provides an integration point for an external
-  (typically non-HTML) application or interactive content.</p>
+  <p>The <code>embed</code> element provides an integration point for an external (typically
+  non-HTML) application or interactive content.</p>
 
   <p>The <dfn title="attr-embed-src"><code>src</code></dfn> attribute gives the address of the
   resource being embedded. The attribute, if present, must contain a <span>valid non-empty URL
   potentially surrounded by spaces</span>.</p>
 
-  <p>If the <code title="attr-itemprop">itemprop</code> attribute is specified on an <code>embed</code>
-  element, then the <code title="attr-embed-src">src</code> attribute must also be specified.</p>
+  <p>If the <code title="attr-itemprop">itemprop</code> attribute is specified on an
+  <code>embed</code> element, then the <code title="attr-embed-src">src</code> attribute must also
+  be specified.</p>
 
   <p>The <dfn title="attr-embed-type"><code>type</code></dfn> attribute, if present, gives the
   <span>MIME type</span> by which the plugin to instantiate is selected. The value must be a
@@ -26541,8 +26533,8 @@
   remaining <span title="concept-embed-active">potentially active</span> and has its <code
   title="attr-embed-type">src</code> attribute set, changed, or removed or its <code
   title="attr-embed-type">type</code> attribute set, changed, or removed, the user agent must
-  <span>queue a task</span> using the <dfn>embed task source</dfn> to run
-  <span>the <code>embed</code> element setup steps</span>.</p>
+  <span>queue a task</span> using the <dfn>embed task source</dfn> to run <span>the
+  <code>embed</code> element setup steps</span>.</p>
 
   <p><dfn>The <code>embed</code> element setup steps</dfn> are as follows:</p>
 
@@ -26582,36 +26574,36 @@
         <ol>
 
          <li><p>If the element has a <code title="attr-embed-type">type</code> attribute, and that
-         attribute's value is a type that a <span>plugin</span> supports, then the value of the <code
-         title="attr-embed-type">type</code> attribute is the <span title="concept-embed-type">content's
-         type</span>.</p></li>
+         attribute's value is a type that a <span>plugin</span> supports, then the value of the
+         <code title="attr-embed-type">type</code> attribute is the <span
+         title="concept-embed-type">content's type</span>.</p></li>
 
          <li>
 
           <!-- if we get to this point we know we can successfully parsed the URL, since this algorithm is
           only used after fetching the resource in the steps above -->
 
-          <p>Otherwise, if applying the <span>URL parser</span> algorithm to the <span>URL</span> of the
-          specified resource (after any redirects) results in a <span>parsed URL</span> whose <span
-          title="concept-url-path">path</span> component matches a pattern that a <span>plugin</span>
-          supports, then the <span title="concept-embed-type">content's type</span> is the type that that
-          plugin can handle.</p>
+          <p>Otherwise, if applying the <span>URL parser</span> algorithm to the <span>URL</span> of
+          the specified resource (after any redirects) results in a <span>parsed URL</span> whose
+          <span title="concept-url-path">path</span> component matches a pattern that a
+          <span>plugin</span> supports, then the <span title="concept-embed-type">content's
+          type</span> is the type that that plugin can handle.</p>
 
           <p class="example">For example, a plugin might say that it can handle resources with <span
-          title="concept-url-path">path</span> components that end with the four character string "<code
-          title="">.swf</code>".</p>
+          title="concept-url-path">path</span> components that end with the four character string
+          "<code title="">.swf</code>".</p>
 
           <!-- it's sad that we have to do extension sniffing. sigh. -->
           <!-- see also <object> which has a similar step -->
 
          </li>
 
-         <li><p>Otherwise, if the specified resource has <span title="Content-Type">explicit Content-Type
-         metadata</span>, then that is the <span title="concept-embed-type">content's
+         <li><p>Otherwise, if the specified resource has <span title="Content-Type">explicit
+         Content-Type metadata</span>, then that is the <span title="concept-embed-type">content's
          type</span>.</p></li>
 
-         <li><p>Otherwise, the content has no <span title="concept-embed-type">type</span> and there can
-         be no appropriate <span>plugin</span> for it.</p></li>
+         <li><p>Otherwise, the content has no <span title="concept-embed-type">type</span> and there
+         can be no appropriate <span>plugin</span> for it.</p></li>
 
          <!-- This algorithm is a monument to bad design. Go legacy! -->
 
@@ -26993,13 +26985,15 @@
 
      <li><p>If the <code title="attr-object-type">type</code> attribute is present and its value is
      not a type that the user agent supports, and is not a type that the user agent can find a
-     <span>plugin</span> for, then the user agent may jump to the step below labeled <i>fallback</i> without fetching the content to examine its real type.</p></li>
+     <span>plugin</span> for, then the user agent may jump to the step below labeled <i>fallback</i>
+     without fetching the content to examine its real type.</p></li>
 
      <li><p><span title="resolve a url">Resolve</span> the <span>URL</span> specified by the <code
      title="attr-object-data">data</code> attribute, relative to the element.</p></li>
 
      <li><p>If that failed, <span>fire a simple event</span> named <code
-     title="event-error">error</code> at the element, then jump to the step below labeled <i>fallback</i>.</p></li>
+     title="event-error">error</code> at the element, then jump to the step below labeled
+     <i>fallback</i>.</p></li>
 
      <li>
 
@@ -27021,11 +27015,11 @@
 
      <li><p>If the resource is not yet available (e.g. because the resource was not available in the
      cache, so that loading the resource required making a request over the network), then jump to
-     the step below labeled <i>fallback</i>. The <span
-     title="concept-task">task</span> that is <span title="queue a task">queued</span> by the
-     <span>networking task source</span> once the resource is available must restart this algorithm
-     from this step. Resources can load incrementally; user agents may opt to consider a resource
-     "available" whenever enough data has been obtained to begin processing the resource.</p></li>
+     the step below labeled <i>fallback</i>. The <span title="concept-task">task</span> that is
+     <span title="queue a task">queued</span> by the <span>networking task source</span> once the
+     resource is available must restart this algorithm from this step. Resources can load
+     incrementally; user agents may opt to consider a resource "available" whenever enough data has
+     been obtained to begin processing the resource.</p></li>
 
      <li><p>If the load failed (e.g. there was an HTTP 404 error, there was a DNS error), <span>fire
      a simple event</span> named <code title="event-error">error</code> at the element, then jump to
@@ -27304,7 +27298,8 @@
 
         <p>Otherwise, the user agent should <a href="#object-plugin">use the plugin that supports
         <var title="">resource type</var></a> and pass the content of the resource to that
-        <span>plugin</span>. If the <span>plugin</span> reports an error, then jump to the step below labeled <i>fallback</i>.</p>
+        <span>plugin</span>. If the <span>plugin</span> reports an error, then jump to the step
+        below labeled <i>fallback</i>.</p>
 
        </dd>
 
@@ -27375,7 +27370,8 @@
 
        <dd>
 
-        <p>The given <var title="">resource type</var> is not supported. Jump to the step below labeled <i>fallback</i>.</p>
+        <p>The given <var title="">resource type</var> is not supported. Jump to the step below
+        labeled <i>fallback</i>.</p>
 
         <p class="note">If the previous step ended with the <var title="">resource type</var> being
         unknown, this is the case that is triggered.</p>
@@ -27577,6 +27573,7 @@
    </dd>
   </dl><!--TOPIC:HTML-->
 
+<!--CLEANUP-->
   <p>The <code>param</code> element defines parameters for plugins
   invoked by <code>object</code> elements. It does not <span
   title="represents">represent</span> anything on its own.</p>
@@ -28985,17 +28982,18 @@
 
   <div class="impl">
 
-<!--CLEANUP-->
   <p>The <dfn title="dom-navigator-canPlayType"><code>canPlayType(<var
-  title="">type</var>)</code></dfn> method must return <dfn title="dom-CanPlayTypeEnum-nil">the empty string</dfn> if <var title="">type</var>
-  is <span>a type that the user agent knows it cannot render</span> or is the type
-  "<code>application/octet-stream</code>"; it must return "<dfn title="dom-CanPlayTypeEnum-probably"><code>probably</code></dfn>" if the
-  user agent is confident that the type represents a <span>media resource</span> that it can render
-  if used in with this <code>audio</code> or <code>video</code> element; and it must return "<dfn
-  title="dom-CanPlayTypeEnum-maybe"><code>maybe</code></dfn>" otherwise. Implementors are encouraged to return "<code
-  title="dom-CanPlayTypeEnum-maybe">maybe</code>" unless the type can be confidently established as being supported or not.
-  Generally, a user agent should never return "<code title="dom-CanPlayTypeEnum-probably">probably</code>" for a type that
-  allows the <code title="">codecs</code> parameter if that parameter is not present.</p>
+  title="">type</var>)</code></dfn> method must return <dfn title="dom-CanPlayTypeEnum-nil">the
+  empty string</dfn> if <var title="">type</var> is <span>a type that the user agent knows it cannot
+  render</span> or is the type "<code>application/octet-stream</code>"; it must return "<dfn
+  title="dom-CanPlayTypeEnum-probably"><code>probably</code></dfn>" if the user agent is confident
+  that the type represents a <span>media resource</span> that it can render if used in with this
+  <code>audio</code> or <code>video</code> element; and it must return "<dfn
+  title="dom-CanPlayTypeEnum-maybe"><code>maybe</code></dfn>" otherwise. Implementors are encouraged
+  to return "<code title="dom-CanPlayTypeEnum-maybe">maybe</code>" unless the type can be
+  confidently established as being supported or not. Generally, a user agent should never return
+  "<code title="dom-CanPlayTypeEnum-probably">probably</code>" for a type that allows the <code
+  title="">codecs</code> parameter if that parameter is not present.</p>
 
   </div>
 
@@ -29249,7 +29247,6 @@
    <!-- precondition: networkState == NETWORK_EMPTY or we're coming straight from the algorithm above
                       (where setting it to empty is commented out) -->
 
-<!--CLEANUP-->
    <li><p>Set the element's <code title="dom-media-networkState">networkState</code> attribute to
    the <code title="dom-media-NETWORK_NO_SOURCE">NETWORK_NO_SOURCE</code> value.</p></li>
 
@@ -29450,9 +29447,9 @@
      <var title="">absolute URL</var>. If that algorithm returns without aborting <em>this</em> one,
      then the load failed.</p></li>
 
-     <li><p><i title="">Failed with elements</i>: <span>Queue a task</span>, using the <span>DOM manipulation task
-     source</span>, to <span>fire a simple event</span> named <code title="event-error">error</code>
-     at the <var title="">candidate</var> element.</p></li>
+     <li><p><i title="">Failed with elements</i>: <span>Queue a task</span>, using the <span>DOM
+     manipulation task source</span>, to <span>fire a simple event</span> named <code
+     title="event-error">error</code> at the <var title="">candidate</var> element.</p></li>
 
      <li><p>Asynchronously <span>await a stable state</span>. The <span>synchronous section</span>
      consists of all the remaining steps of this algorithm until the algorithm says the
@@ -29681,8 +29678,8 @@
 
        <li><p><span title="concept-event-fire">Fire</span> a <span
        title="concept-events-trusted">trusted</span> event with the name <code
-       title="event-media-addtrack">addtrack</code>, that does not bubble and is not cancelable, and that
-       uses the <code>TrackEvent</code> interface, with the <code
+       title="event-media-addtrack">addtrack</code>, that does not bubble and is not cancelable, and
+       that uses the <code>TrackEvent</code> interface, with the <code
        title="dom-TrackEvent-track">track</code> attribute initialized to the new
        <code>AudioTrack</code> object, at this <code>AudioTrackList</code> object.</p></li>
 
@@ -73084,8 +73081,9 @@
   <p id="security-2">User agents must throw a <code>SecurityError</code> exception whenever any
   properties of a <code>Window</code> object are accessed when the <span>incumbent script</span> has
   an <span>effective script origin</span> that is not the <span title="same origin">same</span> as
-  <span title="concept-document-window">the <code>Window</code> object's <code>Document</code></span>'s <span>effective script origin</span>,
-  with the following exceptions:</p>
+  <span title="concept-document-window">the <code>Window</code> object's
+  <code>Document</code></span>'s <span>effective script origin</span>, with the following
+  exceptions:</p>
 
   <ul>
 
@@ -73118,10 +73116,11 @@
   </ul>
 
   <p>When the <span>incumbent script</span>'s <span>effective script origin</span> is different than
-  a <span title="concept-document-window"><code>Window</code> object's <code>Document</code></span>'s <span>effective script origin</span>, the
-  user agent must act as if any changes to that <code>Window</code> object's properties, getters,
-  setters, etc, were not present, and as if all the properties of that <code>Window</code> object
-  had their [[Enumerable]] attribute set to false.</p>
+  a <span title="concept-document-window"><code>Window</code> object's
+  <code>Document</code></span>'s <span>effective script origin</span>, the user agent must act as if
+  any changes to that <code>Window</code> object's properties, getters, setters, etc, were not
+  present, and as if all the properties of that <code>Window</code> object had their [[Enumerable]]
+  attribute set to false.</p>
 
   <p>For members that return objects (including function objects), each distinct <span>effective
   script origin</span> that is not the same as the <code>Window</code> object's
@@ -73264,9 +73263,10 @@
   browsing context name</span>, then the user agent must instead <span>queue a task</span> to
   <span>fire a simple event</span> named <code title="event-load">load</code> at the selected
   <span>browsing context</span>'s <code>Window</code> object, but with its <code
-  title="dom-event-target">target</code> set to the selected <span>browsing context</span>'s
-  <span title="concept-document-window"><code>Window</code> object's <code>Document</code></span> object (and the <code
-  title="dom-event-currentTarget">currentTarget</code> set to the <code>Window</code> object).</p>
+  title="dom-event-target">target</code> set to the selected <span>browsing context</span>'s <span
+  title="concept-document-window"><code>Window</code> object's <code>Document</code></span> object
+  (and the <code title="dom-event-currentTarget">currentTarget</code> set to the <code>Window</code>
+  object).</p>
 
   <p>The method must return the <code>WindowProxy</code> object of the <span>browsing context</span>
   that was navigated, or null if no browsing context was navigated.</p>
@@ -73859,14 +73859,14 @@
      <dd>
 
       <p>The <span>origin</span> is an <span title="concept-origin-alias">alias</span> to the
-      <span>origin</span> of the <span>incumbent script</span> when
-      the <span>navigate</span> algorithm was invoked, or, if no <span title="concept-script">script</span>
-      was involved, of the <code>Document</code> of the element that initiated the <span
+      <span>origin</span> of the <span>incumbent script</span> when the <span>navigate</span>
+      algorithm was invoked, or, if no <span title="concept-script">script</span> was involved, of
+      the <code>Document</code> of the element that initiated the <span
       title="navigate">navigation</span> to that <span>URL</span>.</p>
 
       <p>The <span>effective script origin</span> is initially an <span
-      title="concept-origin-alias">alias</span> to the <span>effective script origin</span> of that same <span title="concept-script">script</span> or
-      <code>Document</code>.</p>
+      title="concept-origin-alias">alias</span> to the <span>effective script origin</span> of that
+      same <span title="concept-script">script</span> or <code>Document</code>.</p>
 
      </dd>
 
@@ -74027,7 +74027,8 @@
 
      <dt>If a script is a function or other code reference created by another script</dt>
 
-     <dd>The owner is the <span>incumbent script</span> when the function or other code reference was created.</dd>
+     <dd>The owner is the <span>incumbent script</span> when the function or other code reference
+     was created.</dd>
 
 
      <dt>If a script is a <span title="javascript protocol"><code title="">javascript:</code>
@@ -74071,7 +74072,8 @@
      URL</span> to which a <span>browsing context</span> is being <span
      title="navigate">navigated</span>, the URL having been provided by script</dt>
 
-     <dd>The owner is the <span>incumbent script</span> when the <span>navigate</span> algorithm was invoked.</dd>
+     <dd>The owner is the <span>incumbent script</span> when the <span>navigate</span> algorithm was
+     invoked.</dd>
 
     </dl>
 
@@ -75355,8 +75357,8 @@
 
   <p>Navigation for the <code title="dom-location-assign">assign()</code> and <code
   title="dom-location-replace">replace()</code> methods must be done with the <span title="script's
-  browsing context">browsing context</span> of the <span>incumbent script</span> as the
-  <span>source browsing context</span>.</p>
+  browsing context">browsing context</span> of the <span>incumbent script</span> as the <span>source
+  browsing context</span>.</p>
 
   <p>If the <span title="resolve a url">resolving</span> step of the <code
   title="dom-location-assign">assign()</code> and <code
@@ -79953,8 +79955,6 @@
   <p class="note">The WebIDL specification also manipulates the <span>stack of incumbent
   scripts</span>. <a href="#refsWEBIDL">[WEBIDL]</a></p>
 
-<!--CLEANUP:all occurrences of 'incumbent'-->
-
   <hr>
 
   <p>Each <span>unit of related similar-origin browsing contexts</span> has a <dfn>running mutation
@@ -82409,9 +82409,8 @@
 
     <p>If the <span>active sandboxing flag set</span> of the <span>active document</span> of the
     <span title="script's browsing context">browsing context</span> of the <span>incumbent
-    script</span> has its <span>sandboxed auxiliary
-    navigation browsing context flag</span> set, then return the empty string and abort these
-    steps.</p>
+    script</span> has its <span>sandboxed auxiliary navigation browsing context flag</span> set,
+    then return the empty string and abort these steps.</p>
 
    </li>
 
@@ -82425,9 +82424,8 @@
 
    <li>
 
-<!--CLEANUP-->
-    <p>Let <var title="">the list of background browsing
-    contexts</var> be a list of all the browsing contexts that:</p>
+    <p>Let <var title="">the list of background browsing contexts</var> be a list of all the
+    browsing contexts that:</p>
 
     <ul>
 
@@ -82441,8 +82439,8 @@
 
     </ul>
 
-    <p>...as well as any browsing contexts that are nested inside any
-    of the browsing contexts matching those conditions.</p>
+    <p>...as well as any browsing contexts that are nested inside any of the browsing contexts
+    matching those conditions.</p>
 
    </li>
 
@@ -82511,9 +82509,8 @@
     <p><span>Navigate</span><!--DONAV showModalDialog--> the new <span>browsing context</span> to
     the <span>absolute URL</span> that resulted from <span title="resolve a url">resolving</span>
     <var title="">url</var> earlier, with <span>replacement enabled</span>, and with the <span
-    title="script's browsing context">browsing context</span> of the <span>incumbent
-    script</span> as the <span>source browsing
-    context</span>.</p>
+    title="script's browsing context">browsing context</span> of the <span>incumbent script</span>
+    as the <span>source browsing context</span>.</p>
 
    </li>
 
@@ -82534,12 +82531,12 @@
 
    <li>
 
-    <p>If the <span>auxiliary browsing context</span>'s <span>return value origin</span> at
-    the time the browsing context was <span title="close a browsing
-    context">closed</span> was the <span title="same origin">same</span> as <var title="">incumbent origin</var>,
-    then let <var title="">return value</var> be the <span>auxiliary browsing
-    context</span>'s <span>return value</span> as it stood when the browsing context was <span
-    title="close a browsing context">closed</span>.</p>
+    <p>If the <span>auxiliary browsing context</span>'s <span>return value origin</span> at the time
+    the browsing context was <span title="close a browsing context">closed</span> was the <span
+    title="same origin">same</span> as <var title="">incumbent origin</var>, then let <var
+    title="">return value</var> be the <span>auxiliary browsing context</span>'s <span>return
+    value</span> as it stood when the browsing context was <span title="close a browsing
+    context">closed</span>.</p>
 
     <p>Otherwise, let <var title="">return value</var> be undefined.</p>
 
@@ -89929,9 +89926,8 @@
    scope</var>. Let <var title="">worker</var> be this new object.</p></li>
 
    <li><p><span>Create a new <code>MessagePort</code> object</span> owned by the <span
-   title="script's global object">global object</span> of the <span>incumbent script</span>.
-   Let this be the <var
-   title="">outside port</var>.</p></li>
+   title="script's global object">global object</span> of the <span>incumbent script</span>. Let
+   this be the <var title="">outside port</var>.</p></li>
 
    <li><p>Associate the <var title="">outside port</var> with <var title="">worker</var>.</p></li>
 
@@ -89955,8 +89951,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <span>list of relevant <code>Document</code> objects to
-    add</span> given the <span title="script's global object">global object</span> of the <span>incumbent
-    script</span>.</p>
+    add</span> given the <span title="script's global object">global object</span> of the
+    <span>incumbent script</span>.</p>
 
    </li>
 
@@ -89971,11 +89967,10 @@
    <li>
 
     <p>If the <span title="script's global object">global object</span> of the <span>incumbent
-    script</span> is a
-    <code>WorkerGlobalScope</code> object (i.e. we are creating a nested worker), add <var
-    title="">worker global scope</var> to the list of <span>the worker's workers</span> of the
-    <code>WorkerGlobalScope</code> object that is the <span title="script's global object">global
-    object</span> of the <span>incumbent script</span>.</p>
+    script</span> is a <code>WorkerGlobalScope</code> object (i.e. we are creating a nested worker),
+    add <var title="">worker global scope</var> to the list of <span>the worker's workers</span> of
+    the <code>WorkerGlobalScope</code> object that is the <span title="script's global
+    object">global object</span> of the <span>incumbent script</span>.</p>
 
    </li>
 
@@ -89984,9 +89979,9 @@
     <p><span>Run a worker</span> for the resulting <span>absolute URL</span>, with the
     <span>script's browsing context</span> of the <span>incumbent script</span> as the <var
     title="">owner browsing context</var>, with the <span>script's document</span> of the
-    <span>incumbent script</span> as the <var title="">owner document</var>, with the <span>origin</span>
-    of the <span>entry script</span> as the <var title="">owner origin</var>, and with <var
-    title="">worker global scope</var> as the global scope.</p>
+    <span>incumbent script</span> as the <var title="">owner document</var>, with the
+    <span>origin</span> of the <span>entry script</span> as the <var title="">owner origin</var>,
+    and with <var title="">worker global scope</var> as the global scope.</p>
 
    </li>
 
@@ -90046,8 +90041,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <span>list of relevant <code>Document</code> objects to
-    add</span> given the <span title="script's global object">global object</span> of the <span>incumbent
-    script</span>.</p>
+    add</span> given the <span title="script's global object">global object</span> of the
+    <span>incumbent script</span>.</p>
 
    </li>
 
@@ -90093,9 +90088,9 @@
      <li>
 
       <p>If <var title="">worker global scope</var> is not null, but the user agent has been
-      configured to disallow communication between the <span>incumbent script</span>
-      and the worker represented by the <var title="">worker global
-      scope</var>, then set <var title="">worker global scope</var> to null.</p>
+      configured to disallow communication between the <span>incumbent script</span> and the worker
+      represented by the <var title="">worker global scope</var>, then set <var title="">worker
+      global scope</var> to null.</p>
 
       <p class="note">For example, a user agent could have a development mode that isolates a
       particular <span>top-level browsing context</span> from all other pages, and scripts in that
@@ -90147,11 +90142,10 @@
        <li>
 
         <p>If the <span title="script's global object">global object</span> of the <span>incumbent
-        script</span> is a
-        <code>WorkerGlobalScope</code> object, add <var title="">worker global scope</var> to the
-        list of <span>the worker's workers</span> of the <code>WorkerGlobalScope</code> object that
-        is the <span title="script's global object">global object</span> of the <span>incumbent
-        script</span>.</p>
+        script</span> is a <code>WorkerGlobalScope</code> object, add <var title="">worker global
+        scope</var> to the list of <span>the worker's workers</span> of the
+        <code>WorkerGlobalScope</code> object that is the <span title="script's global
+        object">global object</span> of the <span>incumbent script</span>.</p>
 
        </li>
 
@@ -90205,10 +90199,10 @@
    <li>
 
     <p>If the <span title="script's global object">global object</span> of the <span>incumbent
-    script</span> that invoked the constructor is a
-    <code>WorkerGlobalScope</code> object, add <var title="">worker global scope</var> to the list
-    of <span>the worker's workers</span> of the <code>WorkerGlobalScope</code> object that is the
-    <span title="script's global object">global object</span> of the <span>incumbent script</span>.</p>
+    script</span> that invoked the constructor is a <code>WorkerGlobalScope</code> object, add <var
+    title="">worker global scope</var> to the list of <span>the worker's workers</span> of the
+    <code>WorkerGlobalScope</code> object that is the <span title="script's global object">global
+    object</span> of the <span>incumbent script</span>.</p>
 
    </li>
 
@@ -90216,8 +90210,8 @@
 
     <p><span>Run a worker</span> for <var title="">scriptURL</var>, with the <span>script's browsing
     context</span> of the <span>incumbent script</span> as the <var title="">owner browsing
-    context</var>, with the <span>script's document</span> of the <span>incumbent script</span>
-    the <var title="">owner document</var>, with the <span>origin</span> of the <span>entry
+    context</var>, with the <span>script's document</span> of the <span>incumbent script</span> the
+    <var title="">owner document</var>, with the <span>origin</span> of the <span>entry
     script</span> as the <var title="">owner origin</var>, and with <var title="">worker global
     scope</var> as the global scope.</p>
 
@@ -90254,95 +90248,81 @@
 
   <h4>Importing scripts and libraries</h4>
 
-<!--CLEANUP-->
   <p>When a script invokes the <dfn
   title="dom-WorkerGlobalScope-importScripts"><code>importScripts(<var
-  title="">urls</var>)</code></dfn> method on a
-  <code>WorkerGlobalScope</code> object, the user agent must run the
-  following steps:</p>
+  title="">urls</var>)</code></dfn> method on a <code>WorkerGlobalScope</code> object, the user
+  agent must run the following steps:</p>
 
   <ol>
 
-   <li><p>If there are no arguments, return without doing
-   anything. Abort these steps.</p></li>
+   <li><p>If there are no arguments, return without doing anything. Abort these steps.</p></li>
 
-   <li><p><span title="resolve a url">Resolve</span> each
-   argument.</p></li>
+   <li><p><span title="resolve a url">Resolve</span> each argument.</p></li>
 
-   <li><p>If any fail, throw a <code>SyntaxError</code>
-   exception and abort these steps.</p></li>
+   <li><p>If any fail, throw a <code>SyntaxError</code> exception and abort these steps.</p></li>
 
    <li>
 
-    <p>Attempt to <span>fetch</span><!--FETCH--> each resource
-    identified by the resulting <span title="absolute URL">absolute
-    URLs</span>, from the <span>entry script</span>'s
-    <span>origin</span>, using the <span>entry script</span>'s <span
-    title="script's referrer source">referrer source</span>, and with
-    the <i>synchronous flag</i> set.</p> <!-- not http-origin privacy
-    sensitive -->
+    <p>Attempt to <span>fetch</span><!--FETCH--> each resource identified by the resulting <span
+    title="absolute URL">absolute URLs</span>, from the <span>entry script</span>'s
+    <span>origin</span>, using the <span>entry script</span>'s <span title="script's referrer
+    source">referrer source</span>, and with the <i>synchronous flag</i> set.</p> <!-- not
+    http-origin privacy sensitive -->
 
    </li>
 
    <li>
 
-    <p>For each argument in turn, in the order given, starting with
-    the first one, run these substeps:</p>
+    <p>For each argument in turn, in the order given, starting with the first one, run these
+    substeps:</p>
 
     <ol>
 
      <li>
 
-      <p>Wait for the fetching attempt for the corresponding resource
-      to complete.</p>
+      <p>Wait for the fetching attempt for the corresponding resource to complete.</p>
 
-      <p>If the fetching attempt failed, throw a
-      <code>NetworkError</code> exception and abort all these
-      steps.</p>
+      <p>If the fetching attempt failed, throw a <code>NetworkError</code> exception and abort all
+      these steps.</p>
 
       <p>If the attempt succeeds, then let <var title="">source</var> be the result of running the
       <span>UTF-8 decode</span> algorithm on the script resource.</p>
 
       <p>Let <var title="">language</var> be JavaScript.</p>
 
-      <p class="note">As with the worker's script, the script here is
-      always assumed to be JavaScript, regardless of the MIME
-      type.</p>
+      <p class="note">As with the worker's script, the script here is always assumed to be
+      JavaScript, regardless of the MIME type.</p>
 
      </li>
 
      <li>
 
-      <p><span>Create a script</span>, using <var
-      title="">source</var> as the script source, the <span>URL</span>
-      from which <var title="">source</var> was obtained, and <var
-      title="">language</var> as the scripting language, using the
-      same global object, browsing context, document, referrer source,
-      URL character encoding, and base URL as the <span
-      title="concept-script">script</span> that was created by the
-      worker's <span>run a worker</span> algorithm.</p>
+      <p><span>Create a script</span>, using <var title="">source</var> as the script source, the
+      <span>URL</span> from which <var title="">source</var> was obtained, and <var
+      title="">language</var> as the scripting language, using the same global object, browsing
+      context, document, referrer source, URL character encoding, and base URL as the <span
+      title="concept-script">script</span> that was created by the worker's <span>run a
+      worker</span> algorithm.</p>
 
       <p>If the script came from a resource whose <span>URL</span> does not have the <span>same
       origin</span> as the <span>worker origin</span>, then pass the <var title="">muted
       errors</var> flag to the <span>create a script from a node</span> algorithm.</p>
 
-      <p>Let the newly created <span
-      title="concept-script">script</span> run until it either
-      returns, fails to parse, fails to catch an exception, or gets
-      prematurely aborted by the "<span>kill a worker</span>" or
-      "<span>terminate a worker</span>" algorithms defined above.</p>
+      <p>Let the newly created <span title="concept-script">script</span> run until it either
+      returns, fails to parse, fails to catch an exception, or gets prematurely aborted by the
+      "<span>kill a worker</span>" or "<span>terminate a worker</span>" algorithms defined
+      above.</p>
 
-      <p>If it failed to parse, then throw an ECMAScript
-      <code title="js-SyntaxError">SyntaxError</code> exception and abort all these
-      steps. <a href="#refsECMA262">[ECMA262]</a></p>
+      <p>If it failed to parse, then throw an ECMAScript <code
+      title="js-SyntaxError">SyntaxError</code> exception and abort all these steps. <a
+      href="#refsECMA262">[ECMA262]</a></p>
 
-      <p>If an exception was thrown or if the script was prematurely
-      aborted, then abort all these steps, letting the exception or
-      aborting continue to be processed by the <span>incumbent script</span>.</p>
+      <p>If an exception was thrown or if the script was prematurely aborted, then abort all these
+      steps, letting the exception or aborting continue to be processed by the <span>incumbent
+      script</span>.</p>
 
-      <p>If the "<span>kill a worker</span>" or "<span>terminate a
-      worker</span>" algorithms abort the script then abort all these
-      steps.</p>
+      <p>If the "<span>kill a worker</span>" or "<span>terminate a worker</span>" algorithms abort
+      the script then abort all these steps.</p>
 
      </li>
 
@@ -92727,8 +92707,8 @@
     <!--END complete-->
     <a href="#refsHTML">[HTML]</a>
     <!--START complete-->
-    </p> <!-- invariant: the global object is always a Window if the
-    script can see this method -->
+    </p>
+    <!-- invariant: the global object is always a Window if the script can see this method -->
 
    </li>
 
@@ -99780,8 +99760,8 @@
     interface), with the tag name being the name of that element, with the node being in the given
     namespace, and with the attributes on the node being those given in the given token.</p>
 
-    <p>The interface appropriate for an element in the <span>HTML namespace</span> that is not defined
-    in this specification (or <span>other applicable specifications</span>) is
+    <p>The interface appropriate for an element in the <span>HTML namespace</span> that is not
+    defined in this specification (or <span>other applicable specifications</span>) is
     <code>HTMLUnknownElement</code>. Elements in other namespaces whose interface is not defined by
     that namespace's specification must use the interface <code>Element</code>.</p>
 
@@ -99791,26 +99771,21 @@
    </li>
 
    <li><p>If the newly created element has an <code title="">xmlns</code> attribute <em>in the
-   <span>XMLNS namespace</span></em> whose value is not exactly the same as the element's namespace, that
-   is a <span>parse error</span>. Similarly, if the newly created element has an <code
+   <span>XMLNS namespace</span></em> whose value is not exactly the same as the element's namespace,
+   that is a <span>parse error</span>. Similarly, if the newly created element has an <code
    title="">xmlns:xlink</code> attribute in the <span>XMLNS namespace</span> whose value is not the
    <span>XLink Namespace</span>, that is a <span>parse error</span>.</p></li>
 
-<!--CLEANUP-->
-   <li>
+   <li><p>If the newly created element is a <span title="category-reset">resettable element</span>,
+   invoke its <span title="concept-form-reset-control">reset algorithm</span>. (This initializes the
+   element's <span title="concept-fe-value">value</span> and <span
+   title="concept-fe-checked">checkedness</span> based on the element's attributes.)</p></li>
 
-    <p>If the newly created element is a <span title="category-reset">resettable element</span>,
-    invoke its <span title="concept-form-reset-control">reset algorithm</span>. (This initializes
-    the element's <span title="concept-fe-value">value</span> and <span
-    title="concept-fe-checked">checkedness</span> based on the element's attributes.)</p>
-
-   </li>
-
    <li><p>If the element is a <span>form-associated element</span>, and the <span><code
-   title="">form</code> element pointer</span> is not null,
-   and there is no <code>template</code> element on the <span>stack of open elements</span>,
-   and the newly created element is either not <span title="category-form-attr">reassociateable</span> or doesn't
-   have a <code title="attr-fae-form">form</code> attribute, <span
+   title="">form</code> element pointer</span> is not null, and there is no <code>template</code>
+   element on the <span>stack of open elements</span>, and the newly created element is either not
+   <span title="category-form-attr">reassociateable</span> or doesn't have a <code
+   title="attr-fae-form">form</code> attribute, <span
    title="concept-form-association">associate</span> the newly created element with the
    <code>form</code> element pointed to by the <span><code title="">form</code> element
    pointer</span>, and suppress the running of the <span>reset the form owner</span> algorithm in
@@ -99826,17 +99801,17 @@
          https://www.w3.org/Bugs/Public/show_bug.cgi?id=18367
        Not sure what we could call them instead, though... -->
 
-  <p>When the steps below require the user agent to <dfn>insert a foreign element</dfn> for a token in a given namespace,
-  the user agent must run these steps:</p>
+  <p>When the steps below require the user agent to <dfn>insert a foreign element</dfn> for a token
+  in a given namespace, the user agent must run these steps:</p>
 
   <ol>
 
-   <li><p>Let the <var title="">adjusted insertion location</var> be the <span>appropriate
-   place for inserting a node</span>.</p></li>
+   <li><p>Let the <var title="">adjusted insertion location</var> be the <span>appropriate place for
+   inserting a node</span>.</p></li>
 
-   <li><p><span>Create an element for the token</span> in the given namespace, with the
-   intended parent being the element in which the <var title="">adjusted insertion location</var>
-   finds itself.</p></li>
+   <li><p><span>Create an element for the token</span> in the given namespace, with the intended
+   parent being the element in which the <var title="">adjusted insertion location</var> finds
+   itself.</p></li>
 
    <li>
 
@@ -99858,7 +99833,8 @@
   </ol>
 
   <p>When the steps below require the user agent to <dfn>insert an HTML element</dfn> for a token,
-  the user agent must <span>insert a foreign element</span> for the token, in the <span>HTML namespace</span>.</p>
+  the user agent must <span>insert a foreign element</span> for the token, in the <span>HTML
+  namespace</span>.</p>
 
   <hr>
 
@@ -100361,9 +100337,8 @@
     <p><span>Insert a comment</span> as the last child of the <code>Document</code> object.</p>
    </dd>
 
-   <dt>A character token that is one of U+0009 CHARACTER
-   TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
-   U+000D CARRIAGE RETURN (CR), or U+0020 SPACE</dt>
+   <dt>A character token that is one of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C
+   FORM FEED (FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE</dt>
    <dd>
     <p>Ignore the token.</p>
    </dd>
@@ -100371,30 +100346,25 @@
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
 
-<!--CLEANUP-->
-    <p><span>Create an element for the token</span> in the <span>HTML
-    namespace</span>, with the <code>Document</code> as the intended parent. Append it to the <code>Document</code>
-    object. Put this element in the <span>stack of open
-    elements</span>.</p>
+    <p><span>Create an element for the token</span> in the <span>HTML namespace</span>, with the
+    <code>Document</code> as the intended parent. Append it to the <code>Document</code> object. Put
+    this element in the <span>stack of open elements</span>.</p>
 
-    <p id="parser-appcache">If the <code>Document</code> is being
-    loaded as part of <span title="navigate">navigation</span> of a
-    <span>browsing context</span>, then: if the newly created element
-    has a <code title="attr-html-manifest">manifest</code> attribute
-    whose value is not the empty string, then <span title="resolve a
-    url">resolve</span> the value of that attribute to an
-    <span>absolute URL</span>, relative to the newly created element,
-    and if that is successful, run the <span
-    title="concept-appcache-init">application cache selection
-    algorithm</span> with the result of applying the <span title="concept-url-serializer">URL serializer</span> algorithm to
-    the resulting <span>parsed URL</span> with the <i>exclude fragment flag</i> set; otherwise, if there is no such attribute, or its value is
-    the empty string, or resolving its value fails, run the <span
-    title="concept-appcache-init">application cache selection
-    algorithm</span> with no manifest. The algorithm must be passed
-    the <code>Document</code> object.</p>
+    <p id="parser-appcache">If the <code>Document</code> is being loaded as part of <span
+    title="navigate">navigation</span> of a <span>browsing context</span>, then: if the newly
+    created element has a <code title="attr-html-manifest">manifest</code> attribute whose value is
+    not the empty string, then <span title="resolve a url">resolve</span> the value of that
+    attribute to an <span>absolute URL</span>, relative to the newly created element, and if that is
+    successful, run the <span title="concept-appcache-init">application cache selection
+    algorithm</span> with the result of applying the <span title="concept-url-serializer">URL
+    serializer</span> algorithm to the resulting <span>parsed URL</span> with the <i>exclude
+    fragment flag</i> set; otherwise, if there is no such attribute, or its value is the empty
+    string, or resolving its value fails, run the <span title="concept-appcache-init">application
+    cache selection algorithm</span> with no manifest. The algorithm must be passed the
+    <code>Document</code> object.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: before head">before head</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: before head">before
+    head</span>".</p>
 
    </dd>
 
@@ -100411,29 +100381,26 @@
    <dt>Anything else</dt>
    <dd>
 
-    <p>Create an <code>html</code> element whose <code title="dom-Node-ownerDocument">ownerDocument</code> is the <code>Document</code> object. Append it to the
-    <code>Document</code> object. Put this element in the <span>stack
-    of open elements</span>.</p>
+    <p>Create an <code>html</code> element whose <code
+    title="dom-Node-ownerDocument">ownerDocument</code> is the <code>Document</code> object. Append
+    it to the <code>Document</code> object. Put this element in the <span>stack of open
+    elements</span>.</p>
 
     <p>If the <code>Document</code> is being loaded as part of <span
-    title="navigate">navigation</span> of a <span>browsing
-    context</span>, then: run the <span
-    title="concept-appcache-init">application cache selection
-    algorithm</span> with no manifest, passing it the
-    <code>Document</code> object.</p>
+    title="navigate">navigation</span> of a <span>browsing context</span>, then: run the <span
+    title="concept-appcache-init">application cache selection algorithm</span> with no manifest,
+    passing it the <code>Document</code> object.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: before head">before head</span>", then
-    reprocess the token.</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: before head">before
+    head</span>", then reprocess the token.</p>
 
    </dd>
 
   </dl>
 
-  <p>The root element can end up being removed from the
-  <code>Document</code> object, e.g. by scripts; nothing in particular
-  happens in such cases, content continues being appended to the nodes
-  as described in the next section.</p>
+  <p>The root element can end up being removed from the <code>Document</code> object, e.g. by
+  scripts; nothing in particular happens in such cases, content continues being appended to the
+  nodes as described in the next section.</p>
 
 
   <h6>The "<dfn title="insertion mode: before head">before head</dfn>" insertion mode</h6>
@@ -100461,9 +100428,8 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
-    <p>Process the token <span>using the rules for</span> the "<span
-    title="insertion mode: in body">in body</span>" <span>insertion
-    mode</span>.</p>
+    <p>Process the token <span>using the rules for</span> the "<span title="insertion mode: in
+    body">in body</span>" <span>insertion mode</span>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "head"</dt>
@@ -100471,11 +100437,11 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
-    <p>Set the <span><code title="">head</code> element pointer</span>
-    to the newly created <code>head</code> element.</p>
+    <p>Set the <span><code title="">head</code> element pointer</span> to the newly created
+    <code>head</code> element.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: in head">in head</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in head">in
+    head</span>".</p>
 
    </dd>
 
@@ -100500,11 +100466,11 @@
 
     <p><span>Insert an HTML element</span> for a "head" start tag token with no attributes.</p>
 
-    <p>Set the <span><code title="">head</code> element pointer</span>
-    to the newly created <code>head</code> element.</p>
+    <p>Set the <span><code title="">head</code> element pointer</span> to the newly created
+    <code>head</code> element.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: in head">in head</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in head">in
+    head</span>".</p>
 
     <!-- end of fake <head> -->
 
@@ -100540,33 +100506,30 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
-    <p>Process the token <span>using the rules for</span> the "<span
-    title="insertion mode: in body">in body</span>" <span>insertion
-    mode</span>.</p>
+    <p>Process the token <span>using the rules for</span> the "<span title="insertion mode: in
+    body">in body</span>" <span>insertion mode</span>.</p>
    </dd>
 
    <dt>A start tag whose tag name is one of: "base", "basefont",
    "bgsound", "link"</dt>
    <dd>
 
-    <p><span>Insert an HTML element</span> for the token. Immediately
-    pop the <span>current node</span> off the <span>stack of open
-    elements</span>.</p>
+    <p><span>Insert an HTML element</span> for the token. Immediately pop the <span>current
+    node</span> off the <span>stack of open elements</span>.</p>
 
-    <p><span title="acknowledge self-closing flag">Acknowledge the
-    token's <i>self-closing flag</i></span>, if it is set.</p>
+    <p><span title="acknowledge self-closing flag">Acknowledge the token's <i>self-closing
+    flag</i></span>, if it is set.</p>
 
    </dd>
 
    <dt>A start tag whose tag name is "meta"</dt>
    <dd>
 
-    <p><span>Insert an HTML element</span> for the token. Immediately
-    pop the <span>current node</span> off the <span>stack of open
-    elements</span>.</p>
+    <p><span>Insert an HTML element</span> for the token. Immediately pop the <span>current
+    node</span> off the <span>stack of open elements</span>.</p>
 
-    <p><span title="acknowledge self-closing flag">Acknowledge the
-    token's <i>self-closing flag</i></span>, if it is set.</p>
+    <p><span title="acknowledge self-closing flag">Acknowledge the token's <i>self-closing
+    flag</i></span>, if it is set.</p>
 
     <p id="meta-charset-during-parse">If the element has a <code
     title="attr-meta-charset">charset</code> attribute, and <span>getting an encoding</span> from
@@ -100601,9 +100564,8 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: in head noscript">in head
-    noscript</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in head noscript">in
+    head noscript</span>".</p>
 
    </dd>
 
@@ -100615,32 +100577,28 @@
 
     <ol>
 
-     <li><p>Let the <var title="">adjusted insertion location</var> be the <span>appropriate
-     place for inserting a node</span>.</p></li>
+     <li><p>Let the <var title="">adjusted insertion location</var> be the <span>appropriate place
+     for inserting a node</span>.</p></li>
 
-     <li><p><span>Create an element for the token</span> in the <span>HTML namespace</span>, with the
-     intended parent being the element in which the <var title="">adjusted insertion location</var>
-     finds itself.</p></li>
+     <li><p><span>Create an element for the token</span> in the <span>HTML namespace</span>, with
+     the intended parent being the element in which the <var title="">adjusted insertion
+     location</var> finds itself.</p></li>
 
      <li>
 
-<!--CLEANUP-->
-      <p>Mark the element as being <span>"parser-inserted"</span> and
-      unset the element's <span>"force-async"</span> flag.</p>
+      <p>Mark the element as being <span>"parser-inserted"</span> and unset the element's
+      <span>"force-async"</span> flag.</p>
 
-      <p class="note">This ensures that, if the script is external,
-      any <code title="dom-document-write">document.write()</code>
-      calls in the script will execute in-line, instead of blowing the
-      document away, as would happen in most other cases. It also
-      prevents the script from executing until the end tag is
-      seen.</p>
+      <p class="note">This ensures that, if the script is external, any <code
+      title="dom-document-write">document.write()</code> calls in the script will execute in-line,
+      instead of blowing the document away, as would happen in most other cases. It also prevents
+      the script from executing until the end tag is seen.</p>
 
      </li>
 
-     <li><p>If the parser was originally created for the <span>HTML
-     fragment parsing algorithm</span>, then mark the
-     <code>script</code> element as <span>"already
-     started"</span>. (<span>fragment case</span>)</p></li>
+     <li><p>If the parser was originally created for the <span>HTML fragment parsing
+     algorithm</span>, then mark the <code>script</code> element as <span>"already started"</span>.
+     (<span>fragment case</span>)</p></li>
 
      <li><p>Insert the newly created element at the <var title="">adjusted insertion
      location</var>.</p></li>
@@ -100648,14 +100606,13 @@
      <li><p>Push the element onto the <span>stack of open elements</span> so that it is the new
      <span>current node</span>.</p></li>
 
-     <li><p>Switch the tokenizer to the <span>script data
-     state</span>.</p></li>
+     <li><p>Switch the tokenizer to the <span>script data state</span>.</p></li>
 
-     <li><p>Let the <span>original insertion mode</span> be the current
-     <span>insertion mode</span>.</p>
+     <li><p>Let the <span>original insertion mode</span> be the current <span>insertion
+     mode</span>.</p>
 
-     <li><p>Switch the <span>insertion mode</span> to "<span
-     title="insertion mode: text">text</span>".</p></li>
+     <li><p>Switch the <span>insertion mode</span> to "<span title="insertion mode:
+     text">text</span>".</p></li>
 
     </ol>
 
@@ -100664,12 +100621,11 @@
    <dt>An end tag whose tag name is "head"</dt>
    <dd>
 
-    <p>Pop the <span>current node</span> (which will be the
-    <code>head</code> element) off the <span>stack of open
-    elements</span>.</p>
+    <p>Pop the <span>current node</span> (which will be the <code>head</code> element) off the
+    <span>stack of open elements</span>.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: after head">after head</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: after head">after
+    head</span>".</p>
 
    </dd>
 
@@ -100711,12 +100667,10 @@
      <li><p>If the <span>current node</span> is not a <code>template</code> element, then this is a
      <span>parse error</span>.</p></li>
 
-     <li><p>Pop elements from the <span>stack of open elements</span>
-     until a <code>template</code> element has been
-     popped from the stack.</p></li>
+     <li><p>Pop elements from the <span>stack of open elements</span> until a <code>template</code>
+     element has been popped from the stack.</p></li>
 
-     <li><span>Clear the list of active formatting elements up to the
-     last marker</span>.</li>
+     <li><span>Clear the list of active formatting elements up to the last marker</span>.</li>
 
      <li><p>Pop the <span>current template insertion mode</span> off the <span>stack of template
      insertion modes</span>.</p>
@@ -100869,8 +100823,8 @@
 
     <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: in body">in body</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in body">in
+    body</span>".</p>
 
    </dd>
 
@@ -100879,32 +100833,28 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: in frameset">in frameset</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in frameset">in
+    frameset</span>".</p>
 
    </dd>
 
-   <dt>A start tag whose tag name is one of: "base", "basefont",
-   "bgsound", "link", "meta", "noframes", "script", "style",
-   "title"</dt>
+   <dt>A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta",
+   "noframes", "script", "style", "title"</dt>
    <dd>
 
     <p><span>Parse error</span>.</p>
 
-    <p>Push the node pointed to by the <span><code
-    title="">head</code> element pointer</span> onto the
-    <span>stack of open elements</span>.</p>
+    <p>Push the node pointed to by the <span><code title="">head</code> element pointer</span> onto
+    the <span>stack of open elements</span>.</p>
 
-    <p>Process the token <span>using the rules for</span> the "<span
-    title="insertion mode: in head">in head</span>" <span>insertion
-    mode</span>.</p>
+    <p>Process the token <span>using the rules for</span> the "<span title="insertion mode: in
+    head">in head</span>" <span>insertion mode</span>.</p>
 
-    <p>Remove the node pointed to by the <span><code
-    title="">head</code> element pointer</span> from the <span>stack
-    of open elements</span>.</p>
+    <p>Remove the node pointed to by the <span><code title="">head</code> element pointer</span>
+    from the <span>stack of open elements</span>.</p>
 
-    <p class="note">The <span><code title="">head</code> element
-    pointer</span> cannot be null at this point.</p>
+    <p class="note">The <span><code title="">head</code> element pointer</span> cannot be null at
+    this point.</p>
 
    </dd>
 
@@ -100925,8 +100875,8 @@
     <!-- fake <body>, but without resetting frameset-ok -->
     <p><span>Insert an HTML element</span> for a "body" start tag token with no attributes.</p>
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: in body">in body</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in body">in
+    body</span>".</p>
     <!-- end fake <body> -->
 
     <p>Reprocess the current token.</p>
@@ -100961,22 +100911,18 @@
    RETURN (CR), or U+0020 SPACE</dt>
    <dd>
 
-    <p><span>Reconstruct the active formatting elements</span>, if
-    any.</p>
+    <p><span>Reconstruct the active formatting elements</span>, if any.</p>
 
-    <p><span title="insert a character">Insert the token's
-    character</span>.</p>
+    <p><span title="insert a character">Insert the token's character</span>.</p>
 
    </dd>
 
    <dt>Any other character token</dt>
    <dd>
 
-    <p><span>Reconstruct the active formatting elements</span>, if
-    any.</p>
+    <p><span>Reconstruct the active formatting elements</span>, if any.</p>
 
-    <p><span title="insert a character">Insert the token's
-    character</span>.</p>
+    <p><span title="insert a character">Insert the token's character</span>.</p>
 
     <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
 
@@ -100994,24 +100940,24 @@
 
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
+
     <p><span>Parse error</span>.</p>
 
     <p>If there is a <code>template</code> element on the <span>stack of open elements</span>, then
     ignore the token.</p>
 
-    <p>Otherwise, for each attribute on the token,
-    check to see if the attribute is already present on the top
-    element of the <span>stack of open elements</span>. If it is not,
-    add the attribute and its corresponding value to that element.</p>
+    <p>Otherwise, for each attribute on the token, check to see if the attribute is already present
+    on the top element of the <span>stack of open elements</span>. If it is not, add the attribute
+    and its corresponding value to that element.</p>
+
    </dd>
 
-   <dt>A start tag whose tag name is one of: "base", "basefont",
-   "bgsound", "link", "meta", "noframes", "script", "style", "template", "title"</dt>
+   <dt>A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta",
+   "noframes", "script", "style", "template", "title"</dt>
    <dt>An end tag whose tag name is "template"</dt>
    <dd>
-    <p>Process the token <span>using the rules for</span> the "<span
-    title="insertion mode: in head">in head</span>" <span>insertion
-    mode</span>.</p>
+    <p>Process the token <span>using the rules for</span> the "<span title="insertion mode: in
+    head">in head</span>" <span>insertion mode</span>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "body"</dt>
@@ -101019,18 +100965,15 @@
 
     <p><span>Parse error</span>.</p>
 
-    <p>If the second element on the <span>stack of open
-    elements</span> is not a <code>body</code> element, if the
-    <span>stack of open elements</span> has only one node on it,
-    or if there is a <code>template</code> element on the <span>stack of open elements</span>,
-    then ignore the token. (<span>fragment case</span>)</p>
+    <p>If the second element on the <span>stack of open elements</span> is not a <code>body</code>
+    element, if the <span>stack of open elements</span> has only one node on it, or if there is a
+    <code>template</code> element on the <span>stack of open elements</span>, then ignore the token.
+    (<span>fragment case</span>)</p>
 
-    <p>Otherwise, set the <span>frameset-ok flag</span> to "not ok";
-    then, for each attribute on the token, check to see if the
-    attribute is already present on the <code>body</code> element (the
-    second element) on the <span>stack of open elements</span>, and if
-    it is not, add the attribute and its corresponding value to that
-    element.</p>
+    <p>Otherwise, set the <span>frameset-ok flag</span> to "not ok"; then, for each attribute on the
+    token, check to see if the attribute is already present on the <code>body</code> element (the
+    second element) on the <span>stack of open elements</span>, and if it is not, add the attribute
+    and its corresponding value to that element.</p>
 
    </dd>
 
@@ -101039,31 +100982,26 @@
 
     <p><span>Parse error</span>.</p>
 
-<!--CLEANUP--><!--should switch these clauses around-->
-    <p>If the second element on the <span>stack of open
-    elements</span> is not a <code>body</code> element, or, if the
-    <span>stack of open elements</span> has only one node on it,
-    then ignore the token. (<span>fragment case</span>)</p>
+    <p>If the <span>stack of open elements</span> has only one node on it, or if the second element
+    on the <span>stack of open elements</span> is not a <code>body</code> element, then ignore the
+    token. (<span>fragment case</span>)</p>
 
-    <p>If the <span>frameset-ok flag</span> is set to "not ok", ignore
-    the token.</p>
+    <p>If the <span>frameset-ok flag</span> is set to "not ok", ignore the token.</p>
 
     <p>Otherwise, run the following steps:</p>
 
     <ol>
 
-     <li><p>Remove the second element on the <span>stack of open
-     elements</span> from its parent node, if it has one.</p></li>
+     <li><p>Remove the second element on the <span>stack of open elements</span> from its parent
+     node, if it has one.</p></li>
 
-     <li><p>Pop all the nodes from the bottom of the <span>stack of
-     open elements</span>, from the <span>current node</span> up to,
-     but not including, the root <code>html</code> element.</p>
+     <li><p>Pop all the nodes from the bottom of the <span>stack of open elements</span>, from the
+     <span>current node</span> up to, but not including, the root <code>html</code> element.</p>
 
-     <li><p><span>Insert an HTML element</span> for the
-     token.</p></li>
+     <li><p><span>Insert an HTML element</span> for the token.</p></li>
 
-     <li><p>Switch the <span>insertion mode</span> to "<span
-     title="insertion mode: in frameset">in frameset</span>".</p>
+     <li><p>Switch the <span>insertion mode</span> to "<span title="insertion mode: in frameset">in
+     frameset</span>".</p>
 
     </ol>
 
@@ -101072,15 +101010,12 @@
    <dt>An end-of-file token</dt>
    <dd>
 
-    <p>If there is a node in the <span>stack of open elements</span>
-    that is not either a <code>dd</code> element, a <code>dt</code>
-    element, an <code>li</code> element, a <code>p</code> element, a
-    <code>tbody</code> element, a <code>td</code> element, a
-    <code>tfoot</code> element, a <code>th</code> element, a
-    <code>thead</code> element, a <code>tr</code> element, the
-    <code>body</code> element, or the <code>html</code> element, then
-    this is a <span>parse error</span>.</p> <!-- (some of those are
-    fragment cases) -->
+    <p>If there is a node in the <span>stack of open elements</span> that is not either a
+    <code>dd</code> element, a <code>dt</code> element, an <code>li</code> element, a <code>p</code>
+    element, a <code>tbody</code> element, a <code>td</code> element, a <code>tfoot</code> element,
+    a <code>th</code> element, a <code>thead</code> element, a <code>tr</code> element, the
+    <code>body</code> element, or the <code>html</code> element, then this is a <span>parse
+    error</span>.</p> <!-- (some of those are fragment cases) -->
 
     <p>If the <span>stack of template insertion modes</span> is not empty, then process the token
     <span>using the rules for</span> the "<span title="insertion mode: in template">in
@@ -101094,34 +101029,27 @@
    <dt>An end tag whose tag name is "body"</dt>
    <dd>
 
-    <p>If the <span>stack of open elements</span> does not <span
-    title="has an element in scope">have a <code>body</code> element
-    in scope</span>, this is a <span>parse error</span>; ignore the
-    token.</p>
+    <p>If the <span>stack of open elements</span> does not <span title="has an element in
+    scope">have a <code>body</code> element in scope</span>, this is a <span>parse error</span>;
+    ignore the token.</p>
 
-    <!-- if we get here, the insertion mode here is forcibly "in
-    body". -->
+    <!-- if we get here, the insertion mode here is forcibly "in body". -->
 
-    <p>Otherwise, if there is a node in the <span>stack of open
-    elements</span> that is not either a <code>dd</code> element, a
-    <code>dt</code> element, an <code>li</code> element, an
-    <code>optgroup</code> element, an <code>option</code> element, a
-    <code>p</code> element, an <code>rp</code> element, an
-    <code>rt</code> element, a <code>tbody</code> element, a
-    <code>td</code> element, a <code>tfoot</code> element, a
-    <code>th</code> element, a <code>thead</code> element, a
-    <code>tr</code> element, the <code>body</code> element, or the
-    <code>html</code> element, then this is a <span>parse
-    error</span>.</p> <!-- (some of those are fragment cases, e.g. for
-    <tbody> you'd have hit the first paragraph since the <body>
-    wouldn't be in scope, unless it was a fragment case) -->
+    <p>Otherwise, if there is a node in the <span>stack of open elements</span> that is not either a
+    <code>dd</code> element, a <code>dt</code> element, an <code>li</code> element, an
+    <code>optgroup</code> element, an <code>option</code> element, a <code>p</code> element, an
+    <code>rp</code> element, an <code>rt</code> element, a <code>tbody</code> element, a
+    <code>td</code> element, a <code>tfoot</code> element, a <code>th</code> element, a
+    <code>thead</code> element, a <code>tr</code> element, the <code>body</code> element, or the
+    <code>html</code> element, then this is a <span>parse error</span>.</p> <!-- (some of those are
+    fragment cases, e.g. for <tbody> you'd have hit the first paragraph since the <body> wouldn't be
+    in scope, unless it was a fragment case) -->
 
-    <!-- If we ever change the frameset-ok flag to an insertion mode,
-    then we'd have to somehow keep track of its state when we switch
-    to after-body. -->
+    <!-- If we ever change the frameset-ok flag to an insertion mode, then we'd have to somehow keep
+    track of its state when we switch to after-body. -->
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: after body">after body</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: after body">after
+    body</span>".</p>
 
    </dd>
 
@@ -101129,34 +101057,27 @@
    <dd>
 
     <!-- fake </body> -->
-    <p>If the <span>stack of open elements</span> does not <span
-    title="has an element in scope">have a <code>body</code> element
-    in scope</span>, this is a <span>parse error</span>; ignore the
-    token.</p>
+    <p>If the <span>stack of open elements</span> does not <span title="has an element in
+    scope">have a <code>body</code> element in scope</span>, this is a <span>parse error</span>;
+    ignore the token.</p>
 
-    <!-- if we get here, the insertion mode here is forcibly "in
-    body". -->
+    <!-- if we get here, the insertion mode here is forcibly "in body". -->
 
-    <p>Otherwise, if there is a node in the <span>stack of open
-    elements</span> that is not either a <code>dd</code> element, a
-    <code>dt</code> element, an <code>li</code> element, an
-    <code>optgroup</code> element, an <code>option</code> element, a
-    <code>p</code> element, an <code>rp</code> element, an
-    <code>rt</code> element, a <code>tbody</code> element, a
-    <code>td</code> element, a <code>tfoot</code> element, a
-    <code>th</code> element, a <code>thead</code> element, a
-    <code>tr</code> element, the <code>body</code> element, or the
-    <code>html</code> element, then this is a <span>parse
-    error</span>.</p> <!-- (some of those are fragment cases, e.g. for
-    <tbody> you'd have hit the first paragraph since the <body>
-    wouldn't be in scope, unless it was a fragment case) -->
+    <p>Otherwise, if there is a node in the <span>stack of open elements</span> that is not either a
+    <code>dd</code> element, a <code>dt</code> element, an <code>li</code> element, an
+    <code>optgroup</code> element, an <code>option</code> element, a <code>p</code> element, an
+    <code>rp</code> element, an <code>rt</code> element, a <code>tbody</code> element, a
+    <code>td</code> element, a <code>tfoot</code> element, a <code>th</code> element, a
+    <code>thead</code> element, a <code>tr</code> element, the <code>body</code> element, or the
+    <code>html</code> element, then this is a <span>parse error</span>.</p> <!-- (some of those are
+    fragment cases, e.g. for <tbody> you'd have hit the first paragraph since the <body> wouldn't be
+    in scope, unless it was a fragment case) -->
 
-    <!-- If we ever change the frameset-ok flag to an insertion mode,
-    then we'd have to somehow keep track of its state when we switch
-    to after-body. -->
+    <!-- If we ever change the frameset-ok flag to an insertion mode, then we'd have to somehow keep
+    track of its state when we switch to after-body. -->
 
-    <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: after body">after body</span>".</p>
+    <p>Switch the <span>insertion mode</span> to "<span title="insertion mode: after body">after
+    body</span>".</p>
     <!-- end fake </body> -->
 
     <p>Reprocess the token.</p>
@@ -101166,20 +101087,18 @@
    <!-- start tags for non-phrasing flow content elements -->
 
    <!-- the normal ones -->
-   <dt>A start tag whose tag name is one of: "address", "article",
-   "aside", "blockquote", "center", "details", "dialog", "dir", "div",
-   "dl", "fieldset", "figcaption", "figure", "footer", "header",
+   <dt>A start tag whose tag name is one of: "address", "article", "aside", "blockquote", "center",
+   "details", "dialog", "dir", "div", "dl", "fieldset", "figcaption", "figure", "footer", "header",
    "hgroup", "main", "menu", "nav", "ol", "p", "section", "summary", "ul"</dt>
    <dd>
 
-    <!-- As of May 2008 this doesn't match any browser exactly, but is
-    as close to what IE does as I can get without doing the non-tree
-    DOM nonsense, and thus should actually afford better compatibility
-    when implemented by the other browsers. -->
+    <!-- As of May 2008 this doesn't match any browser exactly, but is as close to what IE does as I
+    can get without doing the non-tree DOM nonsense, and thus should actually afford better
+    compatibility when implemented by the other browsers. -->
 
-    <p>If the <span>stack of open elements</span> <span title="has an
-    element in button scope">has a <code>p</code> element in button
-    scope</span>, then <span>close a <code>p</code> element</span>.</p>
+    <p>If the <span>stack of open elements</span> <span title="has an element in button scope">has a
+    <code>p</code> element in button scope</span>, then <span>close a <code>p</code>
+    element</span>.</p>
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
@@ -101190,14 +101109,13 @@
    "h5", "h6"</dt>
    <dd>
 
-    <p>If the <span>stack of open elements</span> <span title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</span>, then <span>close a <code>p</code> element</span>.</p>
+    <p>If the <span>stack of open elements</span> <span title="has an element in button scope">has a
+    <code>p</code> element in button scope</span>, then <span>close a <code>p</code>
+    element</span>.</p>
 
-    <p>If the <span>current node</span> is an <span title="HTML elements">HTML element</span> whose tag name
-    is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a
-    <span>parse error</span>; pop the <span>current node</span> off
-    the <span>stack of open elements</span>.</p>
+    <p>If the <span>current node</span> is an <span title="HTML elements">HTML element</span> whose
+    tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a <span>parse
+    error</span>; pop the <span>current node</span> off the <span>stack of open elements</span>.</p>
     <!-- See https://bugs.webkit.org/show_bug.cgi?id=12646 -->
 
     <p><span>Insert an HTML element</span> for the token.</p>
@@ -101208,16 +101126,15 @@
    <dt>A start tag whose tag name is one of: "pre", "listing"</dt>
    <dd>
 
-    <p>If the <span>stack of open elements</span> <span title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</span>, then <span>close a <code>p</code> element</span>.</p>
+    <p>If the <span>stack of open elements</span> <span title="has an element in button scope">has a
+    <code>p</code> element in button scope</span>, then <span>close a <code>p</code>
+    element</span>.</p>
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
-    <p>If the <span>next token</span> is a U+000A LINE FEED (LF) character
-    token, then ignore that token and move on to the next
-    one. (Newlines at the start of <code>pre</code> blocks are
-    ignored as an authoring convenience.)</p>
+    <p>If the <span>next token</span> is a U+000A LINE FEED (LF) character token, then ignore that
+    token and move on to the next one. (Newlines at the start of <code>pre</code> blocks are ignored
+    as an authoring convenience.)</p>
 
     <!-- <pre>[CR]X will eat the [CR], <pre>&#x10;X will eat the
     &#x10;, but <pre>&#x13;X will not eat the &#x13;. -->
@@ -101230,19 +101147,17 @@
    <dt>A start tag whose tag name is "form"</dt>
    <dd>
 
-    <p>If the <span><code title="form">form</code> element
-    pointer</span> is not null, then this is a <span>parse
-    error</span>; ignore the token.</p>
+    <p>If the <span><code title="form">form</code> element pointer</span> is not null, then this is
+    a <span>parse error</span>; ignore the token.</p>
 
     <p>Otherwise:</p>
 
-    <p>If the <span>stack of open elements</span> <span title="has
-    an element in button scope">has a <code>p</code> element in button
-    scope</span>, then <span>close a <code>p</code> element</span>.</p>
+    <p>If the <span>stack of open elements</span> <span title="has an element in button scope">has a
+    <code>p</code> element in button scope</span>, then <span>close a <code>p</code>
+    element</span>.</p>
 
-    <p><span>Insert an HTML element</span> for the token, and set the
-    <span><code title="form">form</code> element pointer</span> to
-    point to the element created.</p>
+    <p><span>Insert an HTML element</span> for the token, and set the <span><code
+    title="form">form</code> element pointer</span> to point to the element created.</p>
 
    </dd>
 
@@ -102276,13 +102191,12 @@
      formatting elements</span>, then remove <var title="">node</var> from the <span>stack of open
      elements</span> and then go back to the step labeled <i>inner loop</i>.</p></li>
 
-<!--CLEANUP-->
      <li><p><span>Create an element for the token</span> for which the element <var
-     title="">node</var> was created, in the <span>HTML namespace</span>, with <var title="">common ancestor</var> as the intended
-     parent; replace the entry for <var title="">node</var> in the <span>list of active formatting
-     elements</span> with an entry for the new element, replace the entry for <var
-     title="">node</var> in the <span>stack of open elements</span> with an entry for the new
-     element, and let <var title="">node</var> be the new element.</p></li>
+     title="">node</var> was created, in the <span>HTML namespace</span>, with <var title="">common
+     ancestor</var> as the intended parent; replace the entry for <var title="">node</var> in the
+     <span>list of active formatting elements</span> with an entry for the new element, replace the
+     entry for <var title="">node</var> in the <span>stack of open elements</span> with an entry for
+     the new element, and let <var title="">node</var> be the new element.</p></li>
 
      <li><p>If <var title="">last node</var> is <var title="">furthest block</var>, then move the
      aforementioned bookmark to be immediately after the new <var title="">node</var> in the
@@ -102303,10 +102217,9 @@
    <span>appropriate place for inserting a node</span>, but using <var title="">common
    ancestor</var> as the <i>override target</i>.</p></li>
 
-<!--CLEANUP-->
    <li><p><span>Create an element for the token</span> for which <var title="">formatting
-   element</var> was created, in the <span>HTML namespace</span>, with <var title="">furthest block</var> as the intended
-   parent.</p></li>
+   element</var> was created, in the <span>HTML namespace</span>, with <var title="">furthest
+   block</var> as the intended parent.</p></li>
 
    <li><p>Take all of the child nodes of <var title="">furthest block</var> and append them to the
    element created in the last step.</p></li>
@@ -102343,12 +102256,10 @@
    <dt>A character token</dt>
    <dd>
 
-    <p><span title="insert a character">Insert the token's
-    character</span>.</p>
+    <p><span title="insert a character">Insert the token's character</span>.</p>
 
-    <p class="note">This can never be a U+0000 NULL character; the
-    tokenizer converts those to U+FFFD REPLACEMENT CHARACTER
-    characters.</p>
+    <p class="note">This can never be a U+0000 NULL character; the tokenizer converts those to
+    U+FFFD REPLACEMENT CHARACTER characters.</p>
 
    </dd>
 
@@ -102358,15 +102269,13 @@
     <!-- can't be the fragment case -->
     <p><span>Parse error</span>.</p>
 
-    <p>If the <span>current node</span> is a <code>script</code>
-    element, mark the <code>script</code> element as <span>"already
-    started"</span>.</p>
+    <p>If the <span>current node</span> is a <code>script</code> element, mark the
+    <code>script</code> element as <span>"already started"</span>.</p>
 
-    <p>Pop the <span>current node</span> off the <span>stack of open
-    elements</span>.</p>
+    <p>Pop the <span>current node</span> off the <span>stack of open elements</span>.</p>
 
-    <p>Switch the <span>insertion mode</span> to the <span>original
-    insertion mode</span> and reprocess the token.</p>
+    <p>Switch the <span>insertion mode</span> to the <span>original insertion mode</span> and
+    reprocess the token.</p>
 
    </dd>
 
@@ -102377,41 +102286,33 @@
 
     <p><span>Provide a stable state</span>.</p>
 
-    <p>Let <var title="">script</var> be the <span>current node</span>
-    (which will be a <code>script</code> element).</p>
+    <p>Let <var title="">script</var> be the <span>current node</span> (which will be a
+    <code>script</code> element).</p>
 
-    <p>Pop the <span>current node</span> off the <span>stack of open
-    elements</span>.</p>
+    <p>Pop the <span>current node</span> off the <span>stack of open elements</span>.</p>
 
-    <p>Switch the <span>insertion mode</span> to the <span>original
-    insertion mode</span>.</p>
+    <p>Switch the <span>insertion mode</span> to the <span>original insertion mode</span>.</p>
 
-    <p>Let the <var title="">old insertion point</var> have the
-    same value as the current <span>insertion point</span>. Let
-    the <span>insertion point</span> be just before the <span>next
+    <p>Let the <var title="">old insertion point</var> have the same value as the current
+    <span>insertion point</span>. Let the <span>insertion point</span> be just before the <span>next
     input character</span>.</p>
 
-    <p>Increment the parser's <span>script nesting level</span> by
-    one.</p>
+    <p>Increment the parser's <span>script nesting level</span> by one.</p>
 
-    <p><span title="prepare a script">Prepare</span> the <var
-    title="">script</var>. This might cause some script to execute,
-    which might cause <span title="dom-document-write">new characters
-    to be inserted into the tokenizer</span>, and might cause the
-    tokenizer to output more tokens, resulting in a <a
-    href="#nestedParsing">reentrant invocation of the parser</a>.</p>
+    <p><span title="prepare a script">Prepare</span> the <var title="">script</var>. This might
+    cause some script to execute, which might cause <span title="dom-document-write">new characters
+    to be inserted into the tokenizer</span>, and might cause the tokenizer to output more tokens,
+    resulting in a <a href="#nestedParsing">reentrant invocation of the parser</a>.</p>
 
-    <p>Decrement the parser's <span>script nesting level</span> by
-    one. If the parser's <span>script nesting level</span> is zero,
-    then set the <span>parser pause flag</span> to false.</p>
+    <p>Decrement the parser's <span>script nesting level</span> by one. If the parser's <span>script
+    nesting level</span> is zero, then set the <span>parser pause flag</span> to false.</p>
 
-    <p>Let the <span>insertion point</span> have the value of the <var
-    title="">old insertion point</var>. (In other words, restore the
-    <span>insertion point</span> to its previous value. This value
-    might be the "undefined" value.)</p>
+    <p>Let the <span>insertion point</span> have the value of the <var title="">old insertion
+    point</var>. (In other words, restore the <span>insertion point</span> to its previous value.
+    This value might be the "undefined" value.)</p>
 
-    <p id="scriptTagParserResumes">At this stage, if there is a
-    <span>pending parsing-blocking script</span>, then:</p>
+    <p id="scriptTagParserResumes">At this stage, if there is a <span>pending parsing-blocking
+    script</span>, then:</p>
 
     <dl class="switch">
 
@@ -102419,14 +102320,12 @@
 
      <dd>
 
-      <p>Set the <span>parser pause flag</span> to true, and abort the
-      processing of any nested invocations of the tokenizer, yielding
-      control back to the caller. (Tokenization will resume when the
-      caller returns to the "outer" tree construction stage.)</p>
+      <p>Set the <span>parser pause flag</span> to true, and abort the processing of any nested
+      invocations of the tokenizer, yielding control back to the caller. (Tokenization will resume
+      when the caller returns to the "outer" tree construction stage.)</p>
 
-      <p class="note">The tree construction stage of this particular
-      parser is <a href="#nestedParsing">being called reentrantly</a>,
-      say from a call to <code
+      <p class="note">The tree construction stage of this particular parser is <a
+      href="#nestedParsing">being called reentrantly</a>, say from a call to <code
       title="dom-document-write">document.write()</code>.</p>
 
      </dd>
@@ -102487,17 +102386,16 @@
    <dt>Any other end tag</dt>
    <dd>
 
-    <p>Pop the <span>current node</span> off the <span>stack of open
-    elements</span>.</p>
+    <p>Pop the <span>current node</span> off the <span>stack of open elements</span>.</p>
 
-    <p>Switch the <span>insertion mode</span> to the <span>original
-    insertion mode</span>.</p>
+    <p>Switch the <span>insertion mode</span> to the <span>original insertion mode</span>.</p>
 
    </dd>
 
   </dl>
 
 
+<!--CLEANUP-->
   <h6 id="parsing-main-intable">The "<dfn title="insertion mode: in table">in table</dfn>" insertion mode</h6>
 
   <p>When the user agent is to apply the rules for the "<span title="insertion mode: in table">in table</span>" <span>insertion mode</span>, the user agent must handle the token as follows:</p>




More information about the Commit-Watchers mailing list