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

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 15 13:17:45 PDT 2013


Author: ianh
Date: 2013-04-15 13:17:44 -0700 (Mon, 15 Apr 2013)
New Revision: 7837

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

Modified: complete.html
===================================================================
--- complete.html	2013-04-15 19:11:14 UTC (rev 7836)
+++ complete.html	2013-04-15 20:17:44 UTC (rev 7837)
@@ -11791,10 +11791,9 @@
    <li><p>Let <var title="">type</var> be the value of the first argument.</li>
 
    <li>
-<!--CLEANUP-->
 
-    <p>If the second argument is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
-    value "replace", then let <var title="">replace</var> be true.</p>
+    <p>If the second argument is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the value
+    "replace", then let <var title="">replace</var> be true.</p>
 
     <p>Otherwise, if the <a href=#browsing-context>browsing context</a>'s <a href=#session-history>session history</a> contains only
     one <code><a href=#document>Document</a></code>, and that was the <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code>
@@ -11958,14 +11957,12 @@
   whether a <code><a href=#document>Document</a></code> is <a href=#ready-for-post-load-tasks>ready for post-load tasks</a> or <a href=#completely-loaded>completely
   loaded</a>.</p>
 
-<!--CLEANUP-->
-  <p>When called with four arguments, the <code title=dom-document-open><a href=#dom-document-open>open()</a></code>
-  method on the <code><a href=#document>Document</a></code> object must call the <code title=dom-open><a href=#dom-open>open()</a></code>
-  method on the <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code> object, with the same
-  arguments as the original call to the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method, and
-  return whatever that method returned. If the <code><a href=#document>Document</a></code> object has no
-  <code><a href=#window>Window</a></code> object, then the method must throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code>
-  exception.</p>
+  <p>When called with four arguments, the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method on
+  the <code><a href=#document>Document</a></code> object must call the <code title=dom-open><a href=#dom-open>open()</a></code> method on the
+  <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code> object, with the same arguments as the
+  original call to the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method, and return whatever
+  that method returned. If the <code><a href=#document>Document</a></code> object has no <code><a href=#window>Window</a></code> object, then
+  the method must throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception.</p>
 
   </div>
 
@@ -12013,22 +12010,18 @@
 
   <h4 id=document.write()><span class=secno>3.4.3 </span><code title=dom-document-write><a href=#dom-document-write>document.write()</a></code></h4>
 
-<!--CLEANUP-->
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-write><a href=#dom-document-write>write</a></code>(<var title="">text</var>...)</dt>
 
    <dd>
 
-    <p>In general, adds the given string(s) to the
-    <code><a href=#document>Document</a></code>'s input stream.</p>
+    <p>In general, adds the given string(s) to the <code><a href=#document>Document</a></code>'s input stream.</p>
 
-    <p class=warning>This method has very idiosyncratic behavior. In
-    some cases, this method can affect the state of the <a href=#html-parser>HTML
-    parser</a> while the parser is running, resulting in a DOM that
-    does not correspond to the source of the document (e.g. if the
-    string written is the string "<code title=""><plaintext></code>" or "<code title=""><!--</code>"). In other cases, the call can clear the
-    current page first, as if <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> had been called.
-    In yet more cases, the method is simply ignored, or throws an
-    exception. To make matters worse, the exact behavior of this
+    <p class=warning>This method has very idiosyncratic behavior. In some cases, this method can
+    affect the state of the <a href=#html-parser>HTML parser</a> while the parser is running, resulting in a DOM
+    that does not correspond to the source of the document (e.g. if the string written is the string
+    "<code title=""><plaintext></code>" or "<code title=""><!--</code>"). In other cases,
+    the call can clear the current page first, as if <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> had been called. In yet more cases, the method
+    is simply ignored, or throws an exception. To make matters worse, the exact behavior of this
     method can in some cases be dependent on network latency<!--
 
      Namely, in the following case:
@@ -12038,33 +12031,29 @@
          // at this point, whether the DOM contains an "x" or not depends on how quickly the foo.css file could be processed
         </script>
 
-    -->, which can lead to failures that are very hard to debug.
-    <strong>For all these reasons, use of this method is strongly
-    discouraged.</strong></p>
+    -->, which can lead to failures that are very hard to debug. <strong>For all these reasons, use
+    of this method is strongly discouraged.</strong></p>
 
-    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception
-    when invoked on <a href=#xml-documents>XML documents</a>.</p>
+    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception when invoked on <a href=#xml-documents>XML
+    documents</a>.</p>
 
    </dd>
 
   </dl><div class=impl>
 
-<!--CLEANUP-->
-  <p><code><a href=#document>Document</a></code> objects have an
-  <dfn id=ignore-destructive-writes-counter>ignore-destructive-writes counter</dfn>, which is used in
-  conjunction with the processing of <code><a href=#the-script-element>script</a></code> elements to
-  prevent external scripts from being able to use <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> to blow away the
-  document by implicitly calling <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code>. Initially, the
-  counter must be set to zero.</p>
+  <p><code><a href=#document>Document</a></code> objects have an <dfn id=ignore-destructive-writes-counter>ignore-destructive-writes counter</dfn>, which is
+  used in conjunction with the processing of <code><a href=#the-script-element>script</a></code> elements to prevent external
+  scripts from being able to use <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> to blow
+  away the document by implicitly calling <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code>.
+  Initially, the counter must be set to zero.</p>
 
-  <p>The <dfn id=dom-document-write title=dom-document-write><code>document.write(...)</code></dfn>
-  method must act as follows:</p>
+  <p>The <dfn id=dom-document-write title=dom-document-write><code>document.write(...)</code></dfn> method must act as
+  follows:</p>
 
   <ol><li>
 
-    <p>If the method was invoked on an <a href=#xml-documents title="XML documents">XML
-    document</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
-    exception and abort these steps.</p>
+    <p>If the method was invoked on an <a href=#xml-documents title="XML documents">XML document</a>, throw an
+    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</p>
 
     <!--
     Where would document.write() insert?
@@ -12075,11 +12064,10 @@
 
    <li>
 
-    <p>If the <a href=#insertion-point>insertion point</a> is undefined and either the
-    <code><a href=#document>Document</a></code>'s <a href=#ignore-opens-during-unload-counter>ignore-opens-during-unload
-    counter</a> is greater than zero or the <code><a href=#document>Document</a></code>'s
-    <a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> is greater than
-    zero, abort these steps.</p>
+    <p>If the <a href=#insertion-point>insertion point</a> is undefined and either the <code><a href=#document>Document</a></code>'s
+    <a href=#ignore-opens-during-unload-counter>ignore-opens-during-unload counter</a> is greater than zero or the
+    <code><a href=#document>Document</a></code>'s <a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> is greater than zero,
+    abort these steps.</p>
 
    </li>
 
@@ -12138,22 +12126,21 @@
 
    <dd>
 
-    <p>Adds the given string(s) to the <code><a href=#document>Document</a></code>'s input
-    stream, followed by a newline character. If necessary, calls the
-    <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method implicitly
-    first.</p>
+    <p>Adds the given string(s) to the <code><a href=#document>Document</a></code>'s input stream, followed by a newline
+    character. If necessary, calls the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method
+    implicitly first.</p>
 
-    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception
-    when invoked on <a href=#xml-documents>XML documents</a>.</p>
+    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception when invoked on <a href=#xml-documents>XML
+    documents</a>.</p>
 
    </dd>
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-document-writeln title=dom-document-writeln><code>document.writeln(...)</code></dfn>
-  method, when invoked, must act as if the <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> method had been
-  invoked with the same argument(s), plus an extra argument consisting
-  of a string containing a single line feed character (U+000A).</p>
+  <p>The <dfn id=dom-document-writeln title=dom-document-writeln><code>document.writeln(...)</code></dfn> method, when
+  invoked, must act as if the <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> method had
+  been invoked with the same argument(s), plus an extra argument consisting of a string containing a
+  single line feed character (U+000A).</p>
 
   </div>
 
@@ -12188,8 +12175,7 @@
   // <a href="#HTMLHtmlElement-partial">also has obsolete members</a>
 };</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-html-element>html</a></code> element <a href=#represents>represents</a> the root of
-  an HTML document.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-html-element>html</a></code> element <a href=#represents>represents</a> the root of an HTML document.</p>
 
   <p>Authors are encouraged to specify a <code title=attr-lang><a href=#attr-lang>lang</a></code> attribute on the root
   <code><a href=#the-html-element>html</a></code> element, giving the document's language. This aids speech synthesis tools to
@@ -12217,8 +12203,8 @@
 
   <div class=example>
 
-   <p>The <code><a href=#the-html-element>html</a></code> element in the following example declares
-   that the document's language is English.</p>
+   <p>The <code><a href=#the-html-element>html</a></code> element in the following example declares that the document's language
+   is English.</p>
 
    <pre><!DOCTYPE html>
 <strong><html lang="en"></strong>
@@ -12261,13 +12247,13 @@
    <dd>
     <pre class=idl>interface <dfn id=htmlheadelement>HTMLHeadElement</dfn> : <a href=#htmlelement>HTMLElement</a> {};</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-head-element>head</a></code> element <a href=#represents>represents</a> a
-  collection of metadata for the <code><a href=#document>Document</a></code>.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-head-element>head</a></code> element <a href=#represents>represents</a> a collection of metadata for the
+  <code><a href=#document>Document</a></code>.</p>
 
   <div class=example>
 
-   <p>The collection of metadata in a <code><a href=#the-head-element>head</a></code> element can be
-   large or small. Here is an example of a very short one:</p>
+   <p>The collection of metadata in a <code><a href=#the-head-element>head</a></code> element can be large or small. Here is an
+   example of a very short one:</p>
 
    <pre><!doctype html>
 <html>
@@ -12295,15 +12281,14 @@
 
   </div>
 
-  <p class=note>The <code><a href=#the-title-element>title</a></code> element is a required child
-  in most situations, but when a higher-level protocol provides title
-  information, e.g. in the Subject line of an e-mail when HTML is used
-  as an e-mail authoring format, the <code><a href=#the-title-element>title</a></code> element can be
-  omitted.</p>
+  <p class=note>The <code><a href=#the-title-element>title</a></code> element is a required child in most situations, but when a
+  higher-level protocol provides title information, e.g. in the Subject line of an e-mail when HTML
+  is used as an e-mail authoring format, the <code><a href=#the-title-element>title</a></code> element can be omitted.</p>
 
 
 
   <h4 id=the-title-element><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>
+<!--CLEANUP-->
 
   <dl class=element><dt><a href=#element-dfn-categories title=element-dfn-categories>Categories</a>:</dt>
    <dd><a href=#metadata-content>Metadata content</a>.</dd>
@@ -19077,7 +19062,7 @@
 
     <ol><li><p>If there is an <a href=#entry-script>entry script</a>, throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception.</li>
 
-     <li><p>Abort these steps witout following the hyperlink.</li>
+     <li><p>Abort these steps without following the hyperlink.</li>
 
     </ol></li>
 
@@ -27453,8 +27438,8 @@
 
        <li><p>Set the element's <a href=#show-poster-flag>show poster flag</a> to true.</li>
 
-       <li><p><a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code> at
-       the <a href=#media-element>media element</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</li>
+       <li><p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code> at
+       the <a href=#media-element>media element</a>.</li>
 
        <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load event">delaying the load event</a>.</li>
 
@@ -38992,7 +38977,7 @@
 
     <ol><li><p>If there is an <a href=#entry-script>entry script</a>, throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception.</li>
 
-     <li><p>Abort these steps witout following the hyperlink.</li>
+     <li><p>Abort these steps without following the hyperlink.</li>
 
     </ol></li>
 
@@ -39694,6 +39679,7 @@
 
   </dl><div class=impl>
 
+<!--CLEANUP-->
   <p>The <dfn id=dom-table-caption title=dom-table-caption><code>caption</code></dfn> IDL
   attribute must return, on getting, the first <code><a href=#the-caption-element>caption</a></code>
   element child of the <code><a href=#the-table-element>table</a></code> element, if any, or null
@@ -39846,7 +39832,7 @@
   must run the following steps:</p>
 
   <ol><li><p>If <var title="">index</var> is equal to −1, then
-   <var title="">index</var> must be set to the number if items in the
+   <var title="">index</var> must be set to the number of items in the
    <code title=dom-table-rows><a href=#dom-table-rows>rows</a></code> collection, minus
    one.</li>
 
@@ -59654,57 +59640,47 @@
 
   <div class=impl>
 
-<!--CLEANUP-->
   <h3 id=selectors><span class=secno>4.15 </span>Matching HTML elements using selectors</h3>
 
   <h4 id=case-sensitivity><span class=secno>4.15.1 </span>Case-sensitivity</h4>
 
-  <p>The Selectors specification leaves the case-sensitivity of IDs,
-  classes, element names, attribute names, and attribute values to be
-  defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>
+  <p>The Selectors specification leaves the case-sensitivity of IDs, classes, element names,
+  attribute names, and attribute values to be defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>
 
-  <p>The <a href=#concept-id title=concept-id>unique identifier</a> of
-  <a href=#html-elements>HTML elements</a> in documents that are in <a href=#quirks-mode>quirks
-  mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
-  for the purposes of selector matching.</p>
+  <p>The <a href=#concept-id title=concept-id>unique identifier</a> of <a href=#html-elements>HTML elements</a> in
+  documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a> for the purposes of selector matching.</p>
 
-  <p>Classes from the <code title=attr-class><a href=#classes>class</a></code> attribute
-  of <a href=#html-elements>HTML elements</a> in documents that are in <a href=#quirks-mode>quirks
-  mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
-  for the purposes of selector matching.</p>
+  <p>Classes from the <code title=attr-class><a href=#classes>class</a></code> attribute of <a href=#html-elements>HTML elements</a>
+  in documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a> for the purposes of selector matching.</p>
 
-  <p>Attribute and element <em>names</em> of <a href=#html-elements>HTML
-  elements</a> in <a href=#html-documents>HTML documents</a> must be treated as
-  <a href=#ascii-case-insensitive>ASCII case-insensitive</a> for the purposes of selector
-  matching.</p>
+  <p>Attribute and element <em>names</em> of <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
+  documents</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a> for the purposes of
+  selector matching.</p>
 
-  <p>Everything else (attribute values on <a href=#html-elements>HTML elements</a>,
-  IDs and classes in <a href=#no-quirks-mode>no-quirks mode</a> and
-  <a href=#limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
-  names, and attribute values in <a href=#xml-documents>XML documents</a>) must be
-  treated as <a href=#case-sensitive>case-sensitive</a> for the purposes of selector
-  matching.</p>
+  <p>Everything else (attribute values on <a href=#html-elements>HTML elements</a>, IDs and classes in
+  <a href=#no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
+  names, and attribute values in <a href=#xml-documents>XML documents</a>) must be treated as
+  <a href=#case-sensitive>case-sensitive</a> for the purposes of selector matching.</p>
 
 
   <h4 id=pseudo-classes><span class=secno>4.15.2 </span>Pseudo-classes</h4>
 
-  <p>There are a number of dynamic selectors that can be used with
-  HTML. This section defines when these selectors match HTML elements.
-  <a href=#refsSELECTORS>[SELECTORS]</a> <a href=#refsCSSUI>[CSSUI]</a></p>
+  <p>There are a number of dynamic selectors that can be used with HTML. This section defines when
+  these selectors match HTML elements. <a href=#refsSELECTORS>[SELECTORS]</a> <a href=#refsCSSUI>[CSSUI]</a></p>
 
   <dl><dt><dfn id=selector-link title=selector-link><code>:link</code></dfn></dt>
    <dt><dfn id=selector-visited title=selector-visited><code>:visited</code></dfn></dt>
 
    <dd>
 
-    <p>All <code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, all
-    <code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, and all
-    <code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute, must match one of
-    <code title=selector-link><a href=#selector-link>:link</a></code> and <code title=selector-visited><a href=#selector-visited>:visited</a></code>.</p>
+    <p>All <code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
+    attribute, all <code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, and all <code><a href=#the-link-element>link</a></code> elements that have
+    an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute, must match one of <code title=selector-link><a href=#selector-link>:link</a></code> and <code title=selector-visited><a href=#selector-visited>:visited</a></code>.</p>
 
-    <p>Other specifications might apply more specific rules regarding
-    how these elements are to match these pseudo-classes, to mitigate
-    some privacy concerns that apply with straightforward
+    <p>Other specifications might apply more specific rules regarding how these elements are to
+    match these pseudo-classes, to mitigate some privacy concerns that apply with straightforward
     implementations of this requirement.</p>
 
    </dd>
@@ -59714,65 +59690,62 @@
 
    <dd>
 
-    <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class
-    is defined to match an element <q cite=http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act>while
-    an element is <i>being activated</i> by the user</q>. For the
-    purposes of defining the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class only, an HTML
-    user agent must consider an element as <i>being activated</i> if
-    it is:</p>
+    <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class is defined to match an element
+    <q cite=http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act>while an
+    element is <i>being activated</i> by the user</q>. For the purposes of defining the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class only, an HTML user agent must consider an
+    element as <i>being activated</i> if it is:</p>
 
     <ul><li>
 
-      <p>An element falling into one of the following categories
-      between the time the user begins to indicate an intent to
-      trigger the element's <a href=#activation-behavior>activation behavior</a> and
-      either the time the user stops indicating an intent to trigger
-      the element's <a href=#activation-behavior>activation behavior</a>, or the time the
-      element's <a href=#activation-behavior>activation behavior</a> has finished running,
-      which ever comes first:</p>
+      <p>An element falling into one of the following categories between the time the user begins to
+      indicate an intent to trigger the element's <a href=#activation-behavior>activation behavior</a> and either the
+      time the user stops indicating an intent to trigger the element's <a href=#activation-behavior>activation
+      behavior</a>, or the time the element's <a href=#activation-behavior>activation behavior</a> has finished
+      running, which ever comes first:</p>
 
-      <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+      <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
+       attribute</li>
 
-       <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+       <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
+       attribute</li>
 
-       <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
+       <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code>
+       attribute</li>
 
        <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
 
-       <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#submit-button-state-(type=submit)" title=attr-input-type-submit>Submit Button</a>, <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a>, <a href="#reset-button-state-(type=reset)" title=attr-input-type-reset>Reset Button</a>, or <a href="#button-state-(type=button)" title=attr-input-type-button>Button</a> state</li>
+       <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is
+       in the <a href="#submit-button-state-(type=submit)" title=attr-input-type-submit>Submit Button</a>, <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a>, <a href="#reset-button-state-(type=reset)" title=attr-input-type-reset>Reset
+       Button</a>, or <a href="#button-state-(type=button)" title=attr-input-type-button>Button</a> state</li>
 
        <li><code><a href=#the-menuitem-element>menuitem</a></code> elements that do not have a <code title=attr-menuitem-disabled><a href=#attr-menuitem-disabled>disabled</a></code> attribute</li>
 
        <li>elements that have their <a href=#specially-focusable>tabindex focus flag</a> set</li>
 
-      </ul><p class=example>For example, if the user is using a keyboard
-      to push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar,
-      the element would match this pseudo-class in between the time
-      that the element received the <code title=event-keydown>keydown</code> event and the time the
-      element received the <code title=event-keyup>keyup</code>
-      event.</p>
+      </ul><p class=example>For example, if the user is using a keyboard to push a <code><a href=#the-button-element>button</a></code>
+      element by pressing the space bar, the element would match this pseudo-class in between the
+      time that the element received the <code title=event-keydown>keydown</code> event and the
+      time the element received the <code title=event-keyup>keyup</code> event.</p>
 
      </li>
 
      <li>
 
-      <p>An element that the user indicates using a pointing device
-      while that pointing device is in the "down" state (e.g. for a
-      mouse, between the time the mouse button is pressed and the time
+      <p>An element that the user indicates using a pointing device while that pointing device is in
+      the "down" state (e.g. for a mouse, between the time the mouse button is pressed and the time
       it is depressed).</p>
 
      </li>
 
      <li>
 
-      <p>An element that has a descendant that is currently matching
-      the <code title=selector-active><a href=#selector-active>:active</a></code>
-      pseudo-class.</p>
+      <p>An element that has a descendant that is currently matching the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class.</p>
 
      </li>
 
     </ul></dd>
 
+<!--CLEANUP-->
 
    <dt><dfn id=selector-hover title=selector-hover><code>:hover</code></dfn></dt>
 
@@ -64760,12 +64733,11 @@
 
   <p>The method has four arguments, though they are all optional.</p>
 
-<!--CLEANUP-->
   <p>The first argument, <var title="">url</var>, must be a <a href=#valid-non-empty-url>valid non-empty URL</a> for a
-  page to load in the browsing context. If the first argument is
-  the empty string, then the <var title="">url</var> argument must be interpreted as
-  "<code><a href=#about:blank>about:blank</a></code>". Otherwise, the argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an
-  <a href=#absolute-url>absolute URL</a> (or an error), relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>, when the method is invoked.</p>
+  page to load in the browsing context. If the first argument is the empty string, then the <var title="">url</var> argument must be interpreted as "<code><a href=#about:blank>about:blank</a></code>". Otherwise, the
+  argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute URL</a> (or
+  an error), relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
+  URL</a>, when the method is invoked.</p>
 
   <p>The second argument, <var title="">target</var>, specifies the <a href=#browsing-context-name title="browsing context
   name">name</a> of the browsing context that is to be navigated. It must be a <a href=#valid-browsing-context-name-or-keyword>valid
@@ -69340,7 +69312,7 @@
      <li><p>Let <var title="">task list</var> be an empty list of <a href=#concept-task title=concept-task>tasks</a>.</p>
 
      <li>
-
+<!--CLEANUP-->
       <p>For each entry in <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master entries</a>, wait for the
       resource for this entry to have either completely downloaded or failed.</p>
 
@@ -69357,7 +69329,7 @@
       algorithm to the resource's <a href=#url>URL</a> results in a <a href=#parsed-url>parsed URL</a> that has a
       non-null <a href=#concept-url-fragment title=concept-url-fragment>fragment</a> component, the <a href=#url>URL</a>
       used for the entry in <var title="">cache</var> must instead be the <a href=#absolute-url>absolute URL</a>
-      obtained from applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorith, to the <a href=#parsed-url>parsed
+      obtained from applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorithm to the <a href=#parsed-url>parsed
       URL</a> with the <i>exclude fragment flag</i> set (application caches never include
       fragment identifiers).</p>
 

Modified: index
===================================================================
--- index	2013-04-15 19:11:14 UTC (rev 7836)
+++ index	2013-04-15 20:17:44 UTC (rev 7837)
@@ -11791,10 +11791,9 @@
    <li><p>Let <var title="">type</var> be the value of the first argument.</li>
 
    <li>
-<!--CLEANUP-->
 
-    <p>If the second argument is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
-    value "replace", then let <var title="">replace</var> be true.</p>
+    <p>If the second argument is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the value
+    "replace", then let <var title="">replace</var> be true.</p>
 
     <p>Otherwise, if the <a href=#browsing-context>browsing context</a>'s <a href=#session-history>session history</a> contains only
     one <code><a href=#document>Document</a></code>, and that was the <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code>
@@ -11958,14 +11957,12 @@
   whether a <code><a href=#document>Document</a></code> is <a href=#ready-for-post-load-tasks>ready for post-load tasks</a> or <a href=#completely-loaded>completely
   loaded</a>.</p>
 
-<!--CLEANUP-->
-  <p>When called with four arguments, the <code title=dom-document-open><a href=#dom-document-open>open()</a></code>
-  method on the <code><a href=#document>Document</a></code> object must call the <code title=dom-open><a href=#dom-open>open()</a></code>
-  method on the <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code> object, with the same
-  arguments as the original call to the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method, and
-  return whatever that method returned. If the <code><a href=#document>Document</a></code> object has no
-  <code><a href=#window>Window</a></code> object, then the method must throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code>
-  exception.</p>
+  <p>When called with four arguments, the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method on
+  the <code><a href=#document>Document</a></code> object must call the <code title=dom-open><a href=#dom-open>open()</a></code> method on the
+  <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code> object, with the same arguments as the
+  original call to the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method, and return whatever
+  that method returned. If the <code><a href=#document>Document</a></code> object has no <code><a href=#window>Window</a></code> object, then
+  the method must throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception.</p>
 
   </div>
 
@@ -12013,22 +12010,18 @@
 
   <h4 id=document.write()><span class=secno>3.4.3 </span><code title=dom-document-write><a href=#dom-document-write>document.write()</a></code></h4>
 
-<!--CLEANUP-->
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-write><a href=#dom-document-write>write</a></code>(<var title="">text</var>...)</dt>
 
    <dd>
 
-    <p>In general, adds the given string(s) to the
-    <code><a href=#document>Document</a></code>'s input stream.</p>
+    <p>In general, adds the given string(s) to the <code><a href=#document>Document</a></code>'s input stream.</p>
 
-    <p class=warning>This method has very idiosyncratic behavior. In
-    some cases, this method can affect the state of the <a href=#html-parser>HTML
-    parser</a> while the parser is running, resulting in a DOM that
-    does not correspond to the source of the document (e.g. if the
-    string written is the string "<code title=""><plaintext></code>" or "<code title=""><!--</code>"). In other cases, the call can clear the
-    current page first, as if <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> had been called.
-    In yet more cases, the method is simply ignored, or throws an
-    exception. To make matters worse, the exact behavior of this
+    <p class=warning>This method has very idiosyncratic behavior. In some cases, this method can
+    affect the state of the <a href=#html-parser>HTML parser</a> while the parser is running, resulting in a DOM
+    that does not correspond to the source of the document (e.g. if the string written is the string
+    "<code title=""><plaintext></code>" or "<code title=""><!--</code>"). In other cases,
+    the call can clear the current page first, as if <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> had been called. In yet more cases, the method
+    is simply ignored, or throws an exception. To make matters worse, the exact behavior of this
     method can in some cases be dependent on network latency<!--
 
      Namely, in the following case:
@@ -12038,33 +12031,29 @@
          // at this point, whether the DOM contains an "x" or not depends on how quickly the foo.css file could be processed
         </script>
 
-    -->, which can lead to failures that are very hard to debug.
-    <strong>For all these reasons, use of this method is strongly
-    discouraged.</strong></p>
+    -->, which can lead to failures that are very hard to debug. <strong>For all these reasons, use
+    of this method is strongly discouraged.</strong></p>
 
-    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception
-    when invoked on <a href=#xml-documents>XML documents</a>.</p>
+    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception when invoked on <a href=#xml-documents>XML
+    documents</a>.</p>
 
    </dd>
 
   </dl><div class=impl>
 
-<!--CLEANUP-->
-  <p><code><a href=#document>Document</a></code> objects have an
-  <dfn id=ignore-destructive-writes-counter>ignore-destructive-writes counter</dfn>, which is used in
-  conjunction with the processing of <code><a href=#the-script-element>script</a></code> elements to
-  prevent external scripts from being able to use <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> to blow away the
-  document by implicitly calling <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code>. Initially, the
-  counter must be set to zero.</p>
+  <p><code><a href=#document>Document</a></code> objects have an <dfn id=ignore-destructive-writes-counter>ignore-destructive-writes counter</dfn>, which is
+  used in conjunction with the processing of <code><a href=#the-script-element>script</a></code> elements to prevent external
+  scripts from being able to use <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> to blow
+  away the document by implicitly calling <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code>.
+  Initially, the counter must be set to zero.</p>
 
-  <p>The <dfn id=dom-document-write title=dom-document-write><code>document.write(...)</code></dfn>
-  method must act as follows:</p>
+  <p>The <dfn id=dom-document-write title=dom-document-write><code>document.write(...)</code></dfn> method must act as
+  follows:</p>
 
   <ol><li>
 
-    <p>If the method was invoked on an <a href=#xml-documents title="XML documents">XML
-    document</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
-    exception and abort these steps.</p>
+    <p>If the method was invoked on an <a href=#xml-documents title="XML documents">XML document</a>, throw an
+    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</p>
 
     <!--
     Where would document.write() insert?
@@ -12075,11 +12064,10 @@
 
    <li>
 
-    <p>If the <a href=#insertion-point>insertion point</a> is undefined and either the
-    <code><a href=#document>Document</a></code>'s <a href=#ignore-opens-during-unload-counter>ignore-opens-during-unload
-    counter</a> is greater than zero or the <code><a href=#document>Document</a></code>'s
-    <a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> is greater than
-    zero, abort these steps.</p>
+    <p>If the <a href=#insertion-point>insertion point</a> is undefined and either the <code><a href=#document>Document</a></code>'s
+    <a href=#ignore-opens-during-unload-counter>ignore-opens-during-unload counter</a> is greater than zero or the
+    <code><a href=#document>Document</a></code>'s <a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> is greater than zero,
+    abort these steps.</p>
 
    </li>
 
@@ -12138,22 +12126,21 @@
 
    <dd>
 
-    <p>Adds the given string(s) to the <code><a href=#document>Document</a></code>'s input
-    stream, followed by a newline character. If necessary, calls the
-    <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method implicitly
-    first.</p>
+    <p>Adds the given string(s) to the <code><a href=#document>Document</a></code>'s input stream, followed by a newline
+    character. If necessary, calls the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method
+    implicitly first.</p>
 
-    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception
-    when invoked on <a href=#xml-documents>XML documents</a>.</p>
+    <p>This method throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception when invoked on <a href=#xml-documents>XML
+    documents</a>.</p>
 
    </dd>
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-document-writeln title=dom-document-writeln><code>document.writeln(...)</code></dfn>
-  method, when invoked, must act as if the <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> method had been
-  invoked with the same argument(s), plus an extra argument consisting
-  of a string containing a single line feed character (U+000A).</p>
+  <p>The <dfn id=dom-document-writeln title=dom-document-writeln><code>document.writeln(...)</code></dfn> method, when
+  invoked, must act as if the <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> method had
+  been invoked with the same argument(s), plus an extra argument consisting of a string containing a
+  single line feed character (U+000A).</p>
 
   </div>
 
@@ -12188,8 +12175,7 @@
   // <a href="#HTMLHtmlElement-partial">also has obsolete members</a>
 };</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-html-element>html</a></code> element <a href=#represents>represents</a> the root of
-  an HTML document.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-html-element>html</a></code> element <a href=#represents>represents</a> the root of an HTML document.</p>
 
   <p>Authors are encouraged to specify a <code title=attr-lang><a href=#attr-lang>lang</a></code> attribute on the root
   <code><a href=#the-html-element>html</a></code> element, giving the document's language. This aids speech synthesis tools to
@@ -12217,8 +12203,8 @@
 
   <div class=example>
 
-   <p>The <code><a href=#the-html-element>html</a></code> element in the following example declares
-   that the document's language is English.</p>
+   <p>The <code><a href=#the-html-element>html</a></code> element in the following example declares that the document's language
+   is English.</p>
 
    <pre><!DOCTYPE html>
 <strong><html lang="en"></strong>
@@ -12261,13 +12247,13 @@
    <dd>
     <pre class=idl>interface <dfn id=htmlheadelement>HTMLHeadElement</dfn> : <a href=#htmlelement>HTMLElement</a> {};</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-head-element>head</a></code> element <a href=#represents>represents</a> a
-  collection of metadata for the <code><a href=#document>Document</a></code>.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-head-element>head</a></code> element <a href=#represents>represents</a> a collection of metadata for the
+  <code><a href=#document>Document</a></code>.</p>
 
   <div class=example>
 
-   <p>The collection of metadata in a <code><a href=#the-head-element>head</a></code> element can be
-   large or small. Here is an example of a very short one:</p>
+   <p>The collection of metadata in a <code><a href=#the-head-element>head</a></code> element can be large or small. Here is an
+   example of a very short one:</p>
 
    <pre><!doctype html>
 <html>
@@ -12295,15 +12281,14 @@
 
   </div>
 
-  <p class=note>The <code><a href=#the-title-element>title</a></code> element is a required child
-  in most situations, but when a higher-level protocol provides title
-  information, e.g. in the Subject line of an e-mail when HTML is used
-  as an e-mail authoring format, the <code><a href=#the-title-element>title</a></code> element can be
-  omitted.</p>
+  <p class=note>The <code><a href=#the-title-element>title</a></code> element is a required child in most situations, but when a
+  higher-level protocol provides title information, e.g. in the Subject line of an e-mail when HTML
+  is used as an e-mail authoring format, the <code><a href=#the-title-element>title</a></code> element can be omitted.</p>
 
 
 
   <h4 id=the-title-element><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>
+<!--CLEANUP-->
 
   <dl class=element><dt><a href=#element-dfn-categories title=element-dfn-categories>Categories</a>:</dt>
    <dd><a href=#metadata-content>Metadata content</a>.</dd>
@@ -19077,7 +19062,7 @@
 
     <ol><li><p>If there is an <a href=#entry-script>entry script</a>, throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception.</li>
 
-     <li><p>Abort these steps witout following the hyperlink.</li>
+     <li><p>Abort these steps without following the hyperlink.</li>
 
     </ol></li>
 
@@ -27453,8 +27438,8 @@
 
        <li><p>Set the element's <a href=#show-poster-flag>show poster flag</a> to true.</li>
 
-       <li><p><a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code> at
-       the <a href=#media-element>media element</a>, using the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</li>
+       <li><p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code> at
+       the <a href=#media-element>media element</a>.</li>
 
        <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load event">delaying the load event</a>.</li>
 
@@ -38992,7 +38977,7 @@
 
     <ol><li><p>If there is an <a href=#entry-script>entry script</a>, throw an <code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception.</li>
 
-     <li><p>Abort these steps witout following the hyperlink.</li>
+     <li><p>Abort these steps without following the hyperlink.</li>
 
     </ol></li>
 
@@ -39694,6 +39679,7 @@
 
   </dl><div class=impl>
 
+<!--CLEANUP-->
   <p>The <dfn id=dom-table-caption title=dom-table-caption><code>caption</code></dfn> IDL
   attribute must return, on getting, the first <code><a href=#the-caption-element>caption</a></code>
   element child of the <code><a href=#the-table-element>table</a></code> element, if any, or null
@@ -39846,7 +39832,7 @@
   must run the following steps:</p>
 
   <ol><li><p>If <var title="">index</var> is equal to −1, then
-   <var title="">index</var> must be set to the number if items in the
+   <var title="">index</var> must be set to the number of items in the
    <code title=dom-table-rows><a href=#dom-table-rows>rows</a></code> collection, minus
    one.</li>
 
@@ -59654,57 +59640,47 @@
 
   <div class=impl>
 
-<!--CLEANUP-->
   <h3 id=selectors><span class=secno>4.15 </span>Matching HTML elements using selectors</h3>
 
   <h4 id=case-sensitivity><span class=secno>4.15.1 </span>Case-sensitivity</h4>
 
-  <p>The Selectors specification leaves the case-sensitivity of IDs,
-  classes, element names, attribute names, and attribute values to be
-  defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>
+  <p>The Selectors specification leaves the case-sensitivity of IDs, classes, element names,
+  attribute names, and attribute values to be defined by the host language. <a href=#refsSELECTORS>[SELECTORS]</a></p>
 
-  <p>The <a href=#concept-id title=concept-id>unique identifier</a> of
-  <a href=#html-elements>HTML elements</a> in documents that are in <a href=#quirks-mode>quirks
-  mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
-  for the purposes of selector matching.</p>
+  <p>The <a href=#concept-id title=concept-id>unique identifier</a> of <a href=#html-elements>HTML elements</a> in
+  documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a> for the purposes of selector matching.</p>
 
-  <p>Classes from the <code title=attr-class><a href=#classes>class</a></code> attribute
-  of <a href=#html-elements>HTML elements</a> in documents that are in <a href=#quirks-mode>quirks
-  mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
-  for the purposes of selector matching.</p>
+  <p>Classes from the <code title=attr-class><a href=#classes>class</a></code> attribute of <a href=#html-elements>HTML elements</a>
+  in documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a> for the purposes of selector matching.</p>
 
-  <p>Attribute and element <em>names</em> of <a href=#html-elements>HTML
-  elements</a> in <a href=#html-documents>HTML documents</a> must be treated as
-  <a href=#ascii-case-insensitive>ASCII case-insensitive</a> for the purposes of selector
-  matching.</p>
+  <p>Attribute and element <em>names</em> of <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
+  documents</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a> for the purposes of
+  selector matching.</p>
 
-  <p>Everything else (attribute values on <a href=#html-elements>HTML elements</a>,
-  IDs and classes in <a href=#no-quirks-mode>no-quirks mode</a> and
-  <a href=#limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
-  names, and attribute values in <a href=#xml-documents>XML documents</a>) must be
-  treated as <a href=#case-sensitive>case-sensitive</a> for the purposes of selector
-  matching.</p>
+  <p>Everything else (attribute values on <a href=#html-elements>HTML elements</a>, IDs and classes in
+  <a href=#no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
+  names, and attribute values in <a href=#xml-documents>XML documents</a>) must be treated as
+  <a href=#case-sensitive>case-sensitive</a> for the purposes of selector matching.</p>
 
 
   <h4 id=pseudo-classes><span class=secno>4.15.2 </span>Pseudo-classes</h4>
 
-  <p>There are a number of dynamic selectors that can be used with
-  HTML. This section defines when these selectors match HTML elements.
-  <a href=#refsSELECTORS>[SELECTORS]</a> <a href=#refsCSSUI>[CSSUI]</a></p>
+  <p>There are a number of dynamic selectors that can be used with HTML. This section defines when
+  these selectors match HTML elements. <a href=#refsSELECTORS>[SELECTORS]</a> <a href=#refsCSSUI>[CSSUI]</a></p>
 
   <dl><dt><dfn id=selector-link title=selector-link><code>:link</code></dfn></dt>
    <dt><dfn id=selector-visited title=selector-visited><code>:visited</code></dfn></dt>
 
    <dd>
 
-    <p>All <code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, all
-    <code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, and all
-    <code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute, must match one of
-    <code title=selector-link><a href=#selector-link>:link</a></code> and <code title=selector-visited><a href=#selector-visited>:visited</a></code>.</p>
+    <p>All <code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
+    attribute, all <code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, and all <code><a href=#the-link-element>link</a></code> elements that have
+    an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute, must match one of <code title=selector-link><a href=#selector-link>:link</a></code> and <code title=selector-visited><a href=#selector-visited>:visited</a></code>.</p>
 
-    <p>Other specifications might apply more specific rules regarding
-    how these elements are to match these pseudo-classes, to mitigate
-    some privacy concerns that apply with straightforward
+    <p>Other specifications might apply more specific rules regarding how these elements are to
+    match these pseudo-classes, to mitigate some privacy concerns that apply with straightforward
     implementations of this requirement.</p>
 
    </dd>
@@ -59714,65 +59690,62 @@
 
    <dd>
 
-    <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class
-    is defined to match an element <q cite=http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act>while
-    an element is <i>being activated</i> by the user</q>. For the
-    purposes of defining the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class only, an HTML
-    user agent must consider an element as <i>being activated</i> if
-    it is:</p>
+    <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class is defined to match an element
+    <q cite=http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act>while an
+    element is <i>being activated</i> by the user</q>. For the purposes of defining the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class only, an HTML user agent must consider an
+    element as <i>being activated</i> if it is:</p>
 
     <ul><li>
 
-      <p>An element falling into one of the following categories
-      between the time the user begins to indicate an intent to
-      trigger the element's <a href=#activation-behavior>activation behavior</a> and
-      either the time the user stops indicating an intent to trigger
-      the element's <a href=#activation-behavior>activation behavior</a>, or the time the
-      element's <a href=#activation-behavior>activation behavior</a> has finished running,
-      which ever comes first:</p>
+      <p>An element falling into one of the following categories between the time the user begins to
+      indicate an intent to trigger the element's <a href=#activation-behavior>activation behavior</a> and either the
+      time the user stops indicating an intent to trigger the element's <a href=#activation-behavior>activation
+      behavior</a>, or the time the element's <a href=#activation-behavior>activation behavior</a> has finished
+      running, which ever comes first:</p>
 
-      <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+      <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
+       attribute</li>
 
-       <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+       <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
+       attribute</li>
 
-       <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
+       <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code>
+       attribute</li>
 
        <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
 
-       <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#submit-button-state-(type=submit)" title=attr-input-type-submit>Submit Button</a>, <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a>, <a href="#reset-button-state-(type=reset)" title=attr-input-type-reset>Reset Button</a>, or <a href="#button-state-(type=button)" title=attr-input-type-button>Button</a> state</li>
+       <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is
+       in the <a href="#submit-button-state-(type=submit)" title=attr-input-type-submit>Submit Button</a>, <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a>, <a href="#reset-button-state-(type=reset)" title=attr-input-type-reset>Reset
+       Button</a>, or <a href="#button-state-(type=button)" title=attr-input-type-button>Button</a> state</li>
 
        <li><code><a href=#the-menuitem-element>menuitem</a></code> elements that do not have a <code title=attr-menuitem-disabled><a href=#attr-menuitem-disabled>disabled</a></code> attribute</li>
 
        <li>elements that have their <a href=#specially-focusable>tabindex focus flag</a> set</li>
 
-      </ul><p class=example>For example, if the user is using a keyboard
-      to push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar,
-      the element would match this pseudo-class in between the time
-      that the element received the <code title=event-keydown>keydown</code> event and the time the
-      element received the <code title=event-keyup>keyup</code>
-      event.</p>
+      </ul><p class=example>For example, if the user is using a keyboard to push a <code><a href=#the-button-element>button</a></code>
+      element by pressing the space bar, the element would match this pseudo-class in between the
+      time that the element received the <code title=event-keydown>keydown</code> event and the
+      time the element received the <code title=event-keyup>keyup</code> event.</p>
 
      </li>
 
      <li>
 
-      <p>An element that the user indicates using a pointing device
-      while that pointing device is in the "down" state (e.g. for a
-      mouse, between the time the mouse button is pressed and the time
+      <p>An element that the user indicates using a pointing device while that pointing device is in
+      the "down" state (e.g. for a mouse, between the time the mouse button is pressed and the time
       it is depressed).</p>
 
      </li>
 
      <li>
 
-      <p>An element that has a descendant that is currently matching
-      the <code title=selector-active><a href=#selector-active>:active</a></code>
-      pseudo-class.</p>
+      <p>An element that has a descendant that is currently matching the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class.</p>
 
      </li>
 
     </ul></dd>
 
+<!--CLEANUP-->
 
    <dt><dfn id=selector-hover title=selector-hover><code>:hover</code></dfn></dt>
 
@@ -64760,12 +64733,11 @@
 
   <p>The method has four arguments, though they are all optional.</p>
 
-<!--CLEANUP-->
   <p>The first argument, <var title="">url</var>, must be a <a href=#valid-non-empty-url>valid non-empty URL</a> for a
-  page to load in the browsing context. If the first argument is
-  the empty string, then the <var title="">url</var> argument must be interpreted as
-  "<code><a href=#about:blank>about:blank</a></code>". Otherwise, the argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an
-  <a href=#absolute-url>absolute URL</a> (or an error), relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>, when the method is invoked.</p>
+  page to load in the browsing context. If the first argument is the empty string, then the <var title="">url</var> argument must be interpreted as "<code><a href=#about:blank>about:blank</a></code>". Otherwise, the
+  argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute URL</a> (or
+  an error), relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
+  URL</a>, when the method is invoked.</p>
 
   <p>The second argument, <var title="">target</var>, specifies the <a href=#browsing-context-name title="browsing context
   name">name</a> of the browsing context that is to be navigated. It must be a <a href=#valid-browsing-context-name-or-keyword>valid
@@ -69340,7 +69312,7 @@
      <li><p>Let <var title="">task list</var> be an empty list of <a href=#concept-task title=concept-task>tasks</a>.</p>
 
      <li>
-
+<!--CLEANUP-->
       <p>For each entry in <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master entries</a>, wait for the
       resource for this entry to have either completely downloaded or failed.</p>
 
@@ -69357,7 +69329,7 @@
       algorithm to the resource's <a href=#url>URL</a> results in a <a href=#parsed-url>parsed URL</a> that has a
       non-null <a href=#concept-url-fragment title=concept-url-fragment>fragment</a> component, the <a href=#url>URL</a>
       used for the entry in <var title="">cache</var> must instead be the <a href=#absolute-url>absolute URL</a>
-      obtained from applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorith, to the <a href=#parsed-url>parsed
+      obtained from applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorithm to the <a href=#parsed-url>parsed
       URL</a> with the <i>exclude fragment flag</i> set (application caches never include
       fragment identifiers).</p>
 

Modified: source
===================================================================
--- source	2013-04-15 19:11:14 UTC (rev 7836)
+++ source	2013-04-15 20:17:44 UTC (rev 7837)
@@ -11997,10 +11997,9 @@
    <li><p>Let <var title="">type</var> be the value of the first argument.</p></li>
 
    <li>
-<!--CLEANUP-->
 
-    <p>If the second argument is an <span>ASCII case-insensitive</span> match for the
-    value "replace", then let <var title="">replace</var> be true.</p>
+    <p>If the second argument is an <span>ASCII case-insensitive</span> match for the value
+    "replace", then let <var title="">replace</var> be true.</p>
 
     <p>Otherwise, if the <span>browsing context</span>'s <span>session history</span> contains only
     one <code>Document</code>, and that was the <code>about:blank</code> <code>Document</code>
@@ -12174,14 +12173,12 @@
   whether a <code>Document</code> is <span>ready for post-load tasks</span> or <span>completely
   loaded</span>.</p>
 
-<!--CLEANUP-->
-  <p>When called with four arguments, the <code title="dom-document-open">open()</code>
-  method on the <code>Document</code> object must call the <code title="dom-open">open()</code>
-  method on the <code>Window</code> object of the <code>Document</code> object, with the same
-  arguments as the original call to the <code title="dom-document-open">open()</code> method, and
-  return whatever that method returned. If the <code>Document</code> object has no
-  <code>Window</code> object, then the method must throw an <code>InvalidAccessError</code>
-  exception.</p>
+  <p>When called with four arguments, the <code title="dom-document-open">open()</code> method on
+  the <code>Document</code> object must call the <code title="dom-open">open()</code> method on the
+  <code>Window</code> object of the <code>Document</code> object, with the same arguments as the
+  original call to the <code title="dom-document-open">open()</code> method, and return whatever
+  that method returned. If the <code>Document</code> object has no <code>Window</code> object, then
+  the method must throw an <code>InvalidAccessError</code> exception.</p>
 
   </div>
 
@@ -12238,27 +12235,21 @@
 
   <h4><code title="dom-document-write">document.write()</code></h4>
 
-<!--CLEANUP-->
   <dl class="domintro">
 
    <dt><var title="">document</var> . <code title="dom-document-write">write</code>(<var title="">text</var>...)</dt>
 
    <dd>
 
-    <p>In general, adds the given string(s) to the
-    <code>Document</code>'s input stream.</p>
+    <p>In general, adds the given string(s) to the <code>Document</code>'s input stream.</p>
 
-    <p class="warning">This method has very idiosyncratic behavior. In
-    some cases, this method can affect the state of the <span>HTML
-    parser</span> while the parser is running, resulting in a DOM that
-    does not correspond to the source of the document (e.g. if the
-    string written is the string "<code
-    title=""><plaintext></code>" or "<code
-    title=""><!--</code>"). In other cases, the call can clear the
-    current page first, as if <code
-    title="dom-document-open">document.open()</code> had been called.
-    In yet more cases, the method is simply ignored, or throws an
-    exception. To make matters worse, the exact behavior of this
+    <p class="warning">This method has very idiosyncratic behavior. In some cases, this method can
+    affect the state of the <span>HTML parser</span> while the parser is running, resulting in a DOM
+    that does not correspond to the source of the document (e.g. if the string written is the string
+    "<code title=""><plaintext></code>" or "<code title=""><!--</code>"). In other cases,
+    the call can clear the current page first, as if <code
+    title="dom-document-open">document.open()</code> had been called. In yet more cases, the method
+    is simply ignored, or throws an exception. To make matters worse, the exact behavior of this
     method can in some cases be dependent on network latency<!--
 
      Namely, in the following case:
@@ -12268,12 +12259,11 @@
          // at this point, whether the DOM contains an "x" or not depends on how quickly the foo.css file could be processed
         </script>
 
-    -->, which can lead to failures that are very hard to debug.
-    <strong>For all these reasons, use of this method is strongly
-    discouraged.</strong></p>
+    -->, which can lead to failures that are very hard to debug. <strong>For all these reasons, use
+    of this method is strongly discouraged.</strong></p>
 
-    <p>This method throws an <code>InvalidStateError</code> exception
-    when invoked on <span>XML documents</span>.</p>
+    <p>This method throws an <code>InvalidStateError</code> exception when invoked on <span>XML
+    documents</span>.</p>
 
    </dd>
 
@@ -12281,27 +12271,21 @@
 
   <div class="impl">
 
-<!--CLEANUP-->
-  <p><code>Document</code> objects have an
-  <dfn>ignore-destructive-writes counter</dfn>, which is used in
-  conjunction with the processing of <code>script</code> elements to
-  prevent external scripts from being able to use <code
-  title="dom-document-write">document.write()</code> to blow away the
-  document by implicitly calling <code
-  title="dom-document-open">document.open()</code>. Initially, the
-  counter must be set to zero.</p>
+  <p><code>Document</code> objects have an <dfn>ignore-destructive-writes counter</dfn>, which is
+  used in conjunction with the processing of <code>script</code> elements to prevent external
+  scripts from being able to use <code title="dom-document-write">document.write()</code> to blow
+  away the document by implicitly calling <code title="dom-document-open">document.open()</code>.
+  Initially, the counter must be set to zero.</p>
 
-  <p>The <dfn
-  title="dom-document-write"><code>document.write(...)</code></dfn>
-  method must act as follows:</p>
+  <p>The <dfn title="dom-document-write"><code>document.write(...)</code></dfn> method must act as
+  follows:</p>
 
   <ol>
 
    <li>
 
-    <p>If the method was invoked on an <span title="XML documents">XML
-    document</span>, throw an <code>InvalidStateError</code>
-    exception and abort these steps.</p>
+    <p>If the method was invoked on an <span title="XML documents">XML document</span>, throw an
+    <code>InvalidStateError</code> exception and abort these steps.</p>
 
     <!--
     Where would document.write() insert?
@@ -12312,11 +12296,10 @@
 
    <li>
 
-    <p>If the <span>insertion point</span> is undefined and either the
-    <code>Document</code>'s <span>ignore-opens-during-unload
-    counter</span> is greater than zero or the <code>Document</code>'s
-    <span>ignore-destructive-writes counter</span> is greater than
-    zero, abort these steps.</p>
+    <p>If the <span>insertion point</span> is undefined and either the <code>Document</code>'s
+    <span>ignore-opens-during-unload counter</span> is greater than zero or the
+    <code>Document</code>'s <span>ignore-destructive-writes counter</span> is greater than zero,
+    abort these steps.</p>
 
    </li>
 
@@ -12380,13 +12363,12 @@
 
    <dd>
 
-    <p>Adds the given string(s) to the <code>Document</code>'s input
-    stream, followed by a newline character. If necessary, calls the
-    <code title="dom-document-open">open()</code> method implicitly
-    first.</p>
+    <p>Adds the given string(s) to the <code>Document</code>'s input stream, followed by a newline
+    character. If necessary, calls the <code title="dom-document-open">open()</code> method
+    implicitly first.</p>
 
-    <p>This method throws an <code>InvalidStateError</code> exception
-    when invoked on <span>XML documents</span>.</p>
+    <p>This method throws an <code>InvalidStateError</code> exception when invoked on <span>XML
+    documents</span>.</p>
 
    </dd>
 
@@ -12394,12 +12376,10 @@
 
   <div class="impl">
 
-  <p>The <dfn
-  title="dom-document-writeln"><code>document.writeln(...)</code></dfn>
-  method, when invoked, must act as if the <code
-  title="dom-document-write">document.write()</code> method had been
-  invoked with the same argument(s), plus an extra argument consisting
-  of a string containing a single line feed character (U+000A).</p>
+  <p>The <dfn title="dom-document-writeln"><code>document.writeln(...)</code></dfn> method, when
+  invoked, must act as if the <code title="dom-document-write">document.write()</code> method had
+  been invoked with the same argument(s), plus an extra argument consisting of a string containing a
+  single line feed character (U+000A).</p>
 
   </div>
 
@@ -12429,8 +12409,7 @@
    </dd>
   </dl><!--TOPIC:HTML-->
 
-  <p>The <code>html</code> element <span>represents</span> the root of
-  an HTML document.</p>
+  <p>The <code>html</code> element <span>represents</span> the root of an HTML document.</p>
 
   <p>Authors are encouraged to specify a <code title="attr-lang">lang</code> attribute on the root
   <code>html</code> element, giving the document's language. This aids speech synthesis tools to
@@ -12460,8 +12439,8 @@
 
   <div class="example">
 
-   <p>The <code>html</code> element in the following example declares
-   that the document's language is English.</p>
+   <p>The <code>html</code> element in the following example declares that the document's language
+   is English.</p>
 
    <pre><!DOCTYPE html>
 <strong><html lang="en"></strong>
@@ -12500,13 +12479,13 @@
    </dd>
   </dl><!--TOPIC:HTML-->
 
-  <p>The <code>head</code> element <span>represents</span> a
-  collection of metadata for the <code>Document</code>.</p>
+  <p>The <code>head</code> element <span>represents</span> a collection of metadata for the
+  <code>Document</code>.</p>
 
   <div class="example">
 
-   <p>The collection of metadata in a <code>head</code> element can be
-   large or small. Here is an example of a very short one:</p>
+   <p>The collection of metadata in a <code>head</code> element can be large or small. Here is an
+   example of a very short one:</p>
 
    <pre><!doctype html>
 <html>
@@ -12534,15 +12513,14 @@
 
   </div>
 
-  <p class="note">The <code>title</code> element is a required child
-  in most situations, but when a higher-level protocol provides title
-  information, e.g. in the Subject line of an e-mail when HTML is used
-  as an e-mail authoring format, the <code>title</code> element can be
-  omitted.</p>
+  <p class="note">The <code>title</code> element is a required child in most situations, but when a
+  higher-level protocol provides title information, e.g. in the Subject line of an e-mail when HTML
+  is used as an e-mail authoring format, the <code>title</code> element can be omitted.</p>
 
 
 
   <h4 id="the-title-element">The <dfn><code>title</code></dfn> element</h4>
+<!--CLEANUP-->
 
   <dl class="element">
    <dt><span title="element-dfn-categories">Categories</span>:</dt>
@@ -19877,7 +19855,7 @@
 
      <li><p>If there is an <span>entry script</span>, throw an <code>InvalidAccessError</code> exception.</p></li>
 
-     <li><p>Abort these steps witout following the hyperlink.</p></li>
+     <li><p>Abort these steps without following the hyperlink.</p></li>
 
     </ol>
 
@@ -29077,8 +29055,8 @@
 
        <li><p>Set the element's <span>show poster flag</span> to true.</p></li>
 
-       <li><p><span>fire a simple event</span> named <code title="event-media-error">error</code> at
-       the <span>media element</span>, using the <span>DOM manipulation task source</span>.</p></li>
+       <li><p><span>Fire a simple event</span> named <code title="event-media-error">error</code> at
+       the <span>media element</span>.</p></li>
 
        <li><p>Set the element's <span>delaying-the-load-event flag</span> to false. This stops <span
        title="delay the load event">delaying the load event</span>.</p></li>
@@ -42700,7 +42678,7 @@
 
      <li><p>If there is an <span>entry script</span>, throw an <code>InvalidAccessError</code> exception.</p></li>
 
-     <li><p>Abort these steps witout following the hyperlink.</p></li>
+     <li><p>Abort these steps without following the hyperlink.</p></li>
 
     </ol>
 
@@ -43526,6 +43504,7 @@
 
   <div class="impl">
 
+<!--CLEANUP-->
   <p>The <dfn title="dom-table-caption"><code>caption</code></dfn> IDL
   attribute must return, on getting, the first <code>caption</code>
   element child of the <code>table</code> element, if any, or null
@@ -43696,7 +43675,7 @@
   <ol>
 
    <li><p>If <var title="">index</var> is equal to &#x2212;1, then
-   <var title="">index</var> must be set to the number if items in the
+   <var title="">index</var> must be set to the number of items in the
    <code title="dom-table-rows">rows</code> collection, minus
    one.</p></li>
 
@@ -66305,44 +66284,36 @@
 
   <div class="impl">
 
-<!--CLEANUP-->
   <h3 id="selectors">Matching HTML elements using selectors</h3>
 
   <h4>Case-sensitivity</h4>
 
-  <p>The Selectors specification leaves the case-sensitivity of IDs,
-  classes, element names, attribute names, and attribute values to be
-  defined by the host language. <a
+  <p>The Selectors specification leaves the case-sensitivity of IDs, classes, element names,
+  attribute names, and attribute values to be defined by the host language. <a
   href="#refsSELECTORS">[SELECTORS]</a></p>
 
-  <p>The <span title="concept-id">unique identifier</span> of
-  <span>HTML elements</span> in documents that are in <span>quirks
-  mode</span> must be treated as <span>ASCII case-insensitive</span>
-  for the purposes of selector matching.</p>
+  <p>The <span title="concept-id">unique identifier</span> of <span>HTML elements</span> in
+  documents that are in <span>quirks mode</span> must be treated as <span>ASCII
+  case-insensitive</span> for the purposes of selector matching.</p>
 
-  <p>Classes from the <code title="attr-class">class</code> attribute
-  of <span>HTML elements</span> in documents that are in <span>quirks
-  mode</span> must be treated as <span>ASCII case-insensitive</span>
-  for the purposes of selector matching.</p>
+  <p>Classes from the <code title="attr-class">class</code> attribute of <span>HTML elements</span>
+  in documents that are in <span>quirks mode</span> must be treated as <span>ASCII
+  case-insensitive</span> for the purposes of selector matching.</p>
 
-  <p>Attribute and element <em>names</em> of <span>HTML
-  elements</span> in <span>HTML documents</span> must be treated as
-  <span>ASCII case-insensitive</span> for the purposes of selector
-  matching.</p>
+  <p>Attribute and element <em>names</em> of <span>HTML elements</span> in <span>HTML
+  documents</span> must be treated as <span>ASCII case-insensitive</span> for the purposes of
+  selector matching.</p>
 
-  <p>Everything else (attribute values on <span>HTML elements</span>,
-  IDs and classes in <span>no-quirks mode</span> and
-  <span>limited-quirks mode</span>, and element names, attribute
-  names, and attribute values in <span>XML documents</span>) must be
-  treated as <span>case-sensitive</span> for the purposes of selector
-  matching.</p>
+  <p>Everything else (attribute values on <span>HTML elements</span>, IDs and classes in
+  <span>no-quirks mode</span> and <span>limited-quirks mode</span>, and element names, attribute
+  names, and attribute values in <span>XML documents</span>) must be treated as
+  <span>case-sensitive</span> for the purposes of selector matching.</p>
 
 
   <h4>Pseudo-classes</h4>
 
-  <p>There are a number of dynamic selectors that can be used with
-  HTML. This section defines when these selectors match HTML elements.
-  <a href="#refsSELECTORS">[SELECTORS]</a> <a
+  <p>There are a number of dynamic selectors that can be used with HTML. This section defines when
+  these selectors match HTML elements. <a href="#refsSELECTORS">[SELECTORS]</a> <a
   href="#refsCSSUI">[CSSUI]</a></p>
 
   <dl>
@@ -66352,18 +66323,14 @@
 
    <dd>
 
-    <p>All <code>a</code> elements that have an <code
-    title="attr-hyperlink-href">href</code> attribute, all
-    <code>area</code> elements that have an <code
-    title="attr-hyperlink-href">href</code> attribute, and all
-    <code>link</code> elements that have an <code
-    title="attr-link-href">href</code> attribute, must match one of
-    <code title="selector-link">:link</code> and <code
-    title="selector-visited">:visited</code>.</p>
+    <p>All <code>a</code> elements that have an <code title="attr-hyperlink-href">href</code>
+    attribute, all <code>area</code> elements that have an <code
+    title="attr-hyperlink-href">href</code> attribute, and all <code>link</code> elements that have
+    an <code title="attr-link-href">href</code> attribute, must match one of <code
+    title="selector-link">:link</code> and <code title="selector-visited">:visited</code>.</p>
 
-    <p>Other specifications might apply more specific rules regarding
-    how these elements are to match these pseudo-classes, to mitigate
-    some privacy concerns that apply with straightforward
+    <p>Other specifications might apply more specific rules regarding how these elements are to
+    match these pseudo-classes, to mitigate some privacy concerns that apply with straightforward
     implementations of this requirement.</p>
 
    </dd>
@@ -66373,47 +66340,40 @@
 
    <dd>
 
-    <p>The <code title="selector-active">:active</code> pseudo-class
-    is defined to match an element <q
-    cite="http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act">while
-    an element is <i>being activated</i> by the user</q>. For the
-    purposes of defining the <code
-    title="selector-active">:active</code> pseudo-class only, an HTML
-    user agent must consider an element as <i>being activated</i> if
-    it is:</p>
+    <p>The <code title="selector-active">:active</code> pseudo-class is defined to match an element
+    <q cite="http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act">while an
+    element is <i>being activated</i> by the user</q>. For the purposes of defining the <code
+    title="selector-active">:active</code> pseudo-class only, an HTML user agent must consider an
+    element as <i>being activated</i> if it is:</p>
 
     <ul>
 
      <li>
 
-      <p>An element falling into one of the following categories
-      between the time the user begins to indicate an intent to
-      trigger the element's <span>activation behavior</span> and
-      either the time the user stops indicating an intent to trigger
-      the element's <span>activation behavior</span>, or the time the
-      element's <span>activation behavior</span> has finished running,
-      which ever comes first:</p>
+      <p>An element falling into one of the following categories between the time the user begins to
+      indicate an intent to trigger the element's <span>activation behavior</span> and either the
+      time the user stops indicating an intent to trigger the element's <span>activation
+      behavior</span>, or the time the element's <span>activation behavior</span> has finished
+      running, which ever comes first:</p>
 
       <ul>
 
-       <li><code>a</code> elements that have an <code
-       title="attr-hyperlink-href">href</code> attribute</li>
+       <li><code>a</code> elements that have an <code title="attr-hyperlink-href">href</code>
+       attribute</li>
 
-       <li><code>area</code> elements that have an <code
-       title="attr-hyperlink-href">href</code> attribute</li>
+       <li><code>area</code> elements that have an <code title="attr-hyperlink-href">href</code>
+       attribute</li>
 
-       <li><code>link</code> elements that have an <code
-       title="attr-link-href">href</code> attribute</li>
+       <li><code>link</code> elements that have an <code title="attr-link-href">href</code>
+       attribute</li>
 
        <li><code>button</code> elements that are not <span
        title="concept-fe-disabled">disabled</span></li>
 
-       <li><code>input</code> elements whose <code
-       title="attr-input-type">type</code> attribute is in the <span
-       title="attr-input-type-submit">Submit Button</span>, <span
-       title="attr-input-type-image">Image Button</span>, <span
-       title="attr-input-type-reset">Reset Button</span>, or <span
-       title="attr-input-type-button">Button</span> state</li>
+       <li><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is
+       in the <span title="attr-input-type-submit">Submit Button</span>, <span
+       title="attr-input-type-image">Image Button</span>, <span title="attr-input-type-reset">Reset
+       Button</span>, or <span title="attr-input-type-button">Button</span> state</li>
 
        <li><code>menuitem</code> elements that do not have a <code
        title="attr-menuitem-disabled">disabled</code> attribute</li>
@@ -66422,30 +66382,25 @@
 
       </ul>
 
-      <p class="example">For example, if the user is using a keyboard
-      to push a <code>button</code> element by pressing the space bar,
-      the element would match this pseudo-class in between the time
-      that the element received the <code
-      title="event-keydown">keydown</code> event and the time the
-      element received the <code title="event-keyup">keyup</code>
-      event.</p>
+      <p class="example">For example, if the user is using a keyboard to push a <code>button</code>
+      element by pressing the space bar, the element would match this pseudo-class in between the
+      time that the element received the <code title="event-keydown">keydown</code> event and the
+      time the element received the <code title="event-keyup">keyup</code> event.</p>
 
      </li>
 
      <li>
 
-      <p>An element that the user indicates using a pointing device
-      while that pointing device is in the "down" state (e.g. for a
-      mouse, between the time the mouse button is pressed and the time
+      <p>An element that the user indicates using a pointing device while that pointing device is in
+      the "down" state (e.g. for a mouse, between the time the mouse button is pressed and the time
       it is depressed).</p>
 
      </li>
 
      <li>
 
-      <p>An element that has a descendant that is currently matching
-      the <code title="selector-active">:active</code>
-      pseudo-class.</p>
+      <p>An element that has a descendant that is currently matching the <code
+      title="selector-active">:active</code> pseudo-class.</p>
 
      </li>
 
@@ -66453,6 +66408,7 @@
 
    </dd>
 
+<!--CLEANUP-->
 
    <dt><dfn title="selector-hover"><code>:hover</code></dfn></dt>
 
@@ -72397,13 +72353,12 @@
 
   <p>The method has four arguments, though they are all optional.</p>
 
-<!--CLEANUP-->
   <p>The first argument, <var title="">url</var>, must be a <span>valid non-empty URL</span> for a
-  page to load in the browsing context. If the first argument is
-  the empty string, then the <var title="">url</var> argument must be interpreted as
-  "<code>about:blank</code>". Otherwise, the argument must be <span title="resolve a url">resolved</span> to an
-  <span>absolute URL</span> (or an error), relative to the <span>entry script</span>'s <span
-  title="script's base URL">base URL</span>, when the method is invoked.</p>
+  page to load in the browsing context. If the first argument is the empty string, then the <var
+  title="">url</var> argument must be interpreted as "<code>about:blank</code>". Otherwise, the
+  argument must be <span title="resolve a url">resolved</span> to an <span>absolute URL</span> (or
+  an error), relative to the <span>entry script</span>'s <span title="script's base URL">base
+  URL</span>, when the method is invoked.</p>
 
   <p>The second argument, <var title="">target</var>, specifies the <span title="browsing context
   name">name</span> of the browsing context that is to be navigated. It must be a <span>valid
@@ -77643,7 +77598,7 @@
      title="concept-task">tasks</span>.</p>
 
      <li>
-
+<!--CLEANUP-->
       <p>For each entry in <var title="">cache group</var>'s <span
       title="concept-appcache-pending-masters">list of pending master entries</span>, wait for the
       resource for this entry to have either completely downloaded or failed.</p>
@@ -77666,7 +77621,7 @@
       algorithm to the resource's <span>URL</span> results in a <span>parsed URL</span> that has a
       non-null <span title="concept-url-fragment">fragment</span> component, the <span>URL</span>
       used for the entry in <var title="">cache</var> must instead be the <span>absolute URL</span>
-      obtained from applying the <span title="concept-url-serializer">URL serializer</span> algorith, to the <span>parsed
+      obtained from applying the <span title="concept-url-serializer">URL serializer</span> algorithm to the <span>parsed
       URL</span> with the <i>exclude fragment flag</i> set (application caches never include
       fragment identifiers).</p>
 




More information about the Commit-Watchers mailing list