W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2012

html5/spec Overview.html,1.5697,1.5698 acknowledgements.html,1.1262,1.1263 association-of-controls-and-forms.html,1.269,1.270 attributes-common-to-form-controls.html,1.158,1.159 attributes-common-to-ins-and-del-elements.html,1.158,1.159 attributes-common-to-td-and-th-elements.html,1.158,1.159 browsers.html,1.1245,1.1246 commands.html,1.209,1.210 common-dom-interfaces.html,1.242,1.243 common-input-element-apis.html,1.158,1.159 common-input-element-attributes.html,1.224,1.225 common-microsyntaxes.html,1.224,1.225 constraints.html,1.158,1.159 content-models.html,1.267,1.268 converting-html-to-other-formats.html,1.5,1.6 dimension-attributes.html,1.158,1.159 dnd.html,1.246,1.247 dom.html,1.1237,1.1238 dynamic-markup-insertion.html,1.159,1.160 editing-apis.html,1.158,1.159 editing.html,1.1223,1.1224 edits-and-lists.html,1.158,1.159 edits-and-paragraphs.html,1.158,1.159 edits.html,1.203,1.204 element-definitions.html,1.158,1.159 elements.html,1.233,1.234 examples.html,1.158,1.159 form-submission.html,1.158

From: Sam Ruby via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 22 Aug 2012 10:52:59 +0000
To: Message-Id: <E1T48Yn-00028q-1L@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv8174

Modified Files:
	Overview.html acknowledgements.html 
	association-of-controls-and-forms.html 
	attributes-common-to-form-controls.html 
	attributes-common-to-ins-and-del-elements.html 
	attributes-common-to-td-and-th-elements.html browsers.html 
	commands.html common-dom-interfaces.html 
	common-input-element-apis.html 
	common-input-element-attributes.html common-microsyntaxes.html 
	constraints.html content-models.html 
	converting-html-to-other-formats.html 
	dimension-attributes.html dnd.html dom.html 
	dynamic-markup-insertion.html editing-apis.html editing.html 
	edits-and-lists.html edits-and-paragraphs.html edits.html 
	element-definitions.html elements.html examples.html 
	form-submission.html forms.html global-attributes.html 
	grouping-content.html headings-and-sections.html history.html 
	iana.html image-maps.html index.html infrastructure.html 
	interactions-with-xpath-and-xslt.html 
	interactive-elements.html introduction.html links.html 
	mathml.html media-elements.html 
	named-character-references.html namespaces.html obsolete.html 
	offline.html parsing.html references.html rendering.html 
	requirements-relating-to-bidirectional-algorithm-formatting-characters.html 
	scripting-1.html sections.html semantics.html spec.html 
	states-of-the-type-attribute.html styling.html syntax.html 
	system-state-and-capabilities.html tabular-data.html 
	text-level-semantics.html textFieldSelection.html 
	the-a-element.html the-abbr-element.html 
	the-address-element.html the-area-element.html 
	the-article-element.html the-aside-element.html 
	the-audio-element.html the-b-element.html 
	the-base-element.html the-bdi-element.html 
	the-bdo-element.html the-blockquote-element.html 
	the-body-element.html the-br-element.html 
	the-button-element.html the-canvas-element.html 
	the-caption-element.html the-cite-element.html 
	the-code-element.html the-col-element.html 
	the-colgroup-element.html the-command-element.html 
	the-datalist-element.html the-dd-element.html 
	the-del-element.html the-details-element.html 
	the-dfn-element.html the-div-element.html the-dl-element.html 
	the-dt-element.html the-em-element.html the-embed-element.html 
	the-end.html the-fieldset-element.html 
	the-figcaption-element.html the-figure-element.html 
	the-footer-element.html the-form-element.html 
	the-head-element.html the-header-element.html 
	the-hgroup-element.html the-hr-element.html 
	the-html-element.html the-i-element.html 
	the-iframe-element.html the-img-element.html 
	the-input-element.html the-ins-element.html 
	the-kbd-element.html the-keygen-element.html 
	the-label-element.html the-legend-element.html 
	the-li-element.html the-link-element.html the-map-element.html 
	the-mark-element.html the-menu-element.html 
	the-meta-element.html the-meter-element.html 
	the-nav-element.html the-noscript-element.html 
	the-object-element.html the-ol-element.html 
	the-optgroup-element.html the-option-element.html 
	the-output-element.html the-p-element.html 
	the-param-element.html the-pre-element.html 
	the-progress-element.html the-q-element.html 
	the-rp-element.html the-rt-element.html the-ruby-element.html 
	the-s-element.html the-samp-element.html 
	the-script-element.html the-section-element.html 
	the-select-element.html the-small-element.html 
	the-source-element.html the-span-element.html 
	the-strong-element.html the-style-element.html 
	the-sub-and-sup-elements.html the-summary-element.html 
	the-table-element.html the-tbody-element.html 
	the-td-element.html the-textarea-element.html 
	the-tfoot-element.html the-th-element.html 
	the-thead-element.html the-time-element.html 
	the-title-element.html the-tr-element.html 
	the-track-element.html the-u-element.html the-ul-element.html 
	the-var-element.html the-video-element.html 
	the-wbr-element.html the-xhtml-syntax.html timers.html 
	tokenization.html urls.html usage-summary.html 
	user-prompts.html wai-aria.html webappapis.html 
Removed Files:
	1.4938.html Overview.15431.html apis-in-html-documents.html 
	comms.html embedded-content-0.html embedded-content-1.html 
	fetching-resources.html iana-considerations.html 
	microdata.html no.html number-state.html origin-0.html 
	section-index.html single-page.html svg-0.html 
	the-h1-element.html the-h1-h2-h3-h4-h5-and-h6-elements.html 
	the-h2-element.html the-h3-element.html the-h4-element.html 
	the-h5-element.html the-h6-element.html the-sub-element.html 
	the-sup-element.html toc-status.html tree-construction.html 
Log Message:
commit c2bc33702feb6c47fd96fcf9ce85042df2e4ba1b
Author: Travis Leithead <http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,51 +316,50 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="text-level-semantics.html" title="4.6 Text-level semantics" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="text-level-semantics.html" title="4.6 Text-level semantics" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-em-element.html" title="4.6.2 The em element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="text-level-semantics.html">&#8592; 4.6 Text-level semantics</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-em-element.html">4.6.2 The em element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-a-element"><span class="secno">4.6.1 </span>The <dfn><code>a</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: <a href="content-models.html#phrasing-content">phrasing content</a>.</dd>
-   <dd><a href="content-models.html#interactive-content">Interactive content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: <a href="content-models.html#phrasing-content-1">phrasing content</a>.</dd>
+   <dd><a href="content-models.html#interactive-content-0">Interactive content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
-   <dd>Otherwise: where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
+   <dd>Otherwise: where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#transparent">Transparent</a>, but there must be no <a href="content-models.html#interactive-content">interactive content</a> descendant.</dd>
+   <dd><a href="content-models.html#transparent">Transparent</a>, but there must be no <a href="content-models.html#interactive-content-0">interactive content</a> descendant.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code></dd>
    <dd><code title="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code></dd>
+<!--DOWNLOAD--><!--PING-->
    <dd><code title="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">rel</a></code></dd>
    <dd><code title="attr-hyperlink-media"><a href="links.html#attr-hyperlink-media">media</a></code></dd>
    <dd><code title="attr-hyperlink-hreflang"><a href="links.html#attr-hyperlink-hreflang">hreflang</a></code></dd>
    <dd><code title="attr-hyperlink-type"><a href="links.html#attr-hyperlink-type">type</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlanchorelement">HTMLAnchorElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
   stringifier attribute DOMString <a href="#dom-a-href" title="dom-a-href">href</a>;
            attribute DOMString <a href="#dom-a-target" title="dom-a-target">target</a>;
+<!--DOWNLOAD--><!--PING-->
            attribute DOMString <a href="#dom-a-rel" title="dom-a-rel">rel</a>;
   readonly attribute <a href="infrastructure.html#domtokenlist">DOMTokenList</a> <a href="#dom-a-rellist" title="dom-a-relList">relList</a>;
            attribute DOMString <a href="#dom-a-media" title="dom-a-media">media</a>;
@@ -379,21 +378,27 @@
            attribute DOMString <a href="#dom-a-hash" title="dom-a-hash">hash</a>;
 };</pre>
    </dd>
-  </dl><p>If the <code><a href="#the-a-element">a</a></code> element has an <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attribute, then it
+  </dl><!--TOPIC:HTML--><p>If the <code><a href="#the-a-element">a</a></code> element has an <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attribute, then it
   <a href="rendering.html#represents">represents</a> a <a href="links.html#hyperlink">hyperlink</a> (a hypertext
   anchor).</p>
 
-  
+  <!-- v2: Eric Meyer requests the ability to nest links so that a big
+  hyperlink, e.g. representing a calendar event, can be clickable,
+  while within it there are subareas that represent links to distinct
+  areas, e.g. a link to see photos of the event, or to edit the event,
+  or some such. -->
 
   <p>If the <code><a href="#the-a-element">a</a></code> element has no <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attribute, then the element
   <a href="rendering.html#represents">represents</a> a placeholder for where a link might
   otherwise have been placed, if it had been relevant.</p>
 
   <p>The <code title="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code>,
+<!--DOWNLOAD--><!--PING-->
   <code title="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">rel</a></code>, <code title="attr-hyperlink-media"><a href="links.html#attr-hyperlink-media">media</a></code>, <code title="attr-hyperlink-hreflang"><a href="links.html#attr-hyperlink-hreflang">hreflang</a></code>, and <code title="attr-hyperlink-type"><a href="links.html#attr-hyperlink-type">type</a></code> attributes must be omitted
   if the <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attribute is
   not present.</p>
 
+<!--MD-->
 
   <div class="example">
    <p>If a site uses a consistent navigation toolbar on every page,
@@ -413,8 +418,10 @@
 
   <p>The <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code>,
   <code title="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code>,
-  attributes affect what happens when users <a href="links.html#following-hyperlinks" title="following
+<!--DOWNLOAD--><!--PING-->
+  attributes affect what happens when users <a href="links.html#following-hyperlinks-0" title="following
   hyperlinks">follow hyperlinks</a>
+<!--DOWNLOAD-->
   created using the <code><a href="#the-a-element">a</a></code> element.  The
   <code title="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">rel</a></code>, <code title="attr-hyperlink-media"><a href="links.html#attr-hyperlink-media">media</a></code>, <code title="attr-hyperlink-hreflang"><a href="links.html#attr-hyperlink-hreflang">hreflang</a></code>, and <code title="attr-hyperlink-type"><a href="links.html#attr-hyperlink-type">type</a></code> attributes may be used to
   indicate to the user the likely nature of the target resource before
@@ -426,6 +433,7 @@
 
   <ol><li><p>If the algorithm is not <a href="browsers.html#allowed-to-show-a-pop-up">allowed to show a
    pop-up</a> and either the <code><a href="#the-a-element">a</a></code>
+<!--DOWNLOAD-->
    element's <code title="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code>
    attribute is present and applying <a href="browsers.html#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>, using the
@@ -439,7 +447,7 @@
    event is an <code><a href="the-img-element.html#the-img-element">img</a></code> element with an <code title="attr-img-ismap"><a href="the-img-element.html#attr-img-ismap">ismap</a></code> attribute specified, then
    server-side image map processing must be performed, as follows:</p>
 
-    <ol><li>If the <code title="event-click"><a href="infrastructure.html#event-click">click</a></code> event was a
+    <ol><!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A...%3Ca%20href%3D%22%23%22%3E%3Cimg%20ismap%20usemap%3D%22%23a%22%20src%3D/resources/images/smallcats%3E%3C/a%3E%0A%3Cmap%20name%3Da%3E%3Carea%20shape%3Drect%20coords%3D0%2C0%2C50%2C50%20href%3Db%3E%3C/map%3E --><li>If the <code title="event-click"><a href="infrastructure.html#event-click">click</a></code> event was a
      real pointing-device-triggered <code title="event-click"><a href="infrastructure.html#event-click">click</a></code> event on the <code><a href="the-img-element.html#the-img-element">img</a></code>
      element, then let <var title="">x</var> be the distance in CSS
      pixels from the left edge of the image's left border, if it has
@@ -453,20 +461,22 @@
      QUESTION MARK character, the value of <var title="">x</var>
      expressed as a base-ten integer using ASCII digits, a "," (U+002C) character, and the value of <var title="">y</var>
      expressed as a base-ten integer using ASCII digits. ASCII digits
-     are the characters in the range <a href="common-microsyntaxes.html#ascii-digits">ASCII digits</a>.</li>
+     are the characters in the range <a href="#ascii-digits">ASCII digits</a>.</li>
 
     </ol></li>
 
-   <li><p>Finally, the user agent must <a href="links.html#following-hyperlinks" title="following
+   <li><p>Finally, the user agent must <a href="links.html#following-hyperlinks-0" title="following
    hyperlinks">follow the hyperlink</a>
+<!--DOWNLOAD-->
    created by the <code><a href="#the-a-element">a</a></code> element, as determined by
+<!--DOWNLOAD-->
    any expressed user preference. If the steps above defined a
    <var><a href="#hyperlink-suffix">hyperlink suffix</a></var>, then take that into account when
    following or downloading the hyperlink.</p></li>
 
   </ol></div>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">a</var> . <code title="dom-a-text"><a href="#dom-a-text">text</a></code></dt>
 
    <dd>
@@ -479,6 +489,7 @@
 
   <p>The IDL attributes
   <dfn id="dom-a-href" title="dom-a-href"><code>href</code></dfn>,
+<!--DOWNLOAD--><!--PING-->
   <dfn id="dom-a-target" title="dom-a-target"><code>target</code></dfn>, <dfn id="dom-a-rel" title="dom-a-rel"><code>rel</code></dfn>, <dfn id="dom-a-media" title="dom-a-media"><code>media</code></dfn>, <dfn id="dom-a-hreflang" title="dom-a-hreflang"><code>hreflang</code></dfn>, and <dfn id="dom-a-type" title="dom-a-type"><code>type</code></dfn>, must
   <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content attributes of the same
   name.</p>
@@ -504,7 +515,7 @@
   value.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
   <div class="example">
 

Index: the-img-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-img-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-img-element.html	26 Jun 2012 20:46:58 -0000	1.158
+++ the-img-element.html	22 Aug 2012 10:52:50 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.8.1 The img element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.8.1 The img element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,50 +316,48 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="embedded-content-1.html" title="4.8 Embedded content" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="edits-and-lists.html" title="4.7.5 Edits and lists" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-iframe-element.html" title="4.8.2 The iframe element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
-   <a href="embedded-content-1.html">&#8592; 4.8 Embedded content</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+  <div class="prev_next">
+   <a href="edits-and-lists.html">&#8592; 4.7.5 Edits and lists</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-iframe-element.html">4.8.2 The iframe element &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="the-img-element.html#the-img-element"><span class="secno">4.8.1 </span>The <code>img</code> element</a>
       <ol><li><a href="the-img-element.html#alt"><span class="secno">4.8.1.1 </span>Requirements for providing text to act as an alternative for images</a>
-        <ol><li><a href="the-img-element.html#general-guidelines"><span class="secno">4.8.1.1.1 </span>General guidelines</a></li><li><a href="the-img-element.html#a-link-or-button-containing-nothing-but-the-image"><span class="secno">4.8.1.1.2 </span>A link or button containing nothing but the image</a></li><li><a href="the-img-element.html#a-phrase-or-paragraph-with-an-alternative-graphical-representation:-charts-diagrams-graphs-maps-illustrations"><span class="secno">4.8.1.1.3 </span>A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations</a></li><li><a href="the-img-element.html#a-short-phrase-or-label-with-an-alternative-graphical-representation:-icons-logos"><span class="secno">4.8.1.1.4 </span>A short phrase or label with an alternative graphical representation: icons, logos</a></li><li><a href="the-img-element.html#text-that-has-been-rendered-to-a-graphic-for-typographical-effect"><span class="secno">4.8.1.1.5 </span>Text that has been rendered to a graphic for typographical effect</a></li><li><a href="the-img-element.html#a-graphical-representation-of-some-of-the-surrounding-text"><span class="secno">4.8.1.1.6 </span>A graphical representation of some of the surrounding text</a></li><li><a href="the-img-element.html#a-purely-decorative-image-that-doesn-t-add-any-information"><span class="secno">4.8.1.1.7 </span>A purely decorative image that doesn't add any information</a></li><li><a href="the-img-element.html#a-group-of-images-that-form-a-single-larger-picture-with-no-links"><span class="secno">4.8.1.1.8 </span>A group of images that form a single larger picture with no links</a></li><li><a href="the-img-element.html#a-group-of-images-that-form-a-single-larger-picture-with-links"><span class="secno">4.8.1.1.9 </span>A group of images that form a single larger picture with links</a></li><li><a href="the-img-element.html#a-key-part-of-the-content"><span class="secno">4.8.1.1.10 </span>A key part of the content</a></li><li><a href="the-img-element.html#an-image-not-intended-for-the-user"><span class="secno">4.8.1.1.11 </span>An image not intended for the user</a></li><li><a href="the-img-element.html#guidance-for-markup-generators"><span class="secno">4.8.1.1.12 </span>Guidance for markup generators</a></li><li><a href="the-img-element.html#guidance-for-conformance-checkers"><span class="secno">4.8.1.1.13 </span>Guidance for conformance checkers</a></li></ol></li></ol></li></ol></li></ol></li></ol></nav>
+        <ol><li><a href="the-img-element.html#general-guidelines"><span class="secno">4.8.1.1.1 </span>General guidelines</a></li><li><a href="the-img-element.html#a-link-or-button-containing-nothing-but-the-image"><span class="secno">4.8.1.1.2 </span>A link or button containing nothing but the image</a></li><li><a href="the-img-element.html#a-phrase-or-paragraph-with-an-alternative-graphical-representation:-charts,-diagrams,-graphs,-maps,-illustrations"><span class="secno">4.8.1.1.3 </span>A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations</a></li><li><a href="the-img-element.html#a-short-phrase-or-label-with-an-alternative-graphical-representation:-icons,-logos"><span class="secno">4.8.1.1.4 </span>A short phrase or label with an alternative graphical representation: icons, logos</a></li><li><a href="the-img-element.html#text-that-has-been-rendered-to-a-graphic-for-typographical-effect"><span class="secno">4.8.1.1.5 </span>Text that has been rendered to a graphic for typographical effect</a></li><li><a href="the-img-element.html#a-graphical-representation-of-some-of-the-surrounding-text"><span class="secno">4.8.1.1.6 </span>A graphical representation of some of the surrounding text</a></li><li><a href="the-img-element.html#a-purely-decorative-image-that-doesn't-add-any-information"><span class="secno">4.8.1.1.7 </span>A purely decorative image that doesn't add any information</a></li><li><a href="the-img-element.html#a-group-of-images-that-form-a-single-larger-picture-with-no-links"><span class="secno">4.8.1.1.8 </span>A group of images that form a single larger picture with no links</a></li><li><a href="the-img-element.html#a-group-of-images-that-form-a-single-larger-picture-with-links"><span class="secno">4.8.1.1.9 </span>A group of images that form a single larger picture with links</a></li><li><a href="the-img-element.html#a-key-part-of-the-content"><span class="secno">4.8.1.1.10 </span>A key part of the content</a></li><li><a href="the-img-element.html#an-image-not-intended-for-the-user"><span class="secno">4.8.1.1.11 </span>An image not intended for the user</a></li><li><a href="the-img-element.html#guidance-for-markup-generators"><span class="secno">4.8.1.1.12 </span>Guidance for markup generators</a></li><li><a href="the-img-element.html#guidance-for-conformance-checkers"><span class="secno">4.8.1.1.13 </span>Guidance for conformance checkers</a></li></ol></li></ol></li></ol></li></ol></li></ol></div>
 
   <h4 id="the-img-element"><span class="secno">4.8.1 </span>The <dfn><code>img</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#embedded-content">Embedded content</a>.</dd>
-   <dd>If the element has a <code title="attr-hyperlink-usemap"><a href="image-maps.html#attr-hyperlink-usemap">usemap</a></code> attribute: <a href="content-models.html#interactive-content">Interactive content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#embedded-content-2">Embedded content</a>.</dd>
+   <dd>If the element has a <code title="attr-hyperlink-usemap"><a href="image-maps.html#attr-hyperlink-usemap">usemap</a></code> attribute: <a href="content-models.html#interactive-content-0">Interactive content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#embedded-content">embedded content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#embedded-content-2">embedded content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd>Empty.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-img-alt"><a href="#attr-img-alt">alt</a></code></dd>
    <dd><code title="attr-img-src"><a href="#attr-img-src">src</a></code></dd>
+
    <dd><code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code></dd>
    <dd><code title="attr-hyperlink-usemap"><a href="image-maps.html#attr-hyperlink-usemap">usemap</a></code></dd>
    <dd><code title="attr-img-ismap"><a href="#attr-img-ismap">ismap</a></code></dd>
    <dd><code title="attr-dim-width"><a href="dimension-attributes.html#attr-dim-width">width</a></code></dd>
    <dd><code title="attr-dim-height"><a href="dimension-attributes.html#attr-dim-height">height</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">[NamedConstructor=<a href="#dom-image" title="dom-image">Image</a>(),
  NamedConstructor=<a href="#dom-image-w" title="dom-image-w">Image</a>(unsigned long width),
@@ -367,6 +365,7 @@
 interface <dfn id="htmlimageelement">HTMLImageElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-img-alt" title="dom-img-alt">alt</a>;
            attribute DOMString <a href="#dom-img-src" title="dom-img-src">src</a>;
+
            attribute DOMString <a href="#dom-img-crossorigin" title="dom-img-crossOrigin">crossOrigin</a>;
            attribute DOMString <a href="#dom-img-usemap" title="dom-img-useMap">useMap</a>;
            attribute boolean <a href="#dom-img-ismap" title="dom-img-isMap">isMap</a>;
@@ -377,14 +376,32 @@
   readonly attribute boolean <a href="#dom-img-complete" title="dom-img-complete">complete</a>;
 };</pre>
    </dd>
-  </dl><p>An <code><a href="#the-img-element">img</a></code> element represents an image.</p>
+  </dl><!--TOPIC:HTML--><p>An <code><a href="#the-img-element">img</a></code> element represents an image.</p>
 
-  
+  <!-- v2 ideas for <img>:
+
+     * Maps sites would like to know which images are already cached,
+       so that they can use images that are vaguely suitable while
+       they wait for the most appropriate image to download.
+
+       Almost like lowsrc="", except that many images might be
+       appropriate.
+
+       Slight hitch: their images are at a different origin, and we
+       don't want to allow arbitrary cross-origin inspection (privacy
+       leak risk). So it will require them to do CORS opt-in.
+
+     * See note at rel=noreferrer.
+
+  -->
 
   <p>The image given by the <dfn id="attr-img-src" title="attr-img-src"><code>src</code></dfn>
+
   attributes is the embedded content; the value of the <dfn id="attr-img-alt" title="attr-img-alt"><code>alt</code></dfn> attribute provides
   equivalent content for those who cannot process images or who have
-  image loading disabled.</p>
+  image loading disabled<!--
+--><!--FORK--><!--
+  -->.</p>
 
   <p>The <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute must be
   present, and must contain a <a href="urls.html#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially
@@ -393,6 +410,7 @@
   scripted.</p>
 
 
+
   <p class="note">Images can thus be static bitmaps (e.g. PNGs, GIFs,
   JPEGs), single-page vector documents (single-page PDFs, XML files
   with an SVG root element), animated bitmaps (APNGs, animated GIFs),
@@ -448,24 +466,30 @@
   <p>A user agent that obtains images immediately must synchronously
   <a href="#update-the-image-data">update the image data</a> of an <code><a href="#the-img-element">img</a></code> element
   whenever that element is created with a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute,
+
   A user agent that obtains images immediately must also synchronously
   <a href="#update-the-image-data">update the image data</a> of an <code><a href="#the-img-element">img</a></code> element
   whenever that element has its
   <code title="attr-img-src"><a href="#attr-img-src">src</a></code>,
+
   <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> attribute set,
-  changed, or removed.</p> 
+  changed, or removed.</p> <!-- Note how this does NOT happen when the
+  base URL changes. -->
 
   <p>A user agent that obtains images on demand must <a href="#update-the-image-data">update the
   image data</a> of an <code><a href="#the-img-element">img</a></code> element whenever it needs
   the image data (i.e. on demand), but only if the <code><a href="#the-img-element">img</a></code>
   element has a
   <code title="attr-img-src"><a href="#attr-img-src">src</a></code>
+
   attribute, and only if the <code><a href="#the-img-element">img</a></code> element is in the <a href="#img-none" title="img-none">unavailable</a> state. When an <code><a href="#the-img-element">img</a></code>
   element's
   <code title="attr-img-src"><a href="#attr-img-src">src</a></code>,
+
   <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> attribute set,
   changed, or removed, if the user agent only obtains images on
-  demand, the <code><a href="#the-img-element">img</a></code> element must return to the <a href="#img-none" title="img-none">unavailable</a> state.</p> 
+  demand, the <code><a href="#the-img-element">img</a></code> element must return to the <a href="#img-none" title="img-none">unavailable</a> state.</p> <!-- Note how this
+  does NOT happen when the base URL changes. -->
 
   <p>Each <code><a href="#the-img-element">img</a></code> element has a <dfn id="last-selected-source">last selected
   source</dfn>, which must initially be null, and a <dfn id="current-pixel-density">current pixel
@@ -485,7 +509,7 @@
   available images</dfn>. Each image in this list is identified by a
   tuple consisting of an <a href="urls.html#absolute-url">absolute URL</a>, a <a href="urls.html#cors-settings-attribute">CORS
   settings attribute</a> mode, and, if the mode is not <a href="urls.html#attr-crossorigin-none" title="attr-crossorigin-none">No CORS</a>, an
-  <a href="origin-0.html#origin">origin</a>. User agents may copy entries from one
+  <a href="browsers.html#origin-0">origin</a>. User agents may copy entries from one
   <code><a href="dom.html#document">Document</a></code> object's <a href="#list-of-available-images">list of available images</a>
   to another at any time (e.g. when the <code><a href="dom.html#document">Document</a></code> is
   created, user agents can add to it all the images that are loaded in
@@ -512,6 +536,7 @@
    <li>
 
 
+
     Otherwise, if the element has a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute specified and its value
     is not the empty string, let <var title="">selected source</var>
     be the value of the element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, and <var title="">selected pixel density</var> be 1.0. Otherwise, let <var title="">selected source</var> be null and <var title="">selected
@@ -532,7 +557,7 @@
    <code title="attr-crossorigin">crossorigin</code> attribute's mode,
    and, if that mode is not <a href="urls.html#attr-crossorigin-none" title="attr-crossorigin-none">No
    CORS</a>, the <code><a href="dom.html#document">Document</a></code> object's
-   <a href="origin-0.html#origin">origin</a>.</p></li>
+   <a href="browsers.html#origin-0">origin</a>.</p></li>
 
    <li><p>If the <a href="#list-of-available-images">list of available images</a>, contains an
    entry for <var title="">key</var>, then set the <code><a href="#the-img-element">img</a></code>
@@ -559,6 +584,7 @@
     <p class="note">Only the last instance takes effect, to avoid
     multiple requests when, for example, the
     <code title="attr-img-src"><a href="#attr-img-src">src</a></code>,
+
     <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> attributes
     are all set in succession.</p>
 
@@ -579,17 +605,18 @@
     <p>Do a <a href="urls.html#potentially-cors-enabled-fetch">potentially CORS-enabled fetch</a> of the
     <a href="urls.html#absolute-url">absolute URL</a> that resulted from the earlier step,
     with the <i>mode</i> being the state of the element's <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> content attribute,
-    the <i title="">origin</i> being the <a href="origin-0.html#origin">origin</a> of the
+    the <i title="">origin</i> being the <a href="browsers.html#origin-0">origin</a> of the
     <code><a href="#the-img-element">img</a></code> element's <code><a href="dom.html#document">Document</a></code>, and the
     <i>default origin behaviour</i> set to <i>taint</i>.</p>
 
     <p>The resource obtained in this fashion, if any, is the
     <code><a href="#the-img-element">img</a></code> element's image data. It can be either
     <a href="urls.html#cors-same-origin">CORS-same-origin</a> or <a href="urls.html#cors-cross-origin">CORS-cross-origin</a>;
-    this affects the <a href="origin-0.html#origin">origin</a> of the image itself (e.g.
+    this affects the <a href="browsers.html#origin-0">origin</a> of the image itself (e.g.
     when used on a <code><a href="the-canvas-element.html#the-canvas-element">canvas</a></code>).</p>
 
-     <p>Fetching the image must <a href="the-end.html#delay-the-load-event">delay the load
+    <!-- same text in <input type=image> section and similar text
+    elsewhere --> <p>Fetching the image must <a href="the-end.html#delay-the-load-event">delay the load
     event</a> of the element's document until the <a href="webappapis.html#concept-task" title="concept-task">task</a> that is <a href="webappapis.html#queue-a-task" title="queue a
     task">queued</a> by the <a href="webappapis.html#networking-task-source">networking task source</a>
     once the resource has been <a href="urls.html#fetch" title="fetch">fetched</a> (<a href="#img-load">defined below</a>) has been run.</p>
@@ -598,7 +625,7 @@
     rudimentary port scan of the user's local network (especially in
     conjunction with scripting, though scripting isn't actually
     necessary to carry out such an attack). User agents may implement
-    <a href="origin-0.html#origin" title="origin">cross-origin</a> access control policies
+    <a href="browsers.html#origin-0" title="origin">cross-origin</a> access control policies
     that are stricter than those described above to mitigate this
     attack, but unfortunately such policies are typically not
     compatible with existing Web content.</p>
@@ -624,7 +651,7 @@
      <code title="event-load">load</code> at the <code><a href="#the-img-element">img</a></code>
      element.</dd>
 
-     
+     <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1222 -->
 
      <dt>Otherwise</dt>
 
@@ -633,7 +660,7 @@
      <code><a href="#the-img-element">img</a></code> element.</dd>
 
     </dl><p>On the other hand, if the resource type is
-    <code><a href="iana.html#multipart-x-mixed-replace">multipart/x-mixed-replace</a></code>, then each <a href="webappapis.html#concept-task" title="concept-task">task</a> that is <a href="webappapis.html#queue-a-task" title="queue a
+    <code><a href="iana.html#multipart/x-mixed-replace">multipart/x-mixed-replace</a></code>, then each <a href="webappapis.html#concept-task" title="concept-task">task</a> that is <a href="webappapis.html#queue-a-task" title="queue a
     task">queued</a> by the <a href="webappapis.html#networking-task-source">networking task source</a>
     while the image is being <a href="urls.html#fetch" title="fetch">fetched</a> must
     also update the presentation of the image, but as each new body
@@ -758,7 +785,8 @@
     provide contextual information in response to navigation, provide
     caption information for the image, derived as follows:</p>
 
-    <ol><li><p>If the image has a <code title="attr-title"><a href="global-attributes.html#the-title-attribute">title</a></code>
+    <ol><!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' --><!--TITLE--><!-- this is not omitted for some reason; see http://www.w3.org/html/wg/wiki/ChangeProposals/notitlev2#Details --><li><p>If the image has a <code title="attr-title"><a href="global-attributes.html#the-title-attribute">title</a></code>
      attribute whose value is not the empty string, then the value of
      that attribute is the caption information; abort these
      steps.</p></li>
@@ -766,9 +794,9 @@
      <li><p>If the image is a descendant of a <code><a href="the-figure-element.html#the-figure-element">figure</a></code>
      element that has a child <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element, and,
      ignoring the <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element and its descendants,
-     the <code><a href="the-figure-element.html#the-figure-element">figure</a></code> element has no <code><a href="infrastructure.html#text">Text</a></code> node
+     the <code><a href="the-figure-element.html#the-figure-element">figure</a></code> element has no <code><a href="infrastructure.html#text-0">Text</a></code> node
      descendants other than <a href="content-models.html#inter-element-whitespace">inter-element whitespace</a>, and
-     no <a href="content-models.html#embedded-content">embedded content</a> descendant other than the
+     no <a href="content-models.html#embedded-content-2">embedded content</a> descendant other than the
      <code><a href="#the-img-element">img</a></code> element, then the contents of the first such
      <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element are the caption information;
      abort these steps.</p></li>
@@ -803,6 +831,7 @@
   display any image, or to prevent any image from being
   displayed.
 
+  <!--POLITICS--><!--FORK-->
 
   </p>
 
@@ -839,6 +868,7 @@
   <div class="impl">
 
   <p>The <dfn id="dom-img-alt" title="dom-img-alt"><code>alt</code></dfn>, <dfn id="dom-img-src" title="dom-img-src"><code>src</code></dfn>,
+  
   IDL attributes must <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content
   attributes of the same name.</p>
 
@@ -854,7 +884,7 @@
 
   </div>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">image</var> . <code title="dom-img-width"><a href="#dom-img-width">width</a></code> [ = <var title="">value</var> ]</dt>
    <dt><var title="">image</var> . <code title="dom-img-height"><a href="#dom-img-height">height</a></code> [ = <var title="">value</var> ]</dt>
 
@@ -940,7 +970,7 @@
   invoked constructor is found.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
   <div class="example">
 
@@ -1071,8 +1101,8 @@
   image.</p>
 
   <p>A corollary to this is that the <code title="attr-img-alt"><a href="#attr-img-alt">alt</a></code> attribute's value should never
-  contain text that could be considered the image's <em>caption</em>,
-  <em>title</em>, or <em>legend</em>. It is supposed to contain
+  contain text that could be considered the image's <em><a href="the-caption-element.html#the-caption-element">caption</a></em>,
+  <em><a href="the-title-element.html#the-title-element">title</a></em>, or <em><a href="the-legend-element.html#the-legend-element">legend</a></em>. It is supposed to contain
   replacement text that could be used by users <em>instead</em> of the
   image; it is not meant to supplement the image. The <code title="attr-title"><a href="global-attributes.html#the-title-attribute">title</a></code> attribute can be used for
   supplemental information.</p>
@@ -1137,7 +1167,7 @@
 
 
 
-  <h6 id="a-phrase-or-paragraph-with-an-alternative-graphical-representation:-charts-diagrams-graphs-maps-illustrations"><span class="secno">4.8.1.1.3 </span>A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations</h6>
+  <h6 id="a-phrase-or-paragraph-with-an-alternative-graphical-representation:-charts,-diagrams,-graphs,-maps,-illustrations"><span class="secno">4.8.1.1.3 </span>A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations</h6>
 
   <p>Sometimes something can be more clearly stated in graphical
   form, for example as a flowchart, a diagram, a graph, or a simple
@@ -1165,7 +1195,7 @@
 
    <pre>&lt;p&gt;In the common case, the data handled by the tokenization stage
 comes from the network, but it can also come from script.&lt;/p&gt;
-&lt;p&gt;<strong>&lt;img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="The Network
+&lt;p&gt;<strong>&lt;img src="images/parsing-model-overview.png" alt="The Network
 passes data to the Input Stream Preprocessor, which passes it to the
 Tokenizer, which passes it to the Tree Construction stage. From there,
 data goes to both the DOM and to Script Execution. Script Execution is
@@ -1213,7 +1243,7 @@
   </div>
 
 
-  <h6 id="a-short-phrase-or-label-with-an-alternative-graphical-representation:-icons-logos"><span class="secno">4.8.1.1.4 </span>A short phrase or label with an alternative graphical representation: icons, logos</h6>
+  <h6 id="a-short-phrase-or-label-with-an-alternative-graphical-representation:-icons,-logos"><span class="secno">4.8.1.1.4 </span>A short phrase or label with an alternative graphical representation: icons, logos</h6>
 
   <p>A document can contain information in iconic form. The icon is
   intended to help users of visual browsers to recognize features at
@@ -1387,7 +1417,7 @@
 stage. From there, data goes to both the DOM and to Script Execution.
 Script Execution is linked to the DOM, and, using document.write(),
 passes data to the Tokenizer.&lt;/p&gt;
-<strong>&lt;p&gt;&lt;img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt=""&gt;&lt;/p&gt;</strong></pre>
+<strong>&lt;p&gt;&lt;img src="images/parsing-model-overview.png" alt=""&gt;&lt;/p&gt;</strong></pre>
 
    <p>In these cases, it would be wrong to include alternative text
    that consists of just a caption. If a caption is to be included,
@@ -1403,7 +1433,7 @@
 stage. From there, data goes to both the DOM and to Script Execution.
 Script Execution is linked to the DOM, and, using document.write(),
 passes data to the Tokenizer.&lt;/p&gt;
-&lt;p&gt;<strong>&lt;img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt=""
+&lt;p&gt;<strong>&lt;img src="images/parsing-model-overview.png" alt=""
         title="Flowchart representation of the parsing model."&gt;</strong>&lt;/p&gt;</pre>
 
    <pre>&lt;!-- Using &lt;figure&gt; and &lt;figcaption&gt; --&gt;
@@ -1413,7 +1443,7 @@
 Script Execution is linked to the DOM, and, using document.write(),
 passes data to the Tokenizer.&lt;/p&gt;
 &lt;figure&gt;
- <strong>&lt;img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="The Network leads to
+ <strong>&lt;img src="images/parsing-model-overview.png" alt="The Network leads to
  the Input Stream Preprocessor, which leads to the Tokenizer, which
  leads to the Tree Construction stage. The Tree Construction stage
  leads to two items. The first is Script Execution, which leads via
@@ -1429,7 +1459,7 @@
 stage. From there, data goes to both the DOM and to Script Execution.
 Script Execution is linked to the DOM, and, using document.write(),
 passes data to the Tokenizer.&lt;/p&gt;
-&lt;p&gt;&lt;img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png"
+&lt;p&gt;&lt;img src="images/parsing-model-overview.png"
         alt="Flowchart representation of the parsing model."&gt;&lt;/p&gt;
 &lt;!-- Never put the image's caption in the alt="" attribute! --&gt;</pre>
 
@@ -1449,24 +1479,28 @@
 
 
 
-  <h6 id="a-purely-decorative-image-that-doesn-t-add-any-information"><span class="secno">4.8.1.1.7 </span>A purely decorative image that doesn't add any information</h6>
+  <h6 id="a-purely-decorative-image-that-doesn't-add-any-information"><span class="secno">4.8.1.1.7 </span>A purely decorative image that doesn't add any information</h6>
 
   <p>If an image is decorative but isn't especially page-specific
   &#8212; for example an image that forms part of a site-wide design
   scheme &#8212; the image should be specified in the site's CSS, not
   in the markup of the document.</p>
 
-
+<!--FORK-->
   <p>Exceptions to this rule, in cases where CSS cannot be used to
   display an entirely decorative image, are covered by the HTML5:
   Techniques for providing useful text alternatives. <a href="references.html#refsHTMLALTTECHS">[HTMLALTTECHS]</a>
   Authors are also encouraged to consult the Web Content Accessibility
   Guidelines 2.0 for more detailed information and acceptable
   techniques. <a href="references.html#refsWCAG">[WCAG]</a></p>
+<!--FORK-->
 
+  <!-- The above paragraph is omitted in the WHATWG copy and replaced
+  with the explicit requirement below because accessibility is better
+  served by having authors get all their information from one place,
+  instead of requiring them to read multiple (contradictory) documents. -->
 
-  
-
+<!--FORK-->
 
 
   <h6 id="a-group-of-images-that-form-a-single-larger-picture-with-no-links"><span class="secno">4.8.1.1.8 </span>A group of images that form a single larger picture with no links</h6>
@@ -1588,7 +1622,7 @@
      with each year: 624%, 75%, 138%, 40%, 35%, 9%, 21%"&gt;</strong></pre>
 
      <p>Note that "sales graph" would be inadequate alternative text
-     for a sales graph. Text that would be a good <em>caption</em> is
+     for a sales graph. Text that would be a good <em><a href="the-caption-element.html#the-caption-element">caption</a></em> is
      not generally suitable as replacement text.</p>
 
     </div>
@@ -1683,14 +1717,15 @@
     attribute may be omitted, but one of the following conditions must
     be met as well:</p>
 
-    <ul><li id="figcaption-as-alt-condition">The <code><a href="#the-img-element">img</a></code> element
+    <ul><!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' --><!--FORK--><!--TITLE--><li id="figcaption-as-alt-condition">The <code><a href="#the-img-element">img</a></code> element
      is in a <code><a href="the-figure-element.html#the-figure-element">figure</a></code> element that contains a
      <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element that contains content other than
      <a href="content-models.html#inter-element-whitespace">inter-element whitespace</a>, and, ignoring the
      <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element and its descendants, the
-     <code><a href="the-figure-element.html#the-figure-element">figure</a></code> element has no <code><a href="infrastructure.html#text">Text</a></code> node
+     <code><a href="the-figure-element.html#the-figure-element">figure</a></code> element has no <code><a href="infrastructure.html#text-0">Text</a></code> node
      descendants other than <a href="content-models.html#inter-element-whitespace">inter-element whitespace</a>, and
-     no <a href="content-models.html#embedded-content">embedded content</a> descendant other than the
+     no <a href="content-models.html#embedded-content-2">embedded content</a> descendant other than the
      <code><a href="#the-img-element">img</a></code> element.</li>
 
     </ul><p class="note">Such cases are to be kept to an absolute
@@ -1814,6 +1849,7 @@
   be set to zero.</p>
 
 
+<!--FORK-->
 
 
 
@@ -1860,12 +1896,15 @@
   <p>A conformance checker must report the lack of an <code title="attr-img-alt"><a href="#attr-img-alt">alt</a></code> attribute as an error unless one of
   the conditions listed below applies:</p>
 
-  <ul><li>The <code><a href="#the-img-element">img</a></code> element is in a <code><a href="the-figure-element.html#the-figure-element">figure</a></code>
+  <ul><!-- when editing this list, search for the two other occurrences
+   of 'critical-no-alt' --><!--FORK--><!--TITLE--><li>The <code><a href="#the-img-element">img</a></code> element is in a <code><a href="the-figure-element.html#the-figure-element">figure</a></code>
    element that satisfies <a href="#figcaption-as-alt-condition">the
    conditions described above</a>.</li>
 
-   
+   <!-- the following are additional entries not included in the
+   aforementioned list, as they apply only to conformance checkers -->
 
+<!--FORK-->
 
    <li>The document has a <code><a href="the-meta-element.html#the-meta-element">meta</a></code> element with a <code title="attr-meta-name"><a href="the-meta-element.html#attr-meta-name">name</a></code> attribute whose value is an
    <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> match for the string "<code title="meta-generator"><a href="the-meta-element.html#meta-generator">generator</a></code>". (This case does not

Index: the-del-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-del-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-del-element.html	26 Jun 2012 20:46:56 -0000	1.158
+++ the-del-element.html	22 Aug 2012 10:52:48 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.7.2 The del element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.7.2 The del element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,43 +316,40 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-ins-element.html" title="4.7.1 The ins element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-ins-element.html" title="4.7.1 The ins element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="attributes-common-to-ins-and-del-elements.html" title="4.7.3 Attributes common to ins and del elements" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-ins-element.html">&#8592; 4.7.1 The ins element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="attributes-common-to-ins-and-del-elements.html">4.7.3 Attributes common to ins and del elements &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-del-element"><span class="secno">4.7.2 </span>The <dfn><code>del</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: <a href="content-models.html#phrasing-content">phrasing content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: <a href="content-models.html#phrasing-content-1">phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
-   <dd>Otherwise: where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
+   <dd>Otherwise: where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd><a href="content-models.html#transparent">Transparent</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-mod-cite"><a href="attributes-common-to-ins-and-del-elements.html#attr-mod-cite">cite</a></code></dd>
    <dd><code title="attr-mod-datetime"><a href="attributes-common-to-ins-and-del-elements.html#attr-mod-datetime">datetime</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses the <code><a href="attributes-common-to-ins-and-del-elements.html#htmlmodelement">HTMLModElement</a></code> interface.</dd>
-  </dl><p>The <code><a href="#the-del-element">del</a></code> element <a href="rendering.html#represents">represents</a> a removal
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-del-element">del</a></code> element <a href="rendering.html#represents">represents</a> a removal
   from the document.</p>
 
   <p><code><a href="#the-del-element">del</a></code> elements should not cross <a href="content-models.html#paragraph" title="paragraph">implied paragraph</a> boundaries.</p>

Index: the-option-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-option-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-option-element.html	26 Jun 2012 20:47:01 -0000	1.158
+++ the-option-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.12 The option element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.12 The option element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-optgroup-element.html" title="4.10.11 The optgroup element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-optgroup-element.html" title="4.10.11 The optgroup element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-textarea-element.html" title="4.10.13 The textarea element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-optgroup-element.html">&#8592; 4.10.11 The optgroup element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-textarea-element.html">4.10.13 The textarea element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-option-element"><span class="secno">4.10.12 </span>The <dfn><code>option</code></dfn> element</h4>
 
@@ -352,7 +349,7 @@
    <dd><code title="attr-option-label"><a href="#attr-option-label">label</a></code></dd>
    <dd><code title="attr-option-selected"><a href="#attr-option-selected">selected</a></code></dd>
    <dd><code title="attr-option-value"><a href="#attr-option-value">value</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">[NamedConstructor=<a href="#dom-option" title="dom-option">Option</a>(),
  NamedConstructor=<a href="#dom-option-t" title="dom-option-t">Option</a>(DOMString text),
@@ -371,7 +368,7 @@
   readonly attribute long <a href="#dom-option-index" title="dom-option-index">index</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-option-element">option</a></code> element <a href="rendering.html#represents">represents</a> an option
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-option-element">option</a></code> element <a href="rendering.html#represents">represents</a> an option
   in a <code><a href="the-select-element.html#the-select-element">select</a></code> element or as part of a list of suggestions
   in a <code><a href="the-datalist-element.html#the-datalist-element">datalist</a></code> element.</p>
 
@@ -431,7 +428,7 @@
   initial <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> state when
   using the constructor.</p>
 
-  
+  <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/604 -->
 
   </div>
 
@@ -450,7 +447,7 @@
 
   </div>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">option</var> . <code title="dom-option-selected"><a href="#dom-option-selected">selected</a></code></dt>
 
    <dd>
@@ -551,7 +548,7 @@
   these must return a new <code><a href="#htmloptionelement">HTMLOptionElement</a></code> object (a new
   <code><a href="#the-option-element">option</a></code> element). If the <var title="">text</var>
   argument is present, the new object must have as its only child a
-  <code><a href="infrastructure.html#text">Text</a></code> node whose data is the value of that argument. If
+  <code><a href="infrastructure.html#text-0">Text</a></code> node whose data is the value of that argument. If
   the <var title="">value</var> argument is present, the new object
   must have a <code title="attr-option-value"><a href="#attr-option-value">value</a></code> attribute
   set with the value of the argument as its value. If the <var title="">defaultSelected</var> argument is present and true, the new
@@ -566,7 +563,7 @@
   invoked constructor is found.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
 
 

Index: the-figcaption-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-figcaption-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-figcaption-element.html	26 Jun 2012 20:46:57 -0000	1.158
+++ the-figcaption-element.html	22 Aug 2012 10:52:49 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.5.12 The figcaption element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.5.12 The figcaption element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-figure-element.html" title="4.5.11 The figure element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-figure-element.html" title="4.5.11 The figure element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-div-element.html" title="4.5.13 The div element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-figure-element.html">&#8592; 4.5.11 The figure element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-div-element.html">4.5.13 The div element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-figcaption-element"><span class="secno">4.5.12 </span>The <dfn><code>figcaption</code></dfn> element</h4>
 
@@ -343,12 +340,12 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As the first or last child of a <code><a href="the-figure-element.html#the-figure-element">figure</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-figcaption-element">figcaption</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-figcaption-element">figcaption</a></code> element <a href="rendering.html#represents">represents</a> a
   caption or legend for the rest of the contents of the
   <code><a href="#the-figcaption-element">figcaption</a></code> element's parent <code><a href="the-figure-element.html#the-figure-element">figure</a></code>
   element<span class="impl">, if any</span>.</p>

Index: the-hr-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-hr-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-hr-element.html	26 Jun 2012 20:46:58 -0000	1.158
+++ the-hr-element.html	22 Aug 2012 10:52:50 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.5.2 The hr element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.5.2 The hr element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-p-element.html" title="4.5.1 The p element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-p-element.html" title="4.5.1 The p element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-pre-element.html" title="4.5.3 The pre element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-p-element.html">&#8592; 4.5.1 The p element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-pre-element.html">4.5.3 The pre element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-hr-element"><span class="secno">4.5.2 </span>The <dfn><code>hr</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd>Empty.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmlhrelement">HTMLHRElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre>
    </dd>
-  </dl><p>The <code><a href="#the-hr-element">hr</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-hr-element">hr</a></code> element <a href="rendering.html#represents">represents</a> a
   <a href="content-models.html#paragraph">paragraph</a>-level thematic break, e.g. a scene change in
   a story, or a transition to another topic within a section of a
   reference book.</p>
@@ -365,7 +362,7 @@
  &lt;h1&gt;Communication&lt;/h1&gt;
  &lt;p&gt;There are various methods of communication. This section
  covers a few of the important ones used by the project.&lt;/p&gt;
- <strong>&lt;hr&gt;</strong>
+ <strong><a href="#the-hr-element">&lt;hr&gt;</a></strong>
  &lt;p&gt;Communication stones seem to come in pairs and have mysterious
  properties:&lt;/p&gt;
  &lt;ul&gt;
@@ -376,10 +373,10 @@
   &lt;li&gt;If both stones are used with another device, the
   consciousnesses switch bodies.&lt;/li&gt;
  &lt;/ul&gt;
- <strong>&lt;hr&gt;</strong>
+ <strong><a href="#the-hr-element">&lt;hr&gt;</a></strong>
  &lt;p&gt;Radios use the electromagnetic spectrum in the meter range and
  longer.&lt;/p&gt;
- <strong>&lt;hr&gt;</strong>
+ <strong><a href="#the-hr-element">&lt;hr&gt;</a></strong>
  &lt;p&gt;Signal flares use the electromagnetic spectrum in the
  nanometer range.&lt;/p&gt;
 &lt;/section&gt;
@@ -392,13 +389,13 @@
   &lt;dt&gt;Soup&lt;/dt&gt;
   &lt;dd&gt;One bowl per day&lt;/dd&gt;
  &lt;/dl&gt;
- <strong>&lt;hr&gt;</strong>
+ <strong><a href="#the-hr-element">&lt;hr&gt;</a></strong>
  &lt;p&gt;Cooking is done by the chefs on a set rotation.&lt;/p&gt;
 &lt;/section&gt;</pre>
 
    <p>There is no need for an <code><a href="#the-hr-element">hr</a></code> element between the
    sections themselves, since the <code><a href="the-section-element.html#the-section-element">section</a></code> elements and
-   the <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code> elements imply thematic changes themselves.</p>
+   the <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h1</a></code> elements imply thematic changes themselves.</p>
 
   </div>
 
@@ -411,7 +408,7 @@
    the second and third paragraphs, is here represented using the
    <code><a href="#the-hr-element">hr</a></code> element.</p>
 
-   
+   <!-- ISBN 1-4050-0020-1; bottom of page 14 -->
 
    <pre lang="en-GB">&lt;p&gt;Dudley was ninety-two, in his second life, and fast approaching
 time for another rejuvenation. Despite his body having the physical
@@ -422,7 +419,7 @@
 &lt;p&gt;&lt;i&gt;Maybe it won't be that bad&lt;/i&gt;, he told himself. The lie was
 comforting enough to get him through the rest of the night's
 shift.&lt;/p&gt;
-<strong>&lt;hr&gt;</strong>
+<strong><a href="#the-hr-element">&lt;hr&gt;</a></strong>
 &lt;p&gt;The Carlton AllLander drove Dudley home just after dawn. Like the
 astronomer, the vehicle was old and worn, but perfectly capable of
 doing its job. It had a cheap diesel engine, common enough on a

Index: the-summary-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-summary-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-summary-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-summary-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.11.2 The summary element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.11.2 The summary element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-details-element.html" title="4.11.1 The details element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-details-element.html" title="4.11.1 The details element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-command-element.html" title="4.11.3 The command element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-details-element.html">&#8592; 4.11.1 The details element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-command-element.html">4.11.3 The command element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-summary-element"><span class="secno">4.11.2 </span>The <dfn><code>summary</code></dfn> element</h4>
 
@@ -343,12 +340,12 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As the first child of a <code><a href="the-details-element.html#the-details-element">details</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-summary-element">summary</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-summary-element">summary</a></code> element <a href="rendering.html#represents">represents</a> a
   summary, caption, or legend for the rest of the contents of the
   <code><a href="#the-summary-element">summary</a></code> element's parent <code><a href="the-details-element.html#the-details-element">details</a></code>
   element<span class="impl">, if any</span>.</p>

Index: the-small-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-small-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-small-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-small-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.4 The small element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.4 The small element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-strong-element.html" title="4.6.3 The strong element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-strong-element.html" title="4.6.3 The strong element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-s-element.html" title="4.6.5 The s element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-strong-element.html">&#8592; 4.6.3 The strong element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-s-element.html">4.6.5 The s element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-small-element"><span class="secno">4.6.4 </span>The <dfn><code>small</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-small-element">small</a></code> element <a href="rendering.html#represents">represents</a> side
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-small-element">small</a></code> element <a href="rendering.html#represents">represents</a> side
   comments such as small print.</p>
 
   <p class="note">Small print typically features disclaimers, caveats,

Index: the-kbd-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-kbd-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-kbd-element.html	26 Jun 2012 20:46:59 -0000	1.158
+++ the-kbd-element.html	22 Aug 2012 10:52:51 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.14 The kbd element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.14 The kbd element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-samp-element.html" title="4.6.13 The samp element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-samp-element.html" title="4.6.13 The samp element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-sub-and-sup-elements.html" title="4.6.15 The sub and sup elements" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-samp-element.html">&#8592; 4.6.13 The samp element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-sub-and-sup-elements.html">4.6.15 The sub and sup elements &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-kbd-element"><span class="secno">4.6.14 </span>The <dfn><code>kbd</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-kbd-element">kbd</a></code> element <a href="rendering.html#represents">represents</a> user input
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-kbd-element">kbd</a></code> element <a href="rendering.html#represents">represents</a> user input
   (typically keyboard input, although it may also be used to represent
   other input, such as voice commands).</p>
 

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5697
retrieving revision 1.5698
diff -u -d -r1.5697 -r1.5698
--- Overview.html	26 Jun 2012 19:58:48 -0000	1.5697
+++ Overview.html	22 Aug 2012 10:52:28 -0000	1.5698
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html lang="en-US-x-Hixie"><title>HTML5</title><style type="text/css">
+<!DOCTYPE html><html lang=en-US-x-Hixie><head><title>HTML5</title><style type=text/css>
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -192,7 +192,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href=http://www.w3.org/StyleSheets/TR/W3C-ED rel=stylesheet type=text/css><style type=text/css>
[...117374 lines suppressed...]
+ v2  * make the spec consistent about whether the word "algorithm" is part of
+       an algorithm's name or not ("</dfn> algorithm", "</span> algorithm")
+ v2  * make the spec more consistent about its use of "hexadecimal"
+       and "base-sixteen", the order that 0-9 A-Z a-z is mentioned,
+       and the detail to which the spec explains how to interpret a
+       string as a hexadecimal number.
+ v2  * become more consistent about what markup we use to mark up
+       productions (nothing? <i>? <code>?)
+ v2  * use <code>Document</code> consistently instead of 'document'.
+ v2  * be clearer about arrays/lists/collections being zero-based
+       despite using the term "/index/th".
+ v2  * use the sample widgets:
+          <li><img alt="A text field with editable sections for each
+          value, with a button to pop up a dialog showing a calendar or
+          clock." src="sample-datetime-ui-2"></li>
+          <li><img alt="A calendar grid with a clock in the upper right
+          hand corner." src="sample-datetime-ui-3"></li>
+-->
+ </body></html>
\ No newline at end of file

--- single-page.html DELETED ---

Index: the-end.html
===================================================================
RCS file: /sources/public/html5/spec/the-end.html,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- the-end.html	26 Jun 2012 19:46:45 -0000	1.153
+++ the-end.html	22 Aug 2012 10:52:49 -0000	1.154
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>8.2.6 The end &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>8.2.6 The end &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,23 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="tree-construction.html" title="8.2.5 Tree construction" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="tokenization.html" title="8.2.4 Tokenization" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="named-character-references.html" title="8.5 Named character references" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
-   <a href="tree-construction.html">&#8592; 8.2.5 Tree construction</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+  <div class="prev_next">
+   <a href="tokenization.html">&#8592; 8.2.4 Tokenization</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="named-character-references.html">8.5 Named character references &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="the-end.html#the-end"><span class="secno">8.2.6 </span>The end</a></li><li><a href="the-end.html#coercing-an-html-dom-into-an-infoset"><span class="secno">8.2.7 </span>Coercing an HTML DOM into an infoset</a></li><li><a href="the-end.html#an-introduction-to-error-handling-and-strange-cases-in-the-parser"><span class="secno">8.2.8 </span>An introduction to error handling and strange cases in the parser</a>
-      <ol><li><a href="the-end.html#misnested-tags:-b-i-b-i"><span class="secno">8.2.8.1 </span>Misnested tags: &lt;b&gt;&lt;i&gt;&lt;/b&gt;&lt;/i&gt;</a></li><li><a href="the-end.html#misnested-tags:-b-p-b-p"><span class="secno">8.2.8.2 </span>Misnested tags: &lt;b&gt;&lt;p&gt;&lt;/b&gt;&lt;/p&gt;</a></li><li><a href="the-end.html#unexpected-markup-in-tables"><span class="secno">8.2.8.3 </span>Unexpected markup in tables</a></li><li><a href="the-end.html#scripts-that-modify-the-page-as-it-is-being-parsed"><span class="secno">8.2.8.4 </span>Scripts that modify the page as it is being parsed</a></li><li><a href="the-end.html#the-execution-of-scripts-that-are-moving-across-multiple-documents"><span class="secno">8.2.8.5 </span>The execution of scripts that are moving across multiple documents</a></li><li><a href="the-end.html#unclosed-formatting-elements"><span class="secno">8.2.8.6 </span>Unclosed formatting elements</a></li></ol></li></ol></li><li><a href="the-end.html#serializing-html-fragments"><span class="secno">8.3 </span>Serializing HTML fragments</a></li><li><a href="the-end.html#parsing-html-fragments"><span class="secno">8.4 </span>Parsing HTML fragments</a></li></ol></li></ol></nav>
+      <ol><li><a href="the-end.html#misnested-tags:-b-i-/b-/i"><span class="secno">8.2.8.1 </span>Misnested tags: &lt;b&gt;&lt;i&gt;&lt;/b&gt;&lt;/i&gt;</a></li><li><a href="the-end.html#misnested-tags:-b-p-/b-/p"><span class="secno">8.2.8.2 </span>Misnested tags: &lt;b&gt;&lt;p&gt;&lt;/b&gt;&lt;/p&gt;</a></li><li><a href="the-end.html#unexpected-markup-in-tables"><span class="secno">8.2.8.3 </span>Unexpected markup in tables</a></li><li><a href="the-end.html#scripts-that-modify-the-page-as-it-is-being-parsed"><span class="secno">8.2.8.4 </span>Scripts that modify the page as it is being parsed</a></li><li><a href="the-end.html#the-execution-of-scripts-that-are-moving-across-multiple-documents"><span class="secno">8.2.8.5 </span>The execution of scripts that are moving across multiple documents</a></li><li><a href="the-end.html#unclosed-formatting-elements"><span class="secno">8.2.8.6 </span>Unclosed formatting elements</a></li></ol></li></ol></li><li><a href="the-end.html#serializing-html-fragments"><span class="secno">8.3 </span>Serializing HTML fragments</a></li><li><a href="the-end.html#parsing-html-fragments"><span class="secno">8.4 </span>Parsing HTML fragments</a></li></ol></li></ol></div>
 
   <div class="impl">
 
@@ -343,8 +341,8 @@
   <p>Once the user agent <dfn id="stop-parsing" title="stop parsing">stops parsing</dfn>
   the document, the user agent must run the following steps:</p>
 
-  <ol><li><p>Set the <a href="dom.html#current-document-readiness">current document readiness</a> to
-   "<code title="">interactive</code>"  and
+  <ol><!-- this happens as part of one of the tasks that runs the parser --><li><p>Set the <a href="dom.html#current-document-readiness">current document readiness</a> to
+   "<code title="">interactive</code>" <!-- this also synchronously fires an event --> and
    the <a href="parsing.html#insertion-point">insertion point</a> to undefined.</p></li>
 
    <li><p>Pop <em>all</em> the nodes off the <a href="parsing.html#stack-of-open-elements">stack of open
@@ -383,14 +381,20 @@
    <li><p><a href="webappapis.html#spin-the-event-loop">Spin the event loop</a> until the <a href="the-script-element.html#set-of-scripts-that-will-execute-as-soon-as-possible">set of
    scripts that will execute as soon as possible</a> and the
    <a href="the-script-element.html#list-of-scripts-that-will-execute-in-order-as-soon-as-possible">list of scripts that will execute in order as soon as
-   possible</a> are empty.</p></li> 
+   possible</a> are empty.</p></li> <!-- this step is not redundant
+   with the next one, since <script> nodes delay the load event of the
+   document they are in, but they might change document between being
+   added to one document's set/list and executing those scripts, so
+   they might be delaying another document but still be in this
+   document's set/list. -->
 
    <li><p><a href="webappapis.html#spin-the-event-loop">Spin the event loop</a> until there is nothing that
    <dfn id="delay-the-load-event" title="delay the load event">delays the load event</dfn> in
    the <code><a href="dom.html#document">Document</a></code>.</p></li>
 
    <li><p><a href="webappapis.html#queue-a-task">Queue a task</a> to set the <a href="dom.html#current-document-readiness">current document
-   readiness</a> to "<code title="">complete</code>", and then, if the
+   readiness</a> to "<code title="">complete</code>"<!-- this also
+   fires an event synchronously during the task -->, and then, if the
    <code><a href="dom.html#document">Document</a></code> is in a <a href="browsers.html#browsing-context">browsing context</a>, to
    <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="dom.html#document">Document</a></code>'s
    <code><a href="browsers.html#window">Window</a></code> object, but with its <code title="dom-event-target"><a href="infrastructure.html#dom-event-target">target</a></code> set to the
@@ -435,7 +439,12 @@
    <li><p>Pop <em>all</em> the nodes off the <a href="parsing.html#stack-of-open-elements">stack of open
    elements</a>.</p></li>
 
-   
+   <!-- anything else? this is things that happen when you call
+   document.open() on a document that's still being parsed, or when
+   you navigate a document that's still parsing, or navigate the
+   parent of a frame with a document that's still parsing, or the user
+   hits "stop". Should the pending scripts be blown away or anything?
+   -->
 
   </ol><p>Except where otherwise specified, the <a href="webappapis.html#task-source">task source</a>
   for the <a href="webappapis.html#concept-task" title="concept-task">tasks</a> mentioned in this
@@ -486,7 +495,7 @@
 
   <p class="example">As another example, consider the attribute
   <code>xlink:href</code>. Used on a MathML element, it becomes, after
-  being <a href="tree-construction.html#adjust-foreign-attributes" title="adjust foreign attributes">adjusted</a>, an
+  being <a href="tokenization.html#adjust-foreign-attributes" title="adjust foreign attributes">adjusted</a>, an
   attribute with a prefix "<code title="">xlink</code>" and a local
   name "<code title="">href</code>". However, used on an HTML element,
   it becomes an attribute with no prefix and the local name "<code title="">xlink:href</code>", which is not a valid NCName, and thus
@@ -496,7 +505,7 @@
   <p class="note">The resulting names from this conversion
   conveniently can't clash with any attribute generated by the
   <a href="parsing.html#html-parser">HTML parser</a>, since those are all either lowercase or
-  those listed in the <a href="tree-construction.html#adjust-foreign-attributes">adjust foreign attributes</a>
+  those listed in the <a href="tokenization.html#adjust-foreign-attributes">adjust foreign attributes</a>
   algorithm's table.</p>
 
   <p>If the XML API restricts comments from having two consecutive
@@ -537,15 +546,13 @@
   <h4 id="an-introduction-to-error-handling-and-strange-cases-in-the-parser"><span class="secno">8.2.8 </span>An introduction to error handling and strange cases in the parser</h4>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>This section examines some erroneous markup and discusses how
   the <a href="parsing.html#html-parser">HTML parser</a> handles these cases.</p>
 
 
-  <h5 id="misnested-tags:-b-i-b-i"><span class="secno">8.2.8.1 </span>Misnested tags: &lt;b&gt;&lt;i&gt;&lt;/b&gt;&lt;/i&gt;</h5>
+  <h5 id="misnested-tags:-b-i-/b-/i"><span class="secno">8.2.8.1 </span>Misnested tags: &lt;b&gt;&lt;i&gt;&lt;/b&gt;&lt;/i&gt;</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>The most-often discussed example of erroneous markup is as
   follows:</p>
 
@@ -554,13 +561,13 @@
   <p>The parsing of this markup is straightforward up to the "3". At
   this point, the DOM looks like this:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li><li class="t1"><code><a href="the-i-element.html#the-i-element">i</a></code><ul><li class="t3"><code>#text</code>: <span title="">3</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>Here, the <a href="parsing.html#stack-of-open-elements">stack of open elements</a> has five elements
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li><li class="t1"><code><a href="the-i-element.html#the-i-element">i</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">3</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>Here, the <a href="parsing.html#stack-of-open-elements">stack of open elements</a> has five elements
   on it: <code><a href="the-html-element.html#the-html-element">html</a></code>, <code><a href="the-body-element.html#the-body-element">body</a></code>, <code><a href="the-p-element.html#the-p-element">p</a></code>,
   <code><a href="the-b-element.html#the-b-element">b</a></code>, and <code><a href="the-i-element.html#the-i-element">i</a></code>. The <a href="parsing.html#list-of-active-formatting-elements">list of active
   formatting elements</a> just has two: <code><a href="the-b-element.html#the-b-element">b</a></code> and
-  <code><a href="the-i-element.html#the-i-element">i</a></code>. The <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in body</a>".</p>
+  <code><a href="the-i-element.html#the-i-element">i</a></code>. The <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in body</a>".</p>
 
-  <p>Upon receiving the end tag token with the tag name "b", the "<a href="tree-construction.html#adoptionAgency">adoption agency algorithm</a>" is
+  <p>Upon receiving the end tag token with the tag name "b", the "<a href="tokenization.html#adoptionAgency">adoption agency algorithm</a>" is
   invoked. This is a simple case, in that the <var title="">formatting
   element</var> is the <code><a href="the-b-element.html#the-b-element">b</a></code> element, and there is no
   <var title="">furthest block</var>. Thus, the <a href="parsing.html#stack-of-open-elements">stack of open
@@ -572,30 +579,29 @@
   <p>The next token is a character ("4"), triggers the <a href="parsing.html#reconstruct-the-active-formatting-elements" title="reconstruct the active formatting elements">reconstruction of
   the active formatting elements</a>, in this case just the
   <code><a href="the-i-element.html#the-i-element">i</a></code> element. A new <code><a href="the-i-element.html#the-i-element">i</a></code> element is thus created
-  for the "4" <code><a href="infrastructure.html#text">Text</a></code> node. After the end tag token for the
-  "i" is also received, and the "5" <code><a href="infrastructure.html#text">Text</a></code> node is
+  for the "4" <code><a href="infrastructure.html#text-0">Text</a></code> node. After the end tag token for the
+  "i" is also received, and the "5" <code><a href="infrastructure.html#text-0">Text</a></code> node is
   inserted, the DOM looks as follows:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li><li class="t1"><code><a href="the-i-element.html#the-i-element">i</a></code><ul><li class="t3"><code>#text</code>: <span title="">3</span></li></ul></li></ul></li><li class="t1"><code><a href="the-i-element.html#the-i-element">i</a></code><ul><li class="t3"><code>#text</code>: <span title="">4</span></li></ul></li><li class="t3"><code>#text</code>: <span title="">5</span></li></ul></li></ul></li></ul></li></ul><h5 id="misnested-tags:-b-p-b-p"><span class="secno">8.2.8.2 </span>Misnested tags: &lt;b&gt;&lt;p&gt;&lt;/b&gt;&lt;/p&gt;</h5>
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li><li class="t1"><code><a href="the-i-element.html#the-i-element">i</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">3</span></li></ul></li></ul></li><li class="t1"><code><a href="the-i-element.html#the-i-element">i</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">4</span></li></ul></li><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">5</span></li></ul></li></ul></li></ul></li></ul><h5 id="misnested-tags:-b-p-/b-/p"><span class="secno">8.2.8.2 </span>Misnested tags: &lt;b&gt;&lt;p&gt;&lt;/b&gt;&lt;/p&gt;</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>A case similar to the previous one is the following:</p>
 
   <pre>&lt;b&gt;1&lt;p&gt;2&lt;/b&gt;3&lt;/p&gt;</pre>
 
   <p>Up to the "2" the parsing here is straightforward:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li></ul></li></ul></li></ul></li></ul></li></ul><p>The interesting part is when the end tag token with the tag name
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li></ul></li></ul></li></ul></li></ul></li></ul><p>The interesting part is when the end tag token with the tag name
   "b" is parsed.</p>
 
   <p>Before that token is seen, the <a href="parsing.html#stack-of-open-elements">stack of open
   elements</a> has four elements on it: <code><a href="the-html-element.html#the-html-element">html</a></code>,
   <code><a href="the-body-element.html#the-body-element">body</a></code>, <code><a href="the-b-element.html#the-b-element">b</a></code>, and <code><a href="the-p-element.html#the-p-element">p</a></code>. The
   <a href="parsing.html#list-of-active-formatting-elements">list of active formatting elements</a> just has the one:
-  <code><a href="the-b-element.html#the-b-element">b</a></code>. The <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in body</a>".</p>
+  <code><a href="the-b-element.html#the-b-element">b</a></code>. The <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in body</a>".</p>
 
-  <p>Upon receiving the end tag token with the tag name "b", the "<a href="tree-construction.html#adoptionAgency">adoption agency algorithm</a>" is invoked, as
+  <p>Upon receiving the end tag token with the tag name "b", the "<a href="tokenization.html#adoptionAgency">adoption agency algorithm</a>" is invoked, as
   in the previous example. However, in this case, there <em>is</em> a
   <var title="">furthest block</var>, namely the <code><a href="the-p-element.html#the-p-element">p</a></code> element. Thus,
   this time the adoption agency algorithm isn't skipped over.</p>
@@ -614,29 +620,28 @@
   <p>The <var title="">last node</var> gets appended (moved) to the
   <var title="">common ancestor</var>, so that the DOM looks like:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li></ul></li></ul></li></ul></li></ul><p>A new <code><a href="the-b-element.html#the-b-element">b</a></code> element is created, and the children of the
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li></ul></li></ul></li></ul></li></ul><p>A new <code><a href="the-b-element.html#the-b-element">b</a></code> element is created, and the children of the
   <code><a href="the-p-element.html#the-p-element">p</a></code> element are moved to it:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code></li></ul></li></ul></li></ul><ul class="domTree"><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li></ul></li></ul><p>Finally, the new <code><a href="the-b-element.html#the-b-element">b</a></code> element is appended to the
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code></li></ul></li></ul></li></ul><ul class="domTree"><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li></ul></li></ul><p>Finally, the new <code><a href="the-b-element.html#the-b-element">b</a></code> element is appended to the
   <code><a href="the-p-element.html#the-p-element">p</a></code> element, so that the DOM looks like:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li></ul></li></ul></li></ul></li></ul></li></ul><p>The <code><a href="the-b-element.html#the-b-element">b</a></code> element is removed from the <a href="parsing.html#list-of-active-formatting-elements">list of
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li></ul></li></ul></li></ul></li></ul></li></ul><p>The <code><a href="the-b-element.html#the-b-element">b</a></code> element is removed from the <a href="parsing.html#list-of-active-formatting-elements">list of
   active formatting elements</a> and the <a href="parsing.html#stack-of-open-elements">stack of open
   elements</a>, so that when the "3" is parsed, it is appended to
   the <code><a href="the-p-element.html#the-p-element">p</a></code> element:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">2</span></li></ul></li><li class="t3"><code>#text</code>: <span title="">3</span></li></ul></li></ul></li></ul></li></ul><h5 id="unexpected-markup-in-tables"><span class="secno">8.2.8.3 </span>Unexpected markup in tables</h5>
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">1</span></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">2</span></li></ul></li><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">3</span></li></ul></li></ul></li></ul></li></ul><h5 id="unexpected-markup-in-tables"><span class="secno">8.2.8.3 </span>Unexpected markup in tables</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>Error handling in tables is, for historical reasons, especially
   strange. For example, consider the following markup:</p>
 
-  <pre>&lt;table&gt;<strong>&lt;b&gt;</strong>&lt;tr&gt;&lt;td&gt;aaa&lt;/td&gt;&lt;/tr&gt;<strong>bbb</strong>&lt;/table&gt;ccc</pre>
+  <pre>&lt;table&gt;<strong><a href="the-b-element.html#the-b-element">&lt;b&gt;</a></strong>&lt;tr&gt;&lt;td&gt;aaa&lt;/td&gt;&lt;/tr&gt;<strong>bbb</strong>&lt;/table&gt;ccc</pre>
 
   <p>The highlighted <code><a href="the-b-element.html#the-b-element">b</a></code> element start tag is not allowed
   directly inside a table like that, and the parser handles this case
-  by placing the element <em>before</em> the table. (This is called <i title="foster parent"><a href="tree-construction.html#foster-parent">foster parenting</a></i>.) This can be seen by
+  by placing the element <em>before</em> the table. (This is called <i title="foster parent"><a href="tokenization.html#foster-parent">foster parenting</a></i>.) This can be seen by
   examining the DOM tree as it stands just after the
   <code><a href="the-table-element.html#the-table-element">table</a></code> element's start tag has been seen:</p>
 
@@ -648,15 +653,15 @@
   <code><a href="the-table-element.html#the-table-element">table</a></code>, and <code><a href="the-b-element.html#the-b-element">b</a></code> (in that order, despite the
   resulting DOM tree); the <a href="parsing.html#list-of-active-formatting-elements">list of active formatting
   elements</a> just has the <code><a href="the-b-element.html#the-b-element">b</a></code> element in it; and the
-  <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tree-construction.html#parsing-main-intable" title="insertion mode: in
+  <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tokenization.html#parsing-main-intable" title="insertion mode: in
   table">in table</a>".</p>
 
   <p>The <code><a href="the-tr-element.html#the-tr-element">tr</a></code> start tag causes the <code><a href="the-b-element.html#the-b-element">b</a></code> element
   to be popped off the stack and a <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> start tag to be
   implied; the <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> and <code><a href="the-tr-element.html#the-tr-element">tr</a></code> elements are
   then handled in a rather straight-forward manner, taking the parser
-  through the "<a href="tree-construction.html#parsing-main-intbody" title="insertion mode: in table body">in table
-  body</a>" and "<a href="tree-construction.html#parsing-main-intr" title="insertion mode: in row">in
+  through the "<a href="tokenization.html#parsing-main-intbody" title="insertion mode: in table body">in table
+  body</a>" and "<a href="tokenization.html#parsing-main-intr" title="insertion mode: in row">in
   row</a>" insertion modes, after which the DOM looks as
   follows:</p>
 
@@ -664,50 +669,50 @@
   elements <code><a href="the-html-element.html#the-html-element">html</a></code>, <code><a href="the-body-element.html#the-body-element">body</a></code>, <code><a href="the-table-element.html#the-table-element">table</a></code>,
   <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code>, and <code><a href="the-tr-element.html#the-tr-element">tr</a></code>; the <a href="parsing.html#list-of-active-formatting-elements">list of active
   formatting elements</a> still has the <code><a href="the-b-element.html#the-b-element">b</a></code> element in
-  it; and the <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tree-construction.html#parsing-main-intr" title="insertion
+  it; and the <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tokenization.html#parsing-main-intr" title="insertion
   mode: in row">in row</a>".</p>
 
   <p>The <code><a href="the-td-element.html#the-td-element">td</a></code> element start tag token, after putting a
   <code><a href="the-td-element.html#the-td-element">td</a></code> element on the tree, puts a marker on the <a href="parsing.html#list-of-active-formatting-elements">list
-  of active formatting elements</a> (it also switches to the "<a href="tree-construction.html#parsing-main-intd" title="insertion mode: in cell">in cell</a>" <a href="parsing.html#insertion-mode">insertion
+  of active formatting elements</a> (it also switches to the "<a href="tokenization.html#parsing-main-intd" title="insertion mode: in cell">in cell</a>" <a href="parsing.html#insertion-mode">insertion
   mode</a>).</p>
 
   <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>The marker means that when the "aaa" character tokens are seen,
-  no <code><a href="the-b-element.html#the-b-element">b</a></code> element is created to hold the resulting <code><a href="infrastructure.html#text">Text</a></code> node:</p>
+  no <code><a href="the-b-element.html#the-b-element">b</a></code> element is created to hold the resulting <code><a href="infrastructure.html#text-0">Text</a></code> node:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code><ul><li class="t3"><code>#text</code>: <span title="">aaa</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>The end tags are handled in a straight-forward manner; after
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">aaa</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>The end tags are handled in a straight-forward manner; after
   handling them, the <a href="parsing.html#stack-of-open-elements">stack of open elements</a> has on it the
   elements <code><a href="the-html-element.html#the-html-element">html</a></code>, <code><a href="the-body-element.html#the-body-element">body</a></code>, <code><a href="the-table-element.html#the-table-element">table</a></code>,
   and <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code>; the <a href="parsing.html#list-of-active-formatting-elements">list of active formatting
   elements</a> still has the <code><a href="the-b-element.html#the-b-element">b</a></code> element in it (the
   marker having been removed by the "td" end tag token); and the
-  <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tree-construction.html#parsing-main-intbody" title="insertion mode: in
+  <a href="parsing.html#insertion-mode">insertion mode</a> is "<a href="tokenization.html#parsing-main-intbody" title="insertion mode: in
   table body">in table body</a>".</p>
 
   <p>Thus it is that the "bbb" character tokens are found. These
-  trigger the "<a href="tree-construction.html#parsing-main-intabletext" title="insertion mode: in table text">in table
+  trigger the "<a href="tokenization.html#parsing-main-intabletext" title="insertion mode: in table text">in table
   text</a>" insertion mode to be used (with the <a href="parsing.html#original-insertion-mode">original
-  insertion mode</a> set to "<a href="tree-construction.html#parsing-main-intbody" title="insertion mode: in table
+  insertion mode</a> set to "<a href="tokenization.html#parsing-main-intbody" title="insertion mode: in table
   body">in table body</a>"). The character tokens are collected,
   and when the next token (the <code><a href="the-table-element.html#the-table-element">table</a></code> element end tag) is
   seen, they are processed as a group. Since they are not all spaces,
-  they are handled as per the "anything else" rules in the "<a href="tree-construction.html#parsing-main-intable" title="insertion mode: in table">in table</a>" insertion mode,
-  which defer to the "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in
-  body</a>" insertion mode but with <a href="tree-construction.html#foster-parent" title="foster
+  they are handled as per the "anything else" rules in the "<a href="tokenization.html#parsing-main-intable" title="insertion mode: in table">in table</a>" insertion mode,
+  which defer to the "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in
+  body</a>" insertion mode but with <a href="tokenization.html#foster-parent" title="foster
   parent">foster parenting</a>.</p>
 
   <p>When <a href="parsing.html#reconstruct-the-active-formatting-elements" title="reconstruct the active formatting elements">the
   active formatting elements are reconstructed</a>, a
-  <code><a href="the-b-element.html#the-b-element">b</a></code> element is created and <a href="tree-construction.html#foster-parent" title="foster
-  parent">foster parented</a>, and then the "bbb" <code><a href="infrastructure.html#text">Text</a></code>
+  <code><a href="the-b-element.html#the-b-element">b</a></code> element is created and <a href="tokenization.html#foster-parent" title="foster
+  parent">foster parented</a>, and then the "bbb" <code><a href="infrastructure.html#text-0">Text</a></code>
   node is appended to it:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">bbb</span></li></ul></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code><ul><li class="t3"><code>#text</code>: <span title="">aaa</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>The <a href="parsing.html#stack-of-open-elements">stack of open elements</a> has on it the elements
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">bbb</span></li></ul></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">aaa</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>The <a href="parsing.html#stack-of-open-elements">stack of open elements</a> has on it the elements
   <code><a href="the-html-element.html#the-html-element">html</a></code>, <code><a href="the-body-element.html#the-body-element">body</a></code>, <code><a href="the-table-element.html#the-table-element">table</a></code>,
   <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code>, and the new <code><a href="the-b-element.html#the-b-element">b</a></code> (again, note that
   this doesn't match the resulting tree!); the <a href="parsing.html#list-of-active-formatting-elements">list of active
   formatting elements</a> has the new <code><a href="the-b-element.html#the-b-element">b</a></code> element in it;
-  and the <a href="parsing.html#insertion-mode">insertion mode</a> is still "<a href="tree-construction.html#parsing-main-intbody" title="insertion
+  and the <a href="parsing.html#insertion-mode">insertion mode</a> is still "<a href="tokenization.html#parsing-main-intbody" title="insertion
   mode: in table body">in table body</a>".</p>
 
   <p>Had the character tokens been only <a href="common-microsyntaxes.html#space-character" title="space
@@ -723,10 +728,9 @@
   result in yet another <code><a href="the-b-element.html#the-b-element">b</a></code> element being created, this
   time after the table:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">bbb</span></li></ul></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code><ul><li class="t3"><code>#text</code>: <span title="">aaa</span></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">ccc</span></li></ul></li></ul></li></ul></li></ul><h5 id="scripts-that-modify-the-page-as-it-is-being-parsed"><span class="secno">8.2.8.4 </span>Scripts that modify the page as it is being parsed</h5>
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">bbb</span></li></ul></li><li class="t1"><code><a href="the-table-element.html#the-table-element">table</a></code><ul><li class="t1"><code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code><ul><li class="t1"><code><a href="the-tr-element.html#the-tr-element">tr</a></code><ul><li class="t1"><code><a href="the-td-element.html#the-td-element">td</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">aaa</span></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">ccc</span></li></ul></li></ul></li></ul></li></ul><h5 id="scripts-that-modify-the-page-as-it-is-being-parsed"><span class="secno">8.2.8.4 </span>Scripts that modify the page as it is being parsed</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>Consider the following markup, which for this example we will
   assume is the document with <a href="urls.html#url">URL</a> <code title="">http://example.com/inner</code>, being rendered as the
   content of an <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code> in another document with the
@@ -748,8 +752,8 @@
   <p>Up to the first "script" end tag, before the script is parsed,
   the result is relatively straightforward:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-div-element.html#the-div-element">div</a></code> <span class="t2" title=""><code class="attribute name">id</code>="<code class="attribute value"><a href="the-a-element.html#the-a-element">a</a></code>"</span><ul><li class="t3"><code>#text</code>: <span title="">
- </span></li><li class="t1"><code><a href="the-script-element.html#the-script-element">script</a></code><ul><li class="t3"><code>#text</code>: <span title="">var div = document.getElementById('a'); &#9166; parent.document.body.appendChild(div);</span></li></ul></li></ul></li></ul></li></ul></li></ul><p>After the script is parsed, though, the <code><a href="the-div-element.html#the-div-element">div</a></code> element
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-div-element.html#the-div-element">div</a></code> <span class="t2" title=""><code class="attribute name">id</code>="<code class="attribute value"><a href="the-a-element.html#the-a-element">a</a></code>"</span><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">
+ </span></li><li class="t1"><code><a href="the-script-element.html#the-script-element">script</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">var div = document.getElementById('a'); &#9166; parent.document.body.appendChild(div);</span></li></ul></li></ul></li></ul></li></ul></li></ul><p>After the script is parsed, though, the <code><a href="the-div-element.html#the-div-element">div</a></code> element
   and its child <code><a href="the-script-element.html#the-script-element">script</a></code> element are gone:</p>
 
   <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code></li></ul></li></ul><p>They are, at this point, in the <code><a href="dom.html#document">Document</a></code> of the
@@ -769,13 +773,12 @@
   <code><a href="the-div-element.html#the-div-element">div</a></code> element is popped off the stack, and so the next
   <code><a href="the-script-element.html#the-script-element">script</a></code> element is in the inner <code><a href="dom.html#document">Document</a></code>:</p>
 
-  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-script-element.html#the-script-element">script</a></code><ul><li class="t3"><code>#text</code>: <span title="">alert(document.URL);</span></li></ul></li></ul></li></ul></li></ul><p>This script does execute, resulting in an alert that says "http://example.com/inner".</p>
+  <ul class="domTree"><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-script-element.html#the-script-element">script</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">alert(document.URL);</span></li></ul></li></ul></li></ul></li></ul><p>This script does execute, resulting in an alert that says "http://example.com/inner".</p>
 
 
   <h5 id="the-execution-of-scripts-that-are-moving-across-multiple-documents"><span class="secno">8.2.8.5 </span>The execution of scripts that are moving across multiple documents</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>Elaborating on the example in the previous section, consider the
   case where the second <code><a href="the-script-element.html#the-script-element">script</a></code> element is an external
   script (i.e. one with a <code title="attr-script-src"><a href="the-script-element.html#attr-script-src">src</a></code>
@@ -796,7 +799,6 @@
   <h5 id="unclosed-formatting-elements"><span class="secno">8.2.8.6 </span>Unclosed formatting elements</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>The following markup shows how nested formatting elements (such
   as <code><a href="the-b-element.html#the-b-element">b</a></code>) get collected and continue to be applied even as
   the elements they are contained in are closed, but that excessive
@@ -810,7 +812,7 @@
 
   <p>The resulting DOM tree is as follows:</p>
 
-  <ul class="domTree"><li class="t10">DOCTYPE: <code><a href="the-html-element.html#the-html-element">html</a></code></li><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code>#text</code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code>#text</code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul><p>Note how the second <code><a href="the-p-element.html#the-p-element">p</a></code> element in the markup has no
+  <ul class="domTree"><li class="t10">DOCTYPE: <code><a href="the-html-element.html#the-html-element">html</a></code></li><li class="t1"><code><a href="the-html-element.html#the-html-element">html</a></code><ul><li class="t1"><code><a href="the-head-element.html#the-head-element">head</a></code></li><li class="t1"><code><a href="the-body-element.html#the-body-element">body</a></code><ul><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code> <span class="t2" title=""><code class="attribute name">class</code>="<code class="attribute value">x</code>"</span><ul><li class="t1"><code><a href="the-b-element.html#the-b-element">b</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="the-p-element.html#the-p-element">p</a></code><ul><li class="t3"><code><a href="infrastructure.html#text-0">#text</a></code>: <span title="">X&#9166;</span></li></ul></li></ul></li></ul></li></ul><p>Note how the second <code><a href="the-p-element.html#the-p-element">p</a></code> element in the markup has no
   explicit <code><a href="the-b-element.html#the-b-element">b</a></code> elements, but in the resulting DOM, up to
   three of each kind of formatting element (in this case three
   <code><a href="the-b-element.html#the-b-element">b</a></code> elements with the class attribute, and two unadorned
@@ -870,12 +872,14 @@
         <a href="parsing.html#html-parser">HTML parser</a> or <code title="">Document.createElement()</code>, <var title="">tagname</var> will be lowercase.</p>
 
         <p>For each attribute that the element has, append a U+0020
-        SPACE character, the <a href="#attribute-s-serialized-name" title="attribute's serialized
+        SPACE character, the <a href="#attribute's-serialized-name" title="attribute's serialized
         name">attribute's serialized name as described below</a>, a
-        "=" (U+003D) character, a """ (U+0022) character, the attribute's value, <a href="#escapingString" title="escaping a string">escaped as described below</a> in
-        <i>attribute mode</i>, and a second """ (U+0022) character.</p>
+        "=" (U+003D) character, a U+0022 QUOTATION MARK
+        character ("), the attribute's value, <a href="#escapingString" title="escaping a string">escaped as described below</a> in
+        <i>attribute mode</i>, and a second U+0022 QUOTATION MARK
+        character (").</p>
 
-        <p>An <dfn id="attribute-s-serialized-name">attribute's serialized name</dfn> for the purposes
+        <p>An <dfn id="attribute's-serialized-name">attribute's serialized name</dfn> for the purposes
         of the previous paragraph must be determined as follows:</p>
 
         <dl class="switch"><dt>If the attribute has no namespace</dt>
@@ -936,13 +940,15 @@
         <code><a href="the-keygen-element.html#the-keygen-element">keygen</a></code>, <code><a href="the-link-element.html#the-link-element">link</a></code>, <code><a href="the-meta-element.html#the-meta-element">meta</a></code>,
         <code><a href="the-param-element.html#the-param-element">param</a></code>, <code><a href="the-source-element.html#the-source-element">source</a></code>, <code><a href="the-track-element.html#the-track-element">track</a></code> or
         <code><a href="the-wbr-element.html#the-wbr-element">wbr</a></code> element, then continue on to the next child
-        node at this point.</p> 
-        
+        node at this point.</p> <!-- VOIDLIST superset -->
+        <!-- also, i guess: image and isindex, but we don't list those
+        because we don't consider those "elements", more "macros", and
+        thus we should never serialize them -->
 
         <p>If <var title="">current node</var> is a <code><a href="the-pre-element.html#the-pre-element">pre</a></code>,
         <code><a href="the-textarea-element.html#the-textarea-element">textarea</a></code>, or <code><a href="obsolete.html#listing">listing</a></code> element, and
         the first child node of the element, if any, is a
-        <code><a href="infrastructure.html#text">Text</a></code> node whose character data has as its first
+        <code><a href="infrastructure.html#text-0">Text</a></code> node whose character data has as its first
         character a "LF" (U+000A) character, then append a
         "LF" (U+000A) character.</p>
 
@@ -999,8 +1005,7 @@
         LESS-THAN SIGN, U+003F QUESTION MARK), followed by the value
         of <var title="">current node</var>'s <code title="">target</code> IDL attribute, followed by a single
         U+0020 SPACE character, followed by the value of <var title="">current node</var>'s <code title="">data</code> IDL
-        attribute, followed by a single U+003E GREATER-THAN SIGN
-        character (&gt;).</p>
+        attribute, followed by a single "&gt;" (U+003E) character.</p>
 
        </dd>
 
@@ -1047,8 +1052,8 @@
    of serializing the element is parsed, the comment will be truncated
    at that point and the rest of the comment will be interpreted as
    markup. More examples would be making a <code><a href="the-script-element.html#the-script-element">script</a></code> element
-   contain a <code><a href="infrastructure.html#text">Text</a></code> node with the text string
-   "<code>&lt;/script&gt;</code>", or having a <code><a href="the-p-element.html#the-p-element">p</a></code> element
+   contain a <code><a href="infrastructure.html#text-0">Text</a></code> node with the text string
+   "<code><a href="the-script-element.html#the-script-element">&lt;/script&gt;</a></code>", or having a <code><a href="the-p-element.html#the-p-element">p</a></code> element
    that contains a <code><a href="the-ul-element.html#the-ul-element">ul</a></code> element (as the <code><a href="the-ul-element.html#the-ul-element">ul</a></code>
    element's <a href="syntax.html#syntax-start-tag" title="syntax-start-tag">start tag</a> would
    imply the end tag for the <code><a href="the-p-element.html#the-p-element">p</a></code>).</p>

Index: the-dt-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-dt-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-dt-element.html	26 Jun 2012 20:46:56 -0000	1.158
+++ the-dt-element.html	22 Aug 2012 10:52:48 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.5.9 The dt element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.5.9 The dt element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-dl-element.html" title="4.5.8 The dl element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-dl-element.html" title="4.5.8 The dl element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-dd-element.html" title="4.5.10 The dd element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-dl-element.html">&#8592; 4.5.8 The dl element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-dd-element.html">4.5.10 The dd element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-dt-element"><span class="secno">4.5.9 </span>The <dfn><code>dt</code></dfn> element</h4>
 
@@ -343,12 +340,12 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>Before <code><a href="the-dd-element.html#the-dd-element">dd</a></code> or <code><a href="#the-dt-element">dt</a></code> elements inside <code><a href="the-dl-element.html#the-dl-element">dl</a></code> elements.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>, but with no <code><a href="the-header-element.html#the-header-element">header</a></code>, <code><a href="the-footer-element.html#the-footer-element">footer</a></code>, <a href="content-models.html#sectioning-content">sectioning content</a>, or <a href="content-models.html#heading-content">heading content</a> descendants.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>, but with no <code><a href="the-header-element.html#the-header-element">header</a></code>, <code><a href="the-footer-element.html#the-footer-element">footer</a></code>, <a href="content-models.html#sectioning-content-0">sectioning content</a>, or <a href="content-models.html#heading-content-0">heading content</a> descendants.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-dt-element">dt</a></code> element <a href="rendering.html#represents">represents</a> the term, or
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-dt-element">dt</a></code> element <a href="rendering.html#represents">represents</a> the term, or
   name, part of a term-description group in a description list
   (<code><a href="the-dl-element.html#the-dl-element">dl</a></code> element).</p>
 

Index: parsing.html
===================================================================
RCS file: /sources/public/html5/spec/parsing.html,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- parsing.html	26 Jun 2012 19:46:41 -0000	1.164
+++ parsing.html	22 Aug 2012 10:52:44 -0000	1.165
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>8.2 Parsing HTML documents &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>8.2 Parsing HTML documents &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,27 +316,25 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="syntax.html" title="8 The HTML syntax" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="syntax.html" title="8 The HTML syntax" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="tokenization.html" title="8.2.4 Tokenization" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="syntax.html">&#8592; 8 The HTML syntax</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="tokenization.html">8.2.4 Tokenization &#8594;</a>
   <ol class="toc"><li><ol><li><a href="parsing.html#parsing"><span class="secno">8.2 </span>Parsing HTML documents</a>
     <ol><li><a href="parsing.html#overview-of-the-parsing-model"><span class="secno">8.2.1 </span>Overview of the parsing model</a></li><li><a href="parsing.html#the-input-byte-stream"><span class="secno">8.2.2 </span>The input byte stream</a>
       <ol><li><a href="parsing.html#determining-the-character-encoding"><span class="secno">8.2.2.1 </span>Determining the character encoding</a></li><li><a href="parsing.html#character-encodings-0"><span class="secno">8.2.2.2 </span>Character encodings</a></li><li><a href="parsing.html#changing-the-encoding-while-parsing"><span class="secno">8.2.2.3 </span>Changing the encoding while parsing</a></li><li><a href="parsing.html#preprocessing-the-input-stream"><span class="secno">8.2.2.4 </span>Preprocessing the input stream</a></li></ol></li><li><a href="parsing.html#parse-state"><span class="secno">8.2.3 </span>Parse state</a>
-      <ol><li><a href="parsing.html#the-insertion-mode"><span class="secno">8.2.3.1 </span>The insertion mode</a></li><li><a href="parsing.html#the-stack-of-open-elements"><span class="secno">8.2.3.2 </span>The stack of open elements</a></li><li><a href="parsing.html#the-list-of-active-formatting-elements"><span class="secno">8.2.3.3 </span>The list of active formatting elements</a></li><li><a href="parsing.html#the-element-pointers"><span class="secno">8.2.3.4 </span>The element pointers</a></li><li><a href="parsing.html#other-parsing-state-flags"><span class="secno">8.2.3.5 </span>Other parsing state flags</a></li></ol></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="parsing.html#the-insertion-mode"><span class="secno">8.2.3.1 </span>The insertion mode</a></li><li><a href="parsing.html#the-stack-of-open-elements"><span class="secno">8.2.3.2 </span>The stack of open elements</a></li><li><a href="parsing.html#the-list-of-active-formatting-elements"><span class="secno">8.2.3.3 </span>The list of active formatting elements</a></li><li><a href="parsing.html#the-element-pointers"><span class="secno">8.2.3.4 </span>The element pointers</a></li><li><a href="parsing.html#other-parsing-state-flags"><span class="secno">8.2.3.5 </span>Other parsing state flags</a></li></ol></li></ol></li></ol></li></ol></div>
 
   <div class="impl">
 
@@ -350,7 +348,7 @@
   syntax</a>".</p>
 
   <p>User agents must use the parsing rules described in this section
-  to generate the DOM trees from <code><a href="iana.html#text-html">text/html</a></code> resources.
+  to generate the DOM trees from <code><a href="iana.html#text/html">text/html</a></code> resources.
   Together, these rules define what is referred to as the <dfn id="html-parser">HTML
   parser</dfn>.</p>
 
@@ -411,12 +409,12 @@
 
   <h4 id="overview-of-the-parsing-model"><span class="secno">8.2.1 </span>Overview of the parsing model</h4>
 
-  <p class="overview"><object data="images/parsing-model-overview.svg" height="535" width="345"><img alt="" height="450" src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" width="345"></object></p>
+  <p class="overview"><object data="images/parsing-model-overview.svg" height="535" width="345"><img alt="" height="450" src="images/parsing-model-overview.png" width="345"></object></p>
 
   <p>The input to the HTML parsing process consists of a stream of
   <a href="infrastructure.html#unicode-code-point" title="Unicode code point">Unicode code points</a>, which
   is passed through a <a href="tokenization.html#tokenization">tokenization</a> stage followed by a
-  <a href="tree-construction.html#tree-construction">tree construction</a> stage. The output is a
+  <a href="tokenization.html#tree-construction">tree construction</a> stage. The output is a
   <code><a href="dom.html#document">Document</a></code> object.</p>
 
   <p class="note">Implementations that <a href="infrastructure.html#non-scripted">do not
@@ -481,12 +479,14 @@
   tokenizer's <a href="#input-stream">input stream</a>, as described by the rules for
   that encoding, except that the leading U+FEFF BYTE ORDER MARK
   character, if any, must not be stripped by the encoding layer (it is
-  stripped by the rule below).</p> 
+  stripped by the rule below).</p> <!-- this is to prevent two leading
+  BOMs from being both stripped, once by the decoder, and once by the
+  parser -->
 
   <p>Bytes or sequences of bytes in the original byte stream that
   could not be converted to Unicode code points must be converted to
   U+FFFD REPLACEMENT CHARACTERs. Specifically, if the encoding is
-  UTF-8, the bytes must be <a href="infrastructure.html#decoded-as-utf-8-with-error-handling" title="decoded as UTF-8, with error
+  UTF-8, the bytes must be <a href="infrastructure.html#decoded-as-utf-8,-with-error-handling" title="decoded as UTF-8, with error
   handling">decoded with the error handling</a> defined in this
   specification.</p>
 
@@ -523,7 +523,7 @@
   <dfn id="concept-encoding-confidence" title="concept-encoding-confidence">confidence</dfn>. The
   confidence is either <i>tentative</i>, <i>certain</i>, or
   <i>irrelevant</i>. The encoding used, and whether the confidence in
-  that encoding is <i>tentative</i> or <i>certain</i>, is <a href="tree-construction.html#meta-charset-during-parse">used during the parsing</a> to
+  that encoding is <i>tentative</i> or <i>certain</i>, is <a href="tokenization.html#meta-charset-during-parse">used during the parsing</a> to
   determine whether to <a href="#change-the-encoding">change the encoding</a>. If no
   encoding is necessary, e.g. because the parser is operating on a
   Unicode stream and doesn't have to use an encoding at all, then the
@@ -568,16 +568,27 @@
    that row, with the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a>
    <i>certain</i>, and abort these steps:</p>
 
-    
+    <!-- this table is present in several forms in this file; keep them in sync -->
     <table><thead><tr><th>Bytes in Hexadecimal
        </th><th>Encoding
-     </th></tr></thead><tbody><tr><td>FE FF
+     </th></tr></thead><tbody><!-- nobody uses this
+      <tr>
+       <td>00 00 FE FF
+       <td>UTF-32BE
+      <tr>
+       <td>FF FE 00 00
+       <td>UTF-32LE
+--><tr><td>FE FF
        </td><td>Big-endian UTF-16
       </td></tr><tr><td>FF FE
        </td><td>Little-endian UTF-16
       </td></tr><tr><td>EF BB BF
        </td><td>UTF-8
-
+<!-- nobody uses this
+      <tr>
+       <td>DD 73 66 73
+       <td>UTF-EBCDIC
+-->
     </td></tr></tbody></table><p class="note">This step looks for Unicode Byte Order Marks
    (BOMs).</p></li>
 
@@ -644,7 +655,8 @@
     the user's locale, for compatibility with legacy content. Locales
     are identified by BCP 47 language tags. <a href="references.html#refsBCP47">[BCP47]</a></p>
 
-    
+    <!-- based on mozilla 1.9.1 localizations:
+         http://mxr.mozilla.org/l10n-mozilla1.9.1/find?string=global%2Fintl.properties&tree=l10n-mozilla1.9.1&hint= -->
 
     <table><thead><tr><th>Locale language
        </th><th>Suggested default encoding
@@ -675,8 +687,8 @@
       </td></tr><tr><td>hu<!-- -HU -->
        </td><td>ISO-8859-2
 
-      </td></tr><tr><td>ja 
-       </td><td>Windows-31J 
+      </td></tr><tr><td>ja <!-- and ja-JP-mac -->
+       </td><td>Windows-31J <!-- Shift_JIS -->
 
       </td></tr><tr><td>kk
        </td><td>UTF-8
@@ -740,7 +752,7 @@
 
     </td></tr></tbody></table></li>
 
-  </ol><p>The <a href="infrastructure.html#document-s-character-encoding">document's character encoding</a> must immediately
+  </ol><p>The <a href="infrastructure.html#document's-character-encoding">document's character encoding</a> must immediately
   be set to the value returned from this algorithm, at the same time
   as the user agent uses the returned value to select the decoder to
   use for the input byte stream.</p>
@@ -785,7 +797,9 @@
        above).</p></li>
 
        <li><p>Let <var title="">attribute list</var> be an empty
-       list of strings.</p></li> 
+       list of strings.</p></li> <!-- so long as we only care about
+       http-equiv, content, and charset, this can be a 3-bit
+       bitfield -->
 
        <li><p>Let <var title="">got pragma</var> be false.</p></li>
 
@@ -1051,7 +1065,17 @@
   described above. (But, if you do, please at least let us know, so
   that we can improve this algorithm and benefit everyone...)</p>
 
-
+<!--(removed this since the specs are being changed)
+  <p class="note">These algorithms are a <span>willful
+  violation</span> of the HTTP specification, which requires that the
+  encoding be assumed to be ISO-8859-1 in the absence of a
+  <span>character encoding declaration</span> to the contrary, and of
+  RFC 2046, which requires that the encoding be assumed to be US-ASCII
+  in the absence of a <span>character encoding declaration</span> to
+  the contrary. This specification's third approach is motivated by a
+  desire to be maximally compatible with legacy content. <a
+  href="#refsHTTP">[HTTP]</a> <a href="#refsRFC2046">[RFC2046]</a></p>
+-->
 
 
 
@@ -1100,7 +1124,7 @@
          <a href="references.html#refsRFC1468">[RFC1468]</a><!-- ISO-2022-JP -->
          <a href="references.html#refsRFC2237">[RFC2237]</a><!-- ISO-2022-JP-1 -->
          <a href="references.html#refsRFC1554">[RFC1554]</a><!-- ISO-2022-JP-2 -->
-         <a href="references.html#refsCP50220">[CP50220]</a>
+         <a href="references.html#refsCP50220">[CP50220]</a><!-- CP50220, the compatibility replacement for ISO-2022-JP -->
     </td></tr><tr><td> ISO-8859-1 </td><td> windows-1252 </td><td>
          <a href="references.html#refsRFC1345">[RFC1345]</a>
          <a href="references.html#refsWIN1252">[WIN1252]</a>
@@ -1184,11 +1208,11 @@
    encoding and the new encoding, and if the user agent supports
    changing the converter on the fly, then the user agent may change
    to the new converter for the encoding on the fly. Set the
-   <a href="infrastructure.html#document-s-character-encoding">document's character encoding</a> and the encoding used to
+   <a href="infrastructure.html#document's-character-encoding">document's character encoding</a> and the encoding used to
    convert the input stream to the new encoding, set the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a> to
    <i>certain</i>, and abort these steps.</li>
 
-   <li>Otherwise, <a href="history.html#navigate">navigate</a> to the
+   <li>Otherwise, <a href="history.html#navigate">navigate</a><!--DONAV reparse--> to the
    document again, with <a href="history.html#replacement-enabled">replacement enabled</a>, and using
    the same <a href="history.html#source-browsing-context">source browsing context</a>, but this time skip
    the <a href="#encoding-sniffing-algorithm">encoding sniffing algorithm</a> and instead just set
@@ -1220,8 +1244,9 @@
   the face of na&#239;ve transcoders.</p>
 
   <p>Any occurrences of any characters in the ranges U+0001 to U+0008,
-     U+000E to U+001F,  U+007F
-   to U+009F, U+FDD0
+  <!-- HT, LF allowed --> <!-- U+000B is in the next list --> <!-- FF,
+  CR allowed --> U+000E to U+001F, <!-- ASCII allowed --> U+007F
+  <!--to U+0084, (U+0085 NEL not allowed), U+0086--> to U+009F, U+FDD0
   to U+FDEF, and characters U+000B, U+FFFE, U+FFFF, U+1FFFE, U+1FFFF,
   U+2FFFE, U+2FFFF, U+3FFFE, U+3FFFF, U+4FFFE, U+4FFFF, U+5FFFE,
   U+5FFFF, U+6FFFE, U+6FFFF, U+7FFFE, U+7FFFF, U+8FFFE, U+8FFFF,
@@ -1273,33 +1298,33 @@
   <p>The <dfn id="insertion-mode">insertion mode</dfn> is a state variable that controls
   the primary operation of the tree construction stage.</p>
 
-  <p>Initially, the <a href="#insertion-mode">insertion mode</a> is "<a href="tree-construction.html#the-initial-insertion-mode" title="insertion mode: initial">initial</a>". It can change to
-  "<a href="tree-construction.html#the-before-html-insertion-mode" title="insertion mode: before html">before html</a>",
-  "<a href="tree-construction.html#the-before-head-insertion-mode" title="insertion mode: before head">before head</a>",
-  "<a href="tree-construction.html#parsing-main-inhead" title="insertion mode: in head">in head</a>", "<a href="tree-construction.html#parsing-main-inheadnoscript" title="insertion mode: in head noscript">in head noscript</a>",
-  "<a href="tree-construction.html#the-after-head-insertion-mode" title="insertion mode: after head">after head</a>", "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in body</a>", "<a href="tree-construction.html#parsing-main-incdata" title="insertion mode: text">text</a>", "<a href="tree-construction.html#parsing-main-intable" title="insertion
-  mode: in table">in table</a>", "<a href="tree-construction.html#parsing-main-intabletext" title="insertion mode: in
-  table text">in table text</a>", "<a href="tree-construction.html#parsing-main-incaption" title="insertion mode: in
-  caption">in caption</a>", "<a href="tree-construction.html#parsing-main-incolgroup" title="insertion mode: in column
-  group">in column group</a>", "<a href="tree-construction.html#parsing-main-intbody" title="insertion mode: in
-  table body">in table body</a>", "<a href="tree-construction.html#parsing-main-intr" title="insertion mode: in
-  row">in row</a>", "<a href="tree-construction.html#parsing-main-intd" title="insertion mode: in cell">in
-  cell</a>", "<a href="tree-construction.html#parsing-main-inselect" title="insertion mode: in select">in
-  select</a>", "<a href="tree-construction.html#parsing-main-inselectintable" title="insertion mode: in select in table">in
-  select in table</a>", "<a href="tree-construction.html#parsing-main-afterbody" title="insertion mode: after
-  body">after body</a>", "<a href="tree-construction.html#parsing-main-inframeset" title="insertion mode: in
-  frameset">in frameset</a>", "<a href="tree-construction.html#parsing-main-afterframeset" title="insertion mode: after
-  frameset">after frameset</a>", "<a href="tree-construction.html#the-after-after-body-insertion-mode" title="insertion mode:
-  after after body">after after body</a>", and "<a href="tree-construction.html#the-after-after-frameset-insertion-mode" title="insertion mode: after after frameset">after after
+  <p>Initially, the <a href="#insertion-mode">insertion mode</a> is "<a href="tokenization.html#the-initial-insertion-mode" title="insertion mode: initial">initial</a>". It can change to
+  "<a href="tokenization.html#the-before-html-insertion-mode" title="insertion mode: before html">before html</a>",
+  "<a href="tokenization.html#the-before-head-insertion-mode" title="insertion mode: before head">before head</a>",
+  "<a href="tokenization.html#parsing-main-inhead" title="insertion mode: in head">in head</a>", "<a href="tokenization.html#parsing-main-inheadnoscript" title="insertion mode: in head noscript">in head noscript</a>",
+  "<a href="tokenization.html#the-after-head-insertion-mode" title="insertion mode: after head">after head</a>", "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in body</a>", "<a href="tokenization.html#parsing-main-incdata" title="insertion mode: text">text</a>", "<a href="tokenization.html#parsing-main-intable" title="insertion
+  mode: in table">in table</a>", "<a href="tokenization.html#parsing-main-intabletext" title="insertion mode: in
+  table text">in table text</a>", "<a href="tokenization.html#parsing-main-incaption" title="insertion mode: in
+  caption">in caption</a>", "<a href="tokenization.html#parsing-main-incolgroup" title="insertion mode: in column
+  group">in column group</a>", "<a href="tokenization.html#parsing-main-intbody" title="insertion mode: in
+  table body">in table body</a>", "<a href="tokenization.html#parsing-main-intr" title="insertion mode: in
+  row">in row</a>", "<a href="tokenization.html#parsing-main-intd" title="insertion mode: in cell">in
+  cell</a>", "<a href="tokenization.html#parsing-main-inselect" title="insertion mode: in select">in
+  select</a>", "<a href="tokenization.html#parsing-main-inselectintable" title="insertion mode: in select in table">in
+  select in table</a>", "<a href="tokenization.html#parsing-main-afterbody" title="insertion mode: after
+  body">after body</a>", "<a href="tokenization.html#parsing-main-inframeset" title="insertion mode: in
+  frameset">in frameset</a>", "<a href="tokenization.html#parsing-main-afterframeset" title="insertion mode: after
+  frameset">after frameset</a>", "<a href="tokenization.html#the-after-after-body-insertion-mode" title="insertion mode:
+  after after body">after after body</a>", and "<a href="tokenization.html#the-after-after-frameset-insertion-mode" title="insertion mode: after after frameset">after after
   frameset</a>" during the course of the parsing, as described in
-  the <a href="tree-construction.html#tree-construction">tree construction</a> stage. The insertion mode affects
+  the <a href="tokenization.html#tree-construction">tree construction</a> stage. The insertion mode affects
   how tokens are processed and whether CDATA sections are
   supported.</p>
 
-  <p>Several of these modes, namely "<a href="tree-construction.html#parsing-main-inhead" title="insertion mode: in
-  head">in head</a>", "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in
-  body</a>", "<a href="tree-construction.html#parsing-main-intable" title="insertion mode: in table">in
-  table</a>", and "<a href="tree-construction.html#parsing-main-inselect" title="insertion mode: in select">in
+  <p>Several of these modes, namely "<a href="tokenization.html#parsing-main-inhead" title="insertion mode: in
+  head">in head</a>", "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in
+  body</a>", "<a href="tokenization.html#parsing-main-intable" title="insertion mode: in table">in
+  table</a>", and "<a href="tokenization.html#parsing-main-inselect" title="insertion mode: in select">in
   select</a>", are special, in that the other modes defer to them
   at various times. When the algorithm below says that the user agent
   is to do something "<dfn id="using-the-rules-for">using the rules for</dfn> the <var title="">m</var> insertion mode", where <var title="">m</var> is one
@@ -1309,8 +1334,8 @@
   rules in <var title="">m</var> themselves switch the <a href="#insertion-mode">insertion
   mode</a> to a new value.</p>
 
-  <p>When the insertion mode is switched to "<a href="tree-construction.html#parsing-main-incdata" title="insertion
-  mode: text">text</a>" or "<a href="tree-construction.html#parsing-main-intabletext" title="insertion mode: in table
+  <p>When the insertion mode is switched to "<a href="tokenization.html#parsing-main-incdata" title="insertion
+  mode: text">text</a>" or "<a href="tokenization.html#parsing-main-intabletext" title="insertion mode: in table
   text">in table text</a>", the <dfn id="original-insertion-mode">original insertion mode</dfn>
   is also set. This is the insertion mode to which the tree
   construction stage will return.</p>
@@ -1330,56 +1355,70 @@
    (<a href="the-end.html#fragment-case">fragment case</a>)</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-select-element.html#the-select-element">select</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-inselect" title="insertion mode: in select">in select</a>" and abort these
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-inselect" title="insertion mode: in select">in select</a>" and abort these
    steps. (<a href="the-end.html#fragment-case">fragment case</a>)</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-td-element.html#the-td-element">td</a></code> or
    <code><a href="the-th-element.html#the-th-element">th</a></code> element and <var title="">last</var> is false, then
-   switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-intd" title="insertion
+   switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-intd" title="insertion
    mode: in cell">in cell</a>" and abort these steps.</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-tr-element.html#the-tr-element">tr</a></code> element, then
-   switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-intr" title="insertion
+   switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-intr" title="insertion
    mode: in row">in row</a>" and abort these steps.</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code>,
    <code><a href="the-thead-element.html#the-thead-element">thead</a></code>, or <code><a href="the-tfoot-element.html#the-tfoot-element">tfoot</a></code> element, then switch the
-   <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-intbody" title="insertion mode: in
+   <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-intbody" title="insertion mode: in
    table body">in table body</a>" and abort these steps.</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-caption-element.html#the-caption-element">caption</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-incaption" title="insertion mode: in caption">in caption</a>" and abort
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-incaption" title="insertion mode: in caption">in caption</a>" and abort
    these steps.</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-incolgroup" title="insertion mode: in column group">in column group</a>" and
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-incolgroup" title="insertion mode: in column group">in column group</a>" and
    abort these steps. (<a href="the-end.html#fragment-case">fragment case</a>)</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-table-element.html#the-table-element">table</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-intable" title="insertion mode: in table">in table</a>" and abort these
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-intable" title="insertion mode: in table">in table</a>" and abort these
    steps.</li>
 
    <li>If <var title="">node</var> is a <code><a href="the-head-element.html#the-head-element">head</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in body</a>" ("<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in body</a>"! <em> not "<a href="tree-construction.html#parsing-main-inhead" title="insertion mode: in head">in head</a>"</em>!) and abort
-   these steps. (<a href="the-end.html#fragment-case">fragment case</a>)</li> 
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in body</a>" ("<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in body</a>"! <em> not "<a href="tokenization.html#parsing-main-inhead" title="insertion mode: in head">in head</a>"</em>!) and abort
+   these steps. (<a href="the-end.html#fragment-case">fragment case</a>)</li> <!-- This is only
+   here for now in case people think that the spec accidentally
+   omitted it and try to "fix" it. Note that noscript-in-head is also
+   handled this way. This is all intentional. The only thing it
+   doesn't handle is the scripting-disabled fragment parsing case for
+   a <head> element containing a <noscript> which itself contains
+   something other than a <link> or a <style> element; you'd expect
+   that to break out of the <noscript> but it doesn't. This is an edge
+   case that doesn't affect the spec, since the algorithm for fragment
+   parsing is only used for innerHTML/outerHTML/insertAdjacentHTML(),
+   where we know scripting is enabled. -->
 
    <li>If <var title="">node</var> is a <code><a href="the-body-element.html#the-body-element">body</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in body">in body</a>" and abort these
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in body">in body</a>" and abort these
    steps.</li>
 
    <li>If <var title="">node</var> is a <code><a href="obsolete.html#frameset">frameset</a></code> element,
-   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-inframeset" title="insertion mode: in frameset">in frameset</a>" and abort
+   then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-inframeset" title="insertion mode: in frameset">in frameset</a>" and abort
    these steps. (<a href="the-end.html#fragment-case">fragment case</a>)</li>
 
    <li>If <var title="">node</var> is an <code><a href="the-html-element.html#the-html-element">html</a></code> element,
-   then  switch the <a href="#insertion-mode">insertion mode</a>
-   to "<a href="tree-construction.html#the-before-head-insertion-mode" title="insertion mode: before head">before
-   head</a>"
-   Then,  abort these steps. (<a href="the-end.html#fragment-case">fragment
-   case</a>)</li> 
+   then <!--: if the <span><code title="">head</code> element
+   pointer</span> is null,--> switch the <a href="#insertion-mode">insertion mode</a>
+   to "<a href="tokenization.html#the-before-head-insertion-mode" title="insertion mode: before head">before
+   head</a>"<!--, otherwise, switch the <span>insertion mode</span>
+   to "<span title="insertion mode: after head">after head</span>".-->
+   Then, <!-- in either case, --> abort these steps. (<a href="the-end.html#fragment-case">fragment
+   case</a>)</li> <!-- if the head element pointer can ever be
+   non-null when we're going through these steps, we'll need to
+   uncomment out the commented-out bits -->
 
    <li>If <var title="">last</var> is true, then switch the
-   <a href="#insertion-mode">insertion mode</a> to "<a href="tree-construction.html#parsing-main-inbody" title="insertion mode: in
+   <a href="#insertion-mode">insertion mode</a> to "<a href="tokenization.html#parsing-main-inbody" title="insertion mode: in
    body">in body</a>" and abort these steps. (<a href="the-end.html#fragment-case">fragment
    case</a>)</li>
 
@@ -1394,9 +1433,9 @@
   stack grows downwards; the topmost node on the stack is the first
   one added to the stack, and the bottommost node of the stack is the
   most recently added node in the stack (notwithstanding when the
-  stack is manipulated in a random access fashion as part of <a href="tree-construction.html#adoptionAgency">the handling for misnested tags</a>).</p>
+  stack is manipulated in a random access fashion as part of <a href="tokenization.html#adoptionAgency">the handling for misnested tags</a>).</p>
 
-  <p>The "<a href="tree-construction.html#the-before-html-insertion-mode" title="insertion mode: before html">before
+  <p>The "<a href="tokenization.html#the-before-html-insertion-mode" title="insertion mode: before html">before
   html</a>" <a href="#insertion-mode">insertion mode</a> creates the
   <code><a href="the-html-element.html#the-html-element">html</a></code> root element node, which is then added to the
   stack.</p>
@@ -1405,7 +1444,7 @@
   elements</a> is initialized to contain an <code><a href="the-html-element.html#the-html-element">html</a></code>
   element that is created as part of <a href="the-end.html#html-fragment-parsing-algorithm" title="html fragment
   parsing algorithm">that algorithm</a>. (The <a href="the-end.html#fragment-case">fragment
-  case</a> skips the "<a href="tree-construction.html#the-before-html-insertion-mode" title="insertion mode: before
+  case</a> skips the "<a href="tokenization.html#the-before-html-insertion-mode" title="insertion mode: before
   html">before html</a>" <a href="#insertion-mode">insertion mode</a>.)</p>
 
   <p>The <code><a href="the-html-element.html#the-html-element">html</a></code> node, however it is created, is the topmost
@@ -1436,13 +1475,15 @@
    <code><a href="the-div-element.html#the-div-element">div</a></code>, <code><a href="the-dl-element.html#the-dl-element">dl</a></code>, <code><a href="the-dt-element.html#the-dt-element">dt</a></code>,
    <code><a href="the-embed-element.html#the-embed-element">embed</a></code>, <code><a href="the-fieldset-element.html#the-fieldset-element">fieldset</a></code>, <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code>,
    <code><a href="the-figure-element.html#the-figure-element">figure</a></code>, <code><a href="the-footer-element.html#the-footer-element">footer</a></code>, <code><a href="the-form-element.html#the-form-element">form</a></code>,
-   <code><a href="obsolete.html#frame">frame</a></code>, <code><a href="obsolete.html#frameset">frameset</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>,
-   <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h3</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h4</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h5</a></code>,
-   <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code>, <code><a href="the-head-element.html#the-head-element">head</a></code>, <code><a href="the-header-element.html#the-header-element">header</a></code>,
+   <code><a href="obsolete.html#frame">frame</a></code>, <code><a href="obsolete.html#frameset">frameset</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h1</a></code>,
+   <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h2</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h3</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h4</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h5</a></code>,
+   <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h6</a></code>, <code><a href="the-head-element.html#the-head-element">head</a></code>, <code><a href="the-header-element.html#the-header-element">header</a></code>,
    <code><a href="the-hgroup-element.html#the-hgroup-element">hgroup</a></code>, <code><a href="the-hr-element.html#the-hr-element">hr</a></code>, <code><a href="the-html-element.html#the-html-element">html</a></code>,
-   <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code>,  <code><a href="the-img-element.html#the-img-element">img</a></code>, <code><a href="the-input-element.html#the-input-element">input</a></code>,
+   <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code>, <!-- <code>image</code>, (commented out
+   because this isn't an element that can end up on the stack, so it
+   doesn't matter) --> <code><a href="the-img-element.html#the-img-element">img</a></code>, <code><a href="the-input-element.html#the-input-element">input</a></code>,
    <code><a href="obsolete.html#isindex-0">isindex</a></code>, <code><a href="the-li-element.html#the-li-element">li</a></code>, <code><a href="the-link-element.html#the-link-element">link</a></code>,
-   <code><a href="obsolete.html#listing">listing</a></code>, <code><a href="obsolete.html#the-marquee-element">marquee</a></code>, <code><a href="the-menu-element.html#the-menu-element">menu</a></code>,
+   <code><a href="obsolete.html#listing">listing</a></code>, <code><a href="obsolete.html#the-marquee-element-0">marquee</a></code>, <code><a href="the-menu-element.html#the-menu-element">menu</a></code>,
    <code><a href="the-meta-element.html#the-meta-element">meta</a></code>, <code><a href="the-nav-element.html#the-nav-element">nav</a></code>, <code><a href="obsolete.html#noembed">noembed</a></code>,
    <code><a href="obsolete.html#noframes">noframes</a></code>, <code><a href="the-noscript-element.html#the-noscript-element">noscript</a></code>, <code><a href="the-object-element.html#the-object-element">object</a></code>,
    <code><a href="the-ol-element.html#the-ol-element">ol</a></code>, <code><a href="the-p-element.html#the-p-element">p</a></code>, <code><a href="the-param-element.html#the-param-element">param</a></code>,
@@ -1455,7 +1496,8 @@
    <code><a href="the-ul-element.html#the-ul-element">ul</a></code>, <code><a href="the-wbr-element.html#the-wbr-element">wbr</a></code>, and <code><a href="obsolete.html#xmp">xmp</a></code>; MathML's
    <code title="">mi</code>, <code title="">mo</code>, <code title="">mn</code>, <code title="">ms</code>, <code title="">mtext</code>, and <code title="">annotation-xml</code>;
    and SVG's <code title="">foreignObject</code>, <code title="">desc</code>, and <code title="">title</code>.</p></dd>
-   
+   <!-- we could actually put all non-HTML elements in this list, I
+   think -->
 
    <dt><dfn id="formatting">Formatting</dfn></dt>
    <dd><p>The following HTML elements are those that end up in the
@@ -1496,11 +1538,11 @@
 
   <ul class="brief"><li><code><a href="obsolete.html#the-applet-element">applet</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
    <li><code><a href="the-caption-element.html#the-caption-element">caption</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
-   <li><code><a href="the-html-element.html#the-html-element">html</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li> 
+   <li><code><a href="the-html-element.html#the-html-element">html</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li> <!-- (This can only happen if the <var title="">node</var> is the topmost node of the <span>stack of open elements</span>, and prevents the next step from being invoked if there are no more elements in the stack.) -->
    <li><code><a href="the-table-element.html#the-table-element">table</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
    <li><code><a href="the-td-element.html#the-td-element">td</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
    <li><code><a href="the-th-element.html#the-th-element">th</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
-   <li><code><a href="obsolete.html#the-marquee-element">marquee</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
+   <li><code><a href="obsolete.html#the-marquee-element-0">marquee</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
    <li><code><a href="the-object-element.html#the-object-element">object</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
    <li><code title="">mi</code> in the <a href="namespaces.html#mathml-namespace">MathML namespace</a></li>
    <li><code title="">mo</code> in the <a href="namespaces.html#mathml-namespace">MathML namespace</a></li>
@@ -1530,14 +1572,14 @@
   scope</dfn> when it <a href="#has-an-element-in-the-specific-scope">has an element in the specific
   scope</a> consisting of the following element types:</p>
 
-  <ul class="brief"><li><code><a href="the-html-element.html#the-html-element">html</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li> 
+  <ul class="brief"><li><code><a href="the-html-element.html#the-html-element">html</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li> <!-- (This can only happen if the <var title="">node</var> is the topmost node of the <span>stack of open elements</span>, and prevents the next step from being invoked if there are no more elements in the stack.) -->
    <li><code><a href="the-table-element.html#the-table-element">table</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
   </ul><p>The <a href="#stack-of-open-elements">stack of open elements</a> is said to <dfn id="has-an-element-in-select-scope" title="has an element in select scope">have an element in select
   scope</dfn> when it <a href="#has-an-element-in-the-specific-scope">has an element in the specific
   scope</a> consisting of all element types <em>except</em> the
   following:</p>
 
-  <ul class="brief"><li><code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
+  <ul class="brief"><!--<li><code>select</code> in the <span>HTML namespace</span></li>--><li><code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
    <li><code><a href="the-option-element.html#the-option-element">option</a></code> in the <a href="namespaces.html#html-namespace-0">HTML namespace</a></li>
   </ul><p>Nothing happens if at any time any of the elements in the
   <a href="#stack-of-open-elements">stack of open elements</a> are moved to a new location in,
@@ -1546,7 +1588,7 @@
   other strange effects, content to be appended to nodes that are no
   longer in the DOM.</p>
 
-  <p class="note">In some cases (namely, when <a href="tree-construction.html#adoptionAgency">closing misnested formatting elements</a>),
+  <p class="note">In some cases (namely, when <a href="tokenization.html#adoptionAgency">closing misnested formatting elements</a>),
   the stack is manipulated in a random-access fashion.</p>
 
 
@@ -1587,7 +1629,8 @@
    and values (the order of the attributes does not matter).</p>
 
    <p class="note">This is the Noah's Ark clause. But with three per
-   family instead of two.</p></li> 
+   family instead of two.</p></li> <!-- A sort of polyamorous Noah's
+   Ark, if you will. -->
 
    <li><p>Add <var title="">element</var> to the <a href="#list-of-active-formatting-elements">list of active
    formatting elements</a>.</p></li>
@@ -1625,7 +1668,7 @@
    <var title="">entry</var> in the <a href="#list-of-active-formatting-elements">list of active formatting
    elements</a>.</li>
 
-   <li><a href="tree-construction.html#create-an-element-for-the-token">Create an element for the token</a> for which the
+   <li><a href="tokenization.html#create-an-element-for-the-token">Create an element for the token</a> for which the
    element <var title="">entry</var> was created, to obtain <var title="">new element</var>.</li>
 
    <li>Append <var title="">new element</var> to the <a href="#current-node">current

--- fetching-resources.html DELETED ---

Index: the-span-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-span-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-span-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-span-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.25 The span element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.25 The span element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,43 +316,40 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-bdo-element.html" title="4.6.24 The bdo element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-bdo-element.html" title="4.6.24 The bdo element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-br-element.html" title="4.6.26 The br element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-bdo-element.html">&#8592; 4.6.24 The bdo element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-br-element.html">4.6.26 The br element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-span-element"><span class="secno">4.6.25 </span>The <dfn><code>span</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmlspanelement">HTMLSpanElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre>
    </dd>
-  </dl><p>The <code><a href="#the-span-element">span</a></code> element doesn't mean anything on its own,
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-span-element">span</a></code> element doesn't mean anything on its own,
   but can be useful when used together with the <a href="global-attributes.html#global-attributes">global
   attributes</a>, e.g. <code title="attr-class"><a href="global-attributes.html#classes">class</a></code>, <code title="attr-lang"><a href="global-attributes.html#attr-lang">lang</a></code>, or <code title="attr-dir"><a href="global-attributes.html#the-dir-attribute">dir</a></code>.
   It <a href="rendering.html#represents">represents</a> its children.</p>
@@ -363,7 +360,7 @@
    <code><a href="#the-span-element">span</a></code> elements and <code title="attr-class"><a href="global-attributes.html#classes">class</a></code> attributes so that its keywords and
    identifiers can be color-coded from CSS:</p>
 
-   
+   <!-- extract from http://www.cs.cmu.edu/~dst/DeCSS/Gallery/vlc-dvd_css-c.txt -->
 
    <pre>&lt;pre&gt;&lt;code class="lang-c"&gt;&lt;span class="keyword"&gt;for&lt;/span&gt; (&lt;span class="ident"&gt;j&lt;/span&gt; = 0; &lt;span class="ident"&gt;j&lt;/span&gt; &amp;lt; 256; &lt;span class="ident"&gt;j&lt;/span&gt;++) {
   &lt;span class="ident"&gt;i_t3&lt;/span&gt; = (&lt;span class="ident"&gt;i_t3&lt;/span&gt; &amp; 0x1ffff) | (&lt;span class="ident"&gt;j&lt;/span&gt; &amp;lt;&amp;lt; 17);

Index: the-fieldset-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-fieldset-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-fieldset-element.html	26 Jun 2012 20:46:57 -0000	1.158
+++ the-fieldset-element.html	22 Aug 2012 10:52:49 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.4 The fieldset element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.4 The fieldset element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,43 +316,40 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-form-element.html" title="4.10.3 The form element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-form-element.html" title="4.10.3 The form element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-legend-element.html" title="4.10.5 The legend element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-form-element.html">&#8592; 4.10.3 The form element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-legend-element.html">4.10.5 The legend element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-fieldset-element"><span class="secno">4.10.4 </span>The <dfn><code>fieldset</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dd><a href="headings-and-sections.html#sectioning-root">Sectioning root</a>.</dd>
    <dd><a href="forms.html#category-listed" title="category-listed">Listed</a> <a href="forms.html#form-associated-element">form-associated element</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd>Optionally a <code><a href="the-legend-element.html#the-legend-element">legend</a></code> element, followed by <a href="content-models.html#flow-content">flow content</a>.</dd>
+   <dd>Optionally a <code><a href="the-legend-element.html#the-legend-element">legend</a></code> element, followed by <a href="content-models.html#flow-content-1">flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-fieldset-disabled"><a href="#attr-fieldset-disabled">disabled</a></code></dd>
    <dd><code title="attr-fae-form"><a href="association-of-controls-and-forms.html#attr-fae-form">form</a></code></dd>
    <dd><code title="attr-fe-name"><a href="attributes-common-to-form-controls.html#attr-fe-name">name</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlfieldsetelement">HTMLFieldSetElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute boolean <a href="#dom-fieldset-disabled" title="dom-fieldset-disabled">disabled</a>;
@@ -361,7 +358,7 @@
 
   readonly attribute DOMString <a href="#dom-fieldset-type" title="dom-fieldset-type">type</a>;
 
-  readonly attribute <a href="common-dom-interfaces.html#htmlformcontrolscollection">HTMLFormControlsCollection</a> <a href="#dom-fieldset-elements" title="dom-fieldset-elements">elements</a>;
+  readonly attribute <a href="common-dom-interfaces.html#htmlformcontrolscollection-0">HTMLFormControlsCollection</a> <a href="#dom-fieldset-elements" title="dom-fieldset-elements">elements</a>;
 
   readonly attribute boolean <a href="constraints.html#dom-cva-willvalidate" title="dom-cva-willValidate">willValidate</a>;
   readonly attribute <a href="constraints.html#validitystate">ValidityState</a> <a href="constraints.html#dom-cva-validity" title="dom-cva-validity">validity</a>;
@@ -370,7 +367,7 @@
   void <a href="constraints.html#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(DOMString error);
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-fieldset-element">fieldset</a></code> element <a href="rendering.html#represents">represents</a> a set
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-fieldset-element">fieldset</a></code> element <a href="rendering.html#represents">represents</a> a set
   of form controls optionally grouped under a common name.</p>
 
   <p>The name of the group is given by the first <code><a href="the-legend-element.html#the-legend-element">legend</a></code>
@@ -388,7 +385,7 @@
   <a href="association-of-controls-and-forms.html#form-owner">form owner</a>. The <code title="attr-fe-name"><a href="attributes-common-to-form-controls.html#attr-fe-name">name</a></code>
   attribute represents the element's name.</p>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">fieldset</var> . <code title="dom-fieldset-type"><a href="#dom-fieldset-type">type</a></code></dt>
 
    <dd>
@@ -401,7 +398,7 @@
 
    <dd>
 
-    <p>Returns an <code><a href="common-dom-interfaces.html#htmlformcontrolscollection">HTMLFormControlsCollection</a></code> of the form
+    <p>Returns an <code><a href="common-dom-interfaces.html#htmlformcontrolscollection-0">HTMLFormControlsCollection</a></code> of the form
     controls in the element.</p>
 
    </dd>
@@ -416,7 +413,7 @@
   attribute must return the string "<code title="">fieldset</code>".</p>
 
   <p>The <dfn id="dom-fieldset-elements" title="dom-fieldset-elements"><code>elements</code></dfn> IDL
-  attribute must return an <code><a href="common-dom-interfaces.html#htmlformcontrolscollection">HTMLFormControlsCollection</a></code>
+  attribute must return an <code><a href="common-dom-interfaces.html#htmlformcontrolscollection-0">HTMLFormControlsCollection</a></code>
   rooted at the <code><a href="#the-fieldset-element">fieldset</a></code> element, whose filter matches
   <a href="forms.html#category-listed" title="category-listed">listed elements</a>.</p>
 
@@ -427,7 +424,7 @@
   element's forms API.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
   <div class="example">
 

Index: the-figure-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-figure-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-figure-element.html	26 Jun 2012 20:46:57 -0000	1.158
+++ the-figure-element.html	22 Aug 2012 10:52:49 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.5.11 The figure element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.5.11 The figure element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,44 +316,41 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-dd-element.html" title="4.5.10 The dd element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-dd-element.html" title="4.5.10 The dd element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-figcaption-element.html" title="4.5.12 The figcaption element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-dd-element.html">&#8592; 4.5.10 The dd element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-figcaption-element.html">4.5.12 The figcaption element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-figure-element"><span class="secno">4.5.11 </span>The <dfn><code>figure</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dd><a href="headings-and-sections.html#sectioning-root">Sectioning root</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd>Either: One <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element followed by <a href="content-models.html#flow-content">flow content</a>.</dd>
-   <dd>Or: <a href="content-models.html#flow-content">Flow content</a> followed by one <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element.</dd>
-   <dd>Or: <a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd>Either: One <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element followed by <a href="content-models.html#flow-content-1">flow content</a>.</dd>
+   <dd>Or: <a href="content-models.html#flow-content-1">Flow content</a> followed by one <code><a href="the-figcaption-element.html#the-figcaption-element">figcaption</a></code> element.</dd>
+   <dd>Or: <a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-figure-element">figure</a></code> element <a href="rendering.html#represents">represents</a> some
-  <a href="content-models.html#flow-content">flow content</a>, optionally with a caption, that is
+  </dl><!--TOPIC:HTML--><!-- v2: Add a <credit> element for photo credits --><p>The <code><a href="#the-figure-element">figure</a></code> element <a href="rendering.html#represents">represents</a> some
+  <a href="content-models.html#flow-content-1">flow content</a>, optionally with a caption, that is
   self-contained and is typically referenced as a single unit from the
   main flow of the document.</p>
 
@@ -474,6 +471,7 @@
 
   </div>
 
+<!--FORK--><!--TITLE-->
 
 
   </body></html>
\ No newline at end of file

Index: element-definitions.html
===================================================================
RCS file: /sources/public/html5/spec/element-definitions.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- element-definitions.html	26 Jun 2012 20:46:41 -0000	1.158
+++ element-definitions.html	22 Aug 2012 10:52:40 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>3.2.4 Element definitions &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>3.2.4 Element definitions &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,26 +316,23 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="global-attributes.html" title="3.2.3 Global attributes" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="global-attributes.html" title="3.2.3 Global attributes" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="content-models.html" title="3.2.5 Content models" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="global-attributes.html">&#8592; 3.2.3 Global attributes</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="content-models.html">3.2.5 Content models &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="element-definitions.html#element-definitions"><span class="secno">3.2.4 </span>Element definitions</a>
-      <ol><li><a href="element-definitions.html#attributes"><span class="secno">3.2.4.1 </span>Attributes</a></li></ol></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="element-definitions.html#attributes"><span class="secno">3.2.4.1 </span>Attributes</a></li></ol></li></ol></li></ol></li></ol></div>
 
   <h4 id="element-definitions"><span class="secno">3.2.4 </span>Element definitions</h4>
 
@@ -360,13 +357,13 @@
 
     <p class="note">For simplicity, only the most specific
     expectations are listed. For example, an element that is both
-    <a href="content-models.html#flow-content">flow content</a> and <a href="content-models.html#phrasing-content">phrasing content</a> can be
-    used anywhere that either <a href="content-models.html#flow-content">flow content</a> or
-    <a href="content-models.html#phrasing-content">phrasing content</a> is expected, but since anywhere that
-    <a href="content-models.html#flow-content">flow content</a> is expected, <a href="content-models.html#phrasing-content">phrasing
-    content</a> is also expected (since all <a href="content-models.html#phrasing-content">phrasing
-    content</a> is <a href="content-models.html#flow-content">flow content</a>), only "where
-    <a href="content-models.html#phrasing-content">phrasing content</a> is expected" will be listed.</p>
+    <a href="content-models.html#flow-content-1">flow content</a> and <a href="content-models.html#phrasing-content-1">phrasing content</a> can be
+    used anywhere that either <a href="content-models.html#flow-content-1">flow content</a> or
+    <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected, but since anywhere that
+    <a href="content-models.html#flow-content-1">flow content</a> is expected, <a href="content-models.html#phrasing-content-1">phrasing
+    content</a> is also expected (since all <a href="content-models.html#phrasing-content-1">phrasing
+    content</a> is <a href="content-models.html#flow-content-1">flow content</a>), only "where
+    <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected" will be listed.</p>
 
    </dd>
 

Index: the-script-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-script-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-script-element.html	26 Jun 2012 20:47:02 -0000	1.158
+++ the-script-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.3.1 The script element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.3.1 The script element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,36 +316,33 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="scripting-1.html" title="4.3 Scripting" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="scripting-1.html" title="4.3 Scripting" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-noscript-element.html" title="4.3.2 The noscript element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="scripting-1.html">&#8592; 4.3 Scripting</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-noscript-element.html">4.3.2 The noscript element &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="the-script-element.html#the-script-element"><span class="secno">4.3.1 </span>The <code>script</code> element</a>
-      <ol><li><a href="the-script-element.html#scriptingLanguages"><span class="secno">4.3.1.1 </span>Scripting languages</a></li><li><a href="the-script-element.html#restrictions-for-contents-of-script-elements"><span class="secno">4.3.1.2 </span>Restrictions for contents of <code>script</code> elements</a></li><li><a href="the-script-element.html#inline-documentation-for-external-scripts"><span class="secno">4.3.1.3 </span>Inline documentation for external scripts</a></li><li><a href="the-script-element.html#scriptTagXSLT"><span class="secno">4.3.1.4 </span>Interaction of <code>script</code> elements and XSLT</a></li></ol></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="the-script-element.html#scriptingLanguages"><span class="secno">4.3.1.1 </span>Scripting languages</a></li><li><a href="the-script-element.html#restrictions-for-contents-of-script-elements"><span class="secno">4.3.1.2 </span>Restrictions for contents of <code>script</code> elements</a></li><li><a href="the-script-element.html#inline-documentation-for-external-scripts"><span class="secno">4.3.1.3 </span>Inline documentation for external scripts</a></li><li><a href="the-script-element.html#scriptTagXSLT"><span class="secno">4.3.1.4 </span>Interaction of <code>script</code> elements and XSLT</a></li></ol></li></ol></li></ol></li></ol></div>
 
   <h4 id="the-script-element"><span class="secno">4.3.1 </span>The <dfn id="script"><code>script</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#metadata-content">Metadata content</a>.</dd>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#metadata-content-0">Metadata content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#metadata-content">metadata content</a> is expected.</dd>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#metadata-content-0">metadata content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd>If there is no <code title="attr-script-src"><a href="#attr-script-src">src</a></code>
    attribute, depends on the value of the <code title="attr-script-type"><a href="#attr-script-type">type</a></code> attribute, but must match
@@ -361,7 +358,7 @@
    <dd><code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code></dd>
    <dd><code title="attr-script-type"><a href="#attr-script-type">type</a></code></dd>
    <dd><code title="attr-script-charset"><a href="#attr-script-charset">charset</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlscriptelement">HTMLScriptElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-script-src" title="dom-script-src">src</a>;
@@ -372,7 +369,7 @@
            attribute DOMString <a href="#dom-script-text" title="dom-script-text">text</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-script-element">script</a></code> element allows authors to include dynamic
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-script-element">script</a></code> element allows authors to include dynamic
   script and data blocks in their documents. The element does not
   <a href="rendering.html#represents" title="represents">represent</a> content for the user.</p>
 
@@ -442,8 +439,8 @@
   therefore by necessity scattered throughout the specification. The
   algorithms below (in this section) describe the core of this
   processing, but these algorithms reference and are referenced by the
-  parsing rules for <code><a href="#the-script-element">script</a></code> <a href="tree-construction.html#scriptTag">start</a>
-  and <a href="tree-construction.html#scriptEndTag">end</a> tags in HTML, <a href="tree-construction.html#scriptForeignEndTag">in foreign content</a>, and <a href="the-xhtml-syntax.html#scriptTagXML">in XML</a>, the rules for the <code title="dom-document-write"><a href="dynamic-markup-insertion.html#dom-document-write">document.write()</a></code> method, the
+  parsing rules for <code><a href="#the-script-element">script</a></code> <a href="tokenization.html#scriptTag">start</a>
+  and <a href="tokenization.html#scriptEndTag">end</a> tags in HTML, <a href="tokenization.html#scriptForeignEndTag">in foreign content</a>, and <a href="the-xhtml-syntax.html#scriptTagXML">in XML</a>, the rules for the <code title="dom-document-write"><a href="dynamic-markup-insertion.html#dom-document-write">document.write()</a></code> method, the
   handling of <a href="webappapis.html#scripting">scripting</a>, etc.</p>
 
   <p>The <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> attribute may be
@@ -454,7 +451,8 @@
 
   <p>Changing the <code title="attr-script-src"><a href="#attr-script-src">src</a></code>, <code title="attr-script-type"><a href="#attr-script-type">type</a></code>, <code title="attr-script-charset"><a href="#attr-script-charset">charset</a></code>, <code title="attr-script-async"><a href="#attr-script-async">async</a></code>, and <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> attributes dynamically has no
   direct effect; these attribute are only used at specific times
-  described below.</p> 
+  described below.</p> <!-- by implication, changes to the base URL
+  also have no effect -->
 
   <div class="impl">
 
@@ -481,7 +479,9 @@
   and the <a href="the-xhtml-syntax.html#xml-parser">XML parser</a> on <code><a href="#the-script-element">script</a></code> elements they
   insert. In addition, whenever a <code><a href="#the-script-element">script</a></code> element whose
   <a href="#force-async">"force-async"</a> flag is set has a <code title="attr-script-async"><a href="#attr-script-async">async</a></code> content attribute added, the
-  element's <a href="#force-async">"force-async"</a> flag must be unset.</p> 
+  element's <a href="#force-async">"force-async"</a> flag must be unset.</p> <!--
+  there's no need to unset it when the attribute is removed since you
+  can't have the attribute and the flag set at once. -->
 
   <p>The fourth is a flag indicating whether or not the script block is
   <dfn id="ready-to-be-parser-executed">"ready to be parser-executed"</dfn>. Initially,
@@ -491,9 +491,9 @@
   <a href="#parser-inserted">"parser-inserted"</a>, to let the parser know when to
   execute the script.</p>
 
-  <p>The last few pieces of state are <dfn id="the-script-block-s-type"><var>the script block's
-  type</var></dfn>, <dfn id="the-script-block-s-character-encoding"><var>the script block's character
-  encoding</var></dfn>, and <dfn id="the-script-block-s-fallback-character-encoding"><var>the script block's fallback
+  <p>The last few pieces of state are <dfn id="the-script-block's-type"><var>the script block's
+  type</var></dfn>, <dfn id="the-script-block's-character-encoding"><var>the script block's character
+  encoding</var></dfn>, and <dfn id="the-script-block's-fallback-character-encoding"><var>the script block's fallback
   character encoding</var></dfn>. They are determined when the script
   is prepared, based on the attributes on the element at that time,
   and the <code><a href="dom.html#document">Document</a></code> of the <code><a href="#the-script-element">script</a></code>
@@ -540,7 +540,7 @@
     scripting language, another script can later mutate them and cause
     them to run again.</p>
 
-    
+    <!-- q.v. http://hsivonen.iki.fi/test/moz/script-setting-src-on-parser-inserted-script.html -->
 
    </li>
 
@@ -563,7 +563,7 @@
 
     <p>If the element has no <code title="attr-script-src"><a href="#attr-script-src">src</a></code>
     attribute, and its child nodes, if any, consist only of comment
-    nodes and empty <code><a href="infrastructure.html#text">Text</a></code> nodes, then the user agent must
+    nodes and empty <code><a href="infrastructure.html#text-0">Text</a></code> nodes, then the user agent must
     abort these steps at this point. The script is not executed.</p>
 
    </li>
@@ -588,18 +588,21 @@
 
      <li>the <code><a href="#the-script-element">script</a></code> element has neither a <code title="attr-script-type"><a href="#attr-script-type">type</a></code> attribute nor a <code title="attr-script-language"><a href="obsolete.html#attr-script-language">language</a></code> attribute, then</li>
 
-    </ul><p>...let <var><a href="#the-script-block-s-type">the script block's type</a></var> for this
+    </ul><p>...let <var><a href="#the-script-block's-type">the script block's type</a></var> for this
     <code><a href="#the-script-element">script</a></code> element be "<code title="">text/javascript</code>".</p>
 
-    <p>Otherwise, if the <code><a href="#the-script-element">script</a></code> element has a <code title="attr-script-type"><a href="#attr-script-type">type</a></code> attribute, let <var><a href="#the-script-block-s-type">the
+    <p>Otherwise, if the <code><a href="#the-script-element">script</a></code> element has a <code title="attr-script-type"><a href="#attr-script-type">type</a></code> attribute, let <var><a href="#the-script-block's-type">the
     script block's type</a></var> for this <code><a href="#the-script-element">script</a></code> element be
     the value of that attribute with any leading or trailing sequences
     of <a href="common-microsyntaxes.html#space-character" title="space character">space characters</a>
-    removed.</p> 
+    removed.</p> <!-- <span>Strip leading and trailing
+    whitespace</span> from... -->
 
     <p>Otherwise, the element has a non-empty <code title="attr-script-language"><a href="obsolete.html#attr-script-language">language</a></code> attribute; let
-    <var><a href="#the-script-block-s-type">the script block's type</a></var> for this <code><a href="#the-script-element">script</a></code>
-    element be the concatenation of the string "<code title="">text/</code>" followed by the value of the <code title="attr-script-language"><a href="obsolete.html#attr-script-language">language</a></code> attribute.</p> 
+    <var><a href="#the-script-block's-type">the script block's type</a></var> for this <code><a href="#the-script-element">script</a></code>
+    element be the concatenation of the string "<code title="">text/</code>" followed by the value of the <code title="attr-script-language"><a href="obsolete.html#attr-script-language">language</a></code> attribute.</p> <!--
+    user agents already support, e.g., type="text/javascript1.3", so
+    we don't have to support that separately. -->
 
     <p class="note">The <code title="attr-script-language"><a href="obsolete.html#attr-script-language">language</a></code> attribute is never
     conforming, and is always ignored if there is a <code title="attr-script-type"><a href="#attr-script-type">type</a></code> attribute present.</p>
@@ -609,7 +612,7 @@
    <li>
 
     <p>If the user agent does not <a href="#support-the-scripting-language">support the scripting
-    language</a> given by <var><a href="#the-script-block-s-type">the script block's type</a></var> for
+    language</a> given by <var><a href="#the-script-block's-type">the script block's type</a></var> for
     this <code><a href="#the-script-element">script</a></code> element, then the user agent must abort
     these steps at this point. The script is not executed.</p>
 
@@ -656,7 +659,8 @@
     scripts in documents created by <code>XSLTProcessor</code>'s <code title="dom-XSLTProcessor-transformToDocument">transformToDocument</code>
     feature, and scripts that are first inserted by a script into a
     <code><a href="dom.html#document">Document</a></code> that was created using the <code title="dom-DOMImplementation-createDocument"><a href="infrastructure.html#dom-domimplementation-createdocument">createDocument()</a></code>
-    API. <a href="references.html#refsXHR">[XHR]</a> <a href="references.html#refsDOMPARSING">[DOMPARSING]</a>  <a href="references.html#refsDOMCORE">[DOMCORE]</a></p>
+    API. <a href="references.html#refsXHR">[XHR]</a> <a href="references.html#refsDOMPARSING">[DOMPARSING]</a> <!--<a
+    href="#refsXSLTP">[XSLTP]</a>--> <a href="references.html#refsDOMCORE">[DOMCORE]</a></p>
 
 
    </li>
@@ -686,12 +690,12 @@
    <li id="script-processing-encoding">
 
     <p>If the <code><a href="#the-script-element">script</a></code> element has a <code title="attr-script-charset"><a href="#attr-script-charset">charset</a></code> attribute, then let
-    <var><a href="#the-script-block-s-character-encoding">the script block's character encoding</a></var> for this
+    <var><a href="#the-script-block's-character-encoding">the script block's character encoding</a></var> for this
     <code><a href="#the-script-element">script</a></code> element be the encoding given by the <code title="attr-script-charset"><a href="#attr-script-charset">charset</a></code> attribute.</p>
 
-    <p>Otherwise, let <var><a href="#the-script-block-s-fallback-character-encoding">the script block's fallback character
+    <p>Otherwise, let <var><a href="#the-script-block's-fallback-character-encoding">the script block's fallback character
     encoding</a></var> for this <code><a href="#the-script-element">script</a></code> element be the same as
-    <a href="infrastructure.html#document-s-character-encoding" title="document's character encoding">the encoding of the
+    <a href="infrastructure.html#document's-character-encoding" title="document's character encoding">the encoding of the
     document itself</a>.</p>
 
     <p class="note">Only one of these two pieces of state is set.</p>
@@ -705,8 +709,8 @@
     that attribute must be <a href="urls.html#resolve-a-url" title="resolve a url">resolved</a>
     relative to the element, and if that is successful, the specified
     resource must then be <a href="urls.html#fetch" title="fetch">fetched</a>, from the
-    <a href="origin-0.html#origin">origin</a> of the element's <code><a href="dom.html#document">Document</a></code>.</p>
-    
+    <a href="browsers.html#origin-0">origin</a> of the element's <code><a href="dom.html#document">Document</a></code>.</p>
+    <!-- not http-origin privacy sensitive -->
 
     <p>If the <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute's
     value is the empty string or if it could not be resolved, then the
@@ -728,13 +732,14 @@
     document">inserted into the document</a>, the load must have
     started. If the UA performs such prefetching, but the element is
     never inserted in the document, or the <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute is dynamically
-    changed, then the
+    changed,<!-- or the base URL is dynamically changed,--> then the
     user agent will not execute the script, and the fetching process
     will have been effectively wasted.</p>
 
    </li>
 
-   
+   <!-- at this point if the element is "parser-inserted" then we know
+   it is not "force-async". -->
 
    <li>
 
@@ -871,7 +876,7 @@
 
     </dl></li>
 
-  </ol><p>Fetching an external script must <a href="the-end.html#delay-the-load-event">delay the load
+  </ol><!-- similar text in various places --><p>Fetching an external script must <a href="the-end.html#delay-the-load-event">delay the load
   event</a> of the element's document until the <a href="webappapis.html#concept-task" title="concept-task">task</a> that is <a href="webappapis.html#queue-a-task" title="queue a
   task">queued</a> by the <a href="webappapis.html#networking-task-source">networking task source</a> once
   the resource has been <a href="urls.html#fetch" title="fetch">fetched</a> (defined
@@ -893,7 +898,13 @@
   blocks the parser until the style sheets are all loaded, at which
   time the script executes and the parser is unblocked).</p>
 
-  
+  <!-- also (and this would be worth testing): the way the spec is
+  written, if you do not have a style sheet that is blocking scripts,
+  then you parse a <script src>, then while waiting for the script to
+  load you insert an external style sheet, the script will delay until
+  the sheet is loaded, because there's just a binary "are style sheets
+  blocking scripts" state, things aren't defined in terms of which
+  style sheets are blocking which scripts -->
 
   <p>When the user agent is required to <dfn id="execute-the-script-block" title="execute the script
   block">execute a script block</dfn>, it must run the following
@@ -931,10 +942,10 @@
 
       <ol><li id="establish-script-block-source">
 
-        <p>Initialize <dfn id="the-script-block-s-source"><var>the script block's source</var></dfn>
+        <p>Initialize <dfn id="the-script-block's-source"><var>the script block's source</var></dfn>
         as follows:</p>
 
-        <dl class="switch"><dt>If the script is from an external file and <var><a href="#the-script-block-s-type">the
+        <dl class="switch"><dt>If the script is from an external file and <var><a href="#the-script-block's-type">the
          script block's type</a></var> is a text-based language</dt>
 
          <dd>
@@ -952,7 +963,7 @@
            encoding, and jump to the bottom step in this series of
            steps.</p></li>
 
-           <li><p>If the algorithm above set <var><a href="#the-script-block-s-character-encoding">the script block's
+           <li><p>If the algorithm above set <var><a href="#the-script-block's-character-encoding">the script block's
            character encoding</a></var>, then let <var title="">character
            encoding</var> be that encoding, and jump to the bottom
            step in this series of steps.</p></li>
@@ -965,45 +976,56 @@
            the cell in the second column of that row, and jump to the
            bottom step in this series of steps:</p>
 
-            
+            <!-- this table is present in several forms in this file; keep them in sync -->
             <table id="table-script-bom"><thead><tr><th>Bytes in Hexadecimal
                </th><th>Encoding
-             </th></tr></thead><tbody><tr><td>FE FF
+             </th></tr></thead><tbody><!-- nobody uses this
+              <tr>
+               <td>00 00 FE FF
+               <td>UTF-32BE
+              <tr>
+               <td>FF FE 00 00
+               <td>UTF-32LE
+    --><tr><td>FE FF
                </td><td>Big-endian UTF-16
               </td></tr><tr><td>FF FE
                </td><td>Little-endian UTF-16
               </td></tr><tr><td>EF BB BF
                </td><td>UTF-8
-    
+    <!-- nobody uses this
+              <tr>
+               <td>DD 73 66 73
+               <td>UTF-EBCDIC
+    -->
             </td></tr></tbody></table><p class="note">This step looks for Unicode Byte Order
             Marks (BOMs).</p>
 
            </li>
 
            <li><p>Let <var title="">character encoding</var> be
-           <var><a href="#the-script-block-s-fallback-character-encoding">the script block's fallback character
+           <var><a href="#the-script-block's-fallback-character-encoding">the script block's fallback character
            encoding</a></var>.</p></li>
 
            <li><p>Convert the file to Unicode using <var>character
            encoding</var>, following the rules for doing so given by
-           the specification for <var><a href="#the-script-block-s-type">the script block's
+           the specification for <var><a href="#the-script-block's-type">the script block's
            type</a></var>.</p></li>
 
           </ol></dd>
 
-         <dt>If the script is from an external file and <var><a href="#the-script-block-s-type">the
+         <dt>If the script is from an external file and <var><a href="#the-script-block's-type">the
          script block's type</a></var> is an XML-based language</dt>
 
          <dd>
 
           <p>The external file is the script source. When it is later
           executed, it must be interpreted in a manner consistent with
-          the specification defining the language given by <var><a href="#the-script-block-s-type">the
+          the specification defining the language given by <var><a href="#the-script-block's-type">the
           script block's type</a></var>.</p>
 
          </dd>
 
-         <dt>If the script is inline and <var><a href="#the-script-block-s-type">the script block's
+         <dt>If the script is inline and <var><a href="#the-script-block's-type">the script block's
          type</a></var> is a text-based language</dt>
 
          <dd>
@@ -1014,7 +1036,7 @@
 
          </dd>
 
-         <dt>If the script is inline and <var><a href="#the-script-block-s-type">the script block's
+         <dt>If the script is inline and <var><a href="#the-script-block's-type">the script block's
          type</a></var> is an XML-based language</dt>
 
          <dd>
@@ -1050,8 +1072,8 @@
 
         <p><a href="webappapis.html#create-a-script-from-a-node" title="create a script from a node">Create a
         script</a> from the <code><a href="#the-script-element">script</a></code> element node, using
-        <var><a href="#the-script-block-s-source">the script block's source</a></var>, the <a href="urls.html#url">URL</a>
-        from which the script was obtained, and <var><a href="#the-script-block-s-type">the script
+        <var><a href="#the-script-block's-source">the script block's source</a></var>, the <a href="urls.html#url">URL</a>
+        from which the script was obtained, and <var><a href="#the-script-block's-type">the script
         block's type</a></var>.</p>
 
         <p class="note">This is where the script is compiled and
@@ -1109,13 +1131,13 @@
 
   </div>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">script</var> . <code title="dom-script-text"><a href="#dom-script-text">text</a></code> [ = <var title="">value</var> ]</dt>
 
    <dd>
 
     <p>Returns the contents of the element, ignoring child nodes that
-    aren't <code><a href="infrastructure.html#text">Text</a></code> nodes.</p>
+    aren't <code><a href="infrastructure.html#text-0">Text</a></code> nodes.</p>
 
     <p>Can be set, to replace the element's children with the given
     value.</p>
@@ -1125,14 +1147,14 @@
   </dl><div class="impl">
 
   <p>The IDL attribute <dfn id="dom-script-text" title="dom-script-text"><code>text</code></dfn> must return a
-  concatenation of the contents of all the <code><a href="infrastructure.html#text">Text</a></code> nodes
+  concatenation of the contents of all the <code><a href="infrastructure.html#text-0">Text</a></code> nodes
   that are children of the <code><a href="#the-script-element">script</a></code> element (ignoring any
   other nodes such as comments or elements), in tree order. On
   setting, it must act the same way as the <code><a href="infrastructure.html#textcontent">textContent</a></code>
   IDL attribute.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
   <p class="note">When inserted using the <code title="dom-document-write"><a href="dynamic-markup-insertion.html#dom-document-write">document.write()</a></code> method,
   <code><a href="#the-script-element">script</a></code> elements execute (typically synchronously), but
@@ -1210,7 +1232,7 @@
   <div class="impl">
 
   <p>A user agent is said to <dfn id="support-the-scripting-language">support the scripting language</dfn>
-  if <var><a href="#the-script-block-s-type">the script block's type</a></var> is an <a href="infrastructure.html#ascii-case-insensitive">ASCII
+  if <var><a href="#the-script-block's-type">the script block's type</a></var> is an <a href="infrastructure.html#ascii-case-insensitive">ASCII
   case-insensitive</a> match for the <a href="infrastructure.html#mime-type">MIME type</a> string
   of a scripting language that the user agent implements.</p>
 
@@ -1250,20 +1272,23 @@
 
   <ul class="brief"><li>"<code>text/plain</code>"
    </li><li>"<code>text/xml</code>"
-   
+   <!--<li>"<code>text/html</code>"-->
    </li><li>"<code>application/octet-stream</code>"
    </li><li>"<code>application/xml</code>"
-   
-   
+   <!--<li>"<code>application/xhtml+xml</code>"-->
+   <!--<li>"<code>image/svg+xml</code>"-->
 
-   
+   <!-- the commented-out ones aren't listed here because they
+   couldn't sanely be interpreted as a scripting language anyway:
+   they're defined to be something else. I just don't want this to
+   devolve into a list of every non-scripting type in existence. -->
 
   </li></ul><p class="note">These types are explicitly listed here because they
   are poorly-defined types that are nonetheless likely to be used as
   formats for data blocks, and it would be problematic if they were
   suddenly to be interpreted as script by a user agent.</p>
 
-  
+  <!-- this paragraph is also present in the <style> section -->
   <p>When examining types to determine if they support the language,
   user agents must not ignore unknown MIME parameters &#8212; types
   with unknown parameters must be assumed to be unsupported. The <code title="">charset</code> parameter must be treated as an unknown
@@ -1283,10 +1308,10 @@
 escape        = "&lt;!--" data2 *( script-start data3 script-end data2 )
 
 data1         = &lt;any string that doesn't contain a substring that matches not-data1&gt;
-not-data1     = "&lt;!--"             
+not-data1     = <!-- script-end / -->"&lt;!--"             <!-- the script-end is redundant here since it would close the element -->
 
 data2         = &lt;any string that doesn't contain a substring that matches not-data2&gt;
-not-data2     = script-start / "--&gt;"  
+not-data2     = <!-- script-end / -->script-start / "--&gt;"  <!-- the script-end is redundant here since it would close the element -->
 
 data3         = &lt;any string that doesn't contain a substring that matches not-data3&gt;
 not-data3     = script-end / "--&gt;"
@@ -1379,7 +1404,6 @@
   <h5 id="scriptTagXSLT"><span class="secno">4.3.1.4 </span>Interaction of <code><a href="#the-script-element">script</a></code> elements and XSLT</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>This specification does not define how XSLT interacts with the
   <code><a href="#the-script-element">script</a></code> element (or, indeed, how XSLT processing
   triggers the <a href="the-end.html#stop-parsing">stop parsing</a> steps, how it interacts with

Index: the-input-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-input-element.html,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -d -r1.219 -r1.220
--- the-input-element.html	26 Jun 2012 20:46:58 -0000	1.219
+++ the-input-element.html	22 Aug 2012 10:52:50 -0000	1.220
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.7 The input element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.7 The input element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
[...2169 lines suppressed...]
+  <code><a href="#the-input-element">input</a></code> element's <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is not in the <a href="states-of-the-type-attribute.html#image-button-state-(type=image)" title="attr-input-type-image">Image Button</a> state, then no
   image is <i title="input-img-available"><a href="states-of-the-type-attribute.html#input-img-available">available</a></i>. <a href="references.html#refsCSS">[CSS]</a></p>
 
   <p>On setting, they must act as if they <a href="common-dom-interfaces.html#reflect" title="reflect">reflected</a> the respective content attributes
@@ -1710,11 +1710,11 @@
   attributes, and the <code title="dom-cva-checkValidatity"><a href="constraints.html#dom-cva-checkvalidatity">checkValidity()</a></code> and <code title="dom-cva-setCustomValidity"><a href="constraints.html#dom-cva-setcustomvalidity">setCustomValidity()</a></code>
   methods, are part of the <a href="constraints.html#the-constraint-validation-api">constraint validation API</a>. The
   <code title="dom-lfe-labels"><a href="the-label-element.html#dom-lfe-labels">labels</a></code> attribute provides a list
-  of the element's <code><a href="the-label-element.html#the-label-element">label</a></code>s. The <code title="dom-textarea/input-select"><a href="textFieldSelection.html#dom-textarea-input-select">select()</a></code>, <code title="dom-textarea/input-selectionStart"><a href="textFieldSelection.html#dom-textarea-input-selectionstart">selectionStart</a></code>,
-  <code title="dom-textarea/input-selectionEnd"><a href="textFieldSelection.html#dom-textarea-input-selectionend">selectionEnd</a></code>,
-  <code title="dom-textarea/input-selectionDirection"><a href="textFieldSelection.html#dom-textarea-input-selectiondirection">selectionDirection</a></code>,
+  of the element's <code><a href="the-label-element.html#the-label-element">label</a></code>s. The <code title="dom-textarea/input-select"><a href="textFieldSelection.html#dom-textarea/input-select">select()</a></code>, <code title="dom-textarea/input-selectionStart"><a href="textFieldSelection.html#dom-textarea/input-selectionstart">selectionStart</a></code>,
+  <code title="dom-textarea/input-selectionEnd"><a href="textFieldSelection.html#dom-textarea/input-selectionend">selectionEnd</a></code>,
+  <code title="dom-textarea/input-selectionDirection"><a href="textFieldSelection.html#dom-textarea/input-selectiondirection">selectionDirection</a></code>,
   <code title="dom-textarea/input-setRangeText">setRangeText()</code>,
-  and <code title="dom-textarea/input-setSelectionRange"><a href="textFieldSelection.html#dom-textarea-input-setselectionrange">setSelectionRange()</a></code>
+  and <code title="dom-textarea/input-setSelectionRange"><a href="textFieldSelection.html#dom-textarea/input-setselectionrange">setSelectionRange()</a></code>
   methods and attributes expose the element's text selection. The
   <code title="dom-fe-autofocus"><a href="attributes-common-to-form-controls.html#dom-fe-autofocus">autofocus</a></code>, <code title="dom-fe-disabled"><a href="attributes-common-to-form-controls.html#dom-fe-disabled">disabled</a></code>, <code title="dom-fae-form"><a href="association-of-controls-and-forms.html#dom-fae-form">form</a></code>, and <code title="dom-fe-name"><a href="attributes-common-to-form-controls.html#dom-fe-name">name</a></code> IDL attributes are part of the
   element's forms API.</p>

Index: constraints.html
===================================================================
RCS file: /sources/public/html5/spec/constraints.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- constraints.html	26 Jun 2012 20:46:40 -0000	1.158
+++ constraints.html	22 Aug 2012 10:52:40 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.21 Constraints &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.21 Constraints &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
[...1112 lines suppressed...]
+
+  <h4 id="resetting-a-form"><span class="secno">4.10.23 </span>Resetting a form</h4>
+
+  <p>When a <code><a href="the-form-element.html#the-form-element">form</a></code> element <var title="">form</var> is <dfn id="concept-form-reset" title="concept-form-reset">reset</dfn>, the user agent must
+  <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-reset">reset</code>, that is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must
+  invoke the <a href="#concept-form-reset-control" title="concept-form-reset-control">reset
+  algorithm</a> of each <a href="forms.html#category-reset" title="category-reset">resettable
+  element</a> whose <a href="association-of-controls-and-forms.html#form-owner">form owner</a> is <var title="">form</var>.</p>
+
+  <p>Each <a href="forms.html#category-reset" title="category-reset">resettable element</a>
+  defines its own <dfn id="concept-form-reset-control" title="concept-form-reset-control">reset
+  algorithm</dfn>. Changes made to form controls as part of these
+  algorithms do not count as changes caused by the user (and thus,
+  e.g., do not cause <code title="event-input">input</code> events to
+  fire).</p>
+
+  </div>
 
 
 

Index: the-p-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-p-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-p-element.html	26 Jun 2012 20:47:02 -0000	1.158
+++ the-p-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.5.1 The p element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.5.1 The p element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,42 +316,39 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="grouping-content.html" title="4.5 Grouping content" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="grouping-content.html" title="4.5 Grouping content" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-hr-element.html" title="4.5.2 The hr element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="grouping-content.html">&#8592; 4.5 Grouping content</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-hr-element.html">4.5.2 The hr element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-p-element"><span class="secno">4.5.1 </span>The <dfn><code>p</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmlparagraphelement">HTMLParagraphElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre>
    </dd>
-  </dl><p>The <code><a href="#the-p-element">p</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-p-element">p</a></code> element <a href="rendering.html#represents">represents</a> a
   <a href="content-models.html#paragraph">paragraph</a>.</p>
 
   <p class="note">While paragraphs are usually represented in visual

Index: examples.html
===================================================================
RCS file: /sources/public/html5/spec/examples.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- examples.html	26 Jun 2012 20:46:41 -0000	1.158
+++ examples.html	22 Aug 2012 10:52:41 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.9.13 Examples &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.9.13 Examples &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,36 +316,32 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="attributes-common-to-td-and-th-elements.html" title="4.9.11 Attributes common to td and th elements" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="attributes-common-to-td-and-th-elements.html" title="4.9.11 Attributes common to td and th elements" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="forms.html" title="4.10 Forms" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="attributes-common-to-td-and-th-elements.html">&#8592; 4.9.11 Attributes common to td and th elements</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="forms.html">4.10 Forms &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="examples"><span class="secno">4.9.13 </span>Examples</h4>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>The following shows how might one mark up the bottom part of
   table 45 of the <cite>Smithsonian physical tables, Volume
   71</cite>:</p>
 
-   
-   
+   <!-- Smithsonian physical tables, Volume 71: By Smithsonian Institution, Frederick Eugene Fowle; page 76 -->
+   <!-- from the reprint of the seventh revised edition; publication 2539, published 1921 -->
   <pre>&lt;table&gt;
  &lt;caption&gt;Specification values: &lt;b&gt;Steel&lt;/b&gt;, &lt;b&gt;Castings&lt;/b&gt;,
  Ann. A.S.T.M. A27-16, Class B;* P max. 0.06; S max. 0.05.&lt;/caption&gt;
@@ -454,6 +450,7 @@
    &lt;td&gt;29.0%
 &lt;/table&gt;</pre>
 
+<!--HTML4POLICE--><!--FORK-->
 
   <hr><p>The following shows how one might mark up the operating expenses
   table from lower on the same page of that document:</p>

Index: the-map-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-map-element.html,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -d -r1.219 -r1.220
--- the-map-element.html	26 Jun 2012 20:46:59 -0000	1.219
+++ the-map-element.html	22 Aug 2012 10:52:51 -0000	1.220
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.8.12 The map element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.8.12 The map element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-canvas-element.html" title="4.8.11 The canvas element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-canvas-element.html" title="4.8.11 The canvas element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-area-element.html" title="4.8.13 The area element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-canvas-element.html">&#8592; 4.8.11 The canvas element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-area-element.html">4.8.13 The area element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-map-element"><span class="secno">4.8.12 </span>The <dfn><code>map</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: <a href="content-models.html#phrasing-content">phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: <a href="content-models.html#phrasing-content-1">phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
-   <dd>Otherwise: where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
+   <dd>Otherwise: where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd><a href="content-models.html#transparent">Transparent</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-map-name"><a href="#attr-map-name">name</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlmapelement">HTMLMapElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-map-name" title="dom-map-name">name</a>;
@@ -358,7 +355,7 @@
   readonly attribute <a href="infrastructure.html#htmlcollection">HTMLCollection</a> <a href="#dom-map-images" title="dom-map-images">images</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-map-element">map</a></code> element, in conjunction with any
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-map-element">map</a></code> element, in conjunction with any
   <code><a href="the-area-element.html#the-area-element">area</a></code> element descendants, defines an <a href="image-maps.html#image-map">image
   map</a>. The element <a href="rendering.html#represents">represents</a> its children.</p>
 
@@ -372,7 +369,7 @@
   document. If the <code title="attr-id"><a href="global-attributes.html#the-id-attribute">id</a></code> attribute is also
   specified, both attributes must have the same value.</p>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">map</var> . <code title="dom-map-areas"><a href="#dom-map-areas">areas</a></code></dt>
 
    <dd>
@@ -407,7 +404,7 @@
   <a href="common-dom-interfaces.html#reflect">reflect</a> the content attribute of the same name.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
   <div class="example">
 

Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec/browsers.html,v
retrieving revision 1.1245
retrieving revision 1.1246
diff -u -d -r1.1245 -r1.1246
--- browsers.html	26 Jun 2012 20:46:39 -0000	1.1245
+++ browsers.html	22 Aug 2012 10:52:39 -0000	1.1246
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>5 Loading Web pages &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>5 Loading Web pages &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
[...1333 lines suppressed...]
+  created, its <a href="#popup-sandboxing-flag-set">popup sandboxing flag set</a> must be empty.
+  It is populated by <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>.</p>
+
+  <p>Every <a href="#nested-browsing-context">nested browsing context</a> has an
+  <dfn id="iframe-sandboxing-flag-set"><code>iframe</code> sandboxing flag set</dfn>, which is a
+  <a href="#sandboxing-flag-set">sandboxing flag set</a>. Which flags in a <a href="#nested-browsing-context">nested
+  browsing context</a>'s <a href="#iframe-sandboxing-flag-set"><code>iframe</code> sandboxing flag
+  set</a> are set at any particular time is determined by the
+  <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code> element's <code title="attr-iframe-sandbox"><a href="the-iframe-element.html#attr-iframe-sandbox">sandbox</a></code> attribute.</p>
+
+  <p>Every <code><a href="dom.html#document">Document</a></code> has an <dfn id="active-sandboxing-flag-set">active sandboxing flag
+  set</dfn>, which is a <a href="#sandboxing-flag-set">sandboxing flag set</a>. When the
+  <code><a href="dom.html#document">Document</a></code> is created, its <a href="#active-sandboxing-flag-set">active sandboxing flag
+  set</a> must be empty. It is populated by the <a href="history.html#navigate" title="navigate">navigation algorithm</a>.</p>
+
 
 
   </body></html>
\ No newline at end of file

--- the-h4-element.html DELETED ---

Index: the-head-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-head-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-head-element.html	26 Jun 2012 20:46:58 -0000	1.158
+++ the-head-element.html	22 Aug 2012 10:52:50 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.2.1 The head element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.2.1 The head element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-html-element.html" title="4.1.1 The html element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-html-element.html" title="4.1.1 The html element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-title-element.html" title="4.2.2 The title element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-html-element.html">&#8592; 4.1.1 The html element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-title-element.html">4.2.2 The title element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-head-element"><span class="secno">4.2.1 </span>The <dfn><code>head</code></dfn> element</h4>
 
@@ -343,15 +340,15 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As the first element in an <code><a href="the-html-element.html#the-html-element">html</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd>If the document is <a href="the-iframe-element.html#an-iframe-srcdoc-document">an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</a> or if title information is available from a higher-level protocol: Zero or more elements of <a href="content-models.html#metadata-content">metadata content</a>.</dd>
-   <dd>Otherwise: One or more elements of <a href="content-models.html#metadata-content">metadata content</a>, of which exactly one is a <code><a href="the-title-element.html#the-title-element">title</a></code> element.</dd>
+   <dd>If the document is <a href="the-iframe-element.html#an-iframe-srcdoc-document">an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</a> or if title information is available from a higher-level protocol: Zero or more elements of <a href="content-models.html#metadata-content-0">metadata content</a>.</dd>
+   <dd>Otherwise: One or more elements of <a href="content-models.html#metadata-content-0">metadata content</a>, of which exactly one is a <code><a href="the-title-element.html#the-title-element">title</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmlheadelement">HTMLHeadElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre>
    </dd>
-  </dl><p>The <code><a href="#the-head-element">head</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-head-element">head</a></code> element <a href="rendering.html#represents">represents</a> a
   collection of metadata for the <code><a href="dom.html#document">Document</a></code>.</p>
 
   <div class="example">

Index: the-s-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-s-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-s-element.html	26 Jun 2012 20:47:02 -0000	1.158
+++ the-s-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.5 The s element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.5 The s element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-small-element.html" title="4.6.4 The small element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-small-element.html" title="4.6.4 The small element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-cite-element.html" title="4.6.6 The cite element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-small-element.html">&#8592; 4.6.4 The small element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-cite-element.html">4.6.6 The cite element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-s-element"><span class="secno">4.6.5 </span>The <dfn><code>s</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-s-element">s</a></code> element <a href="rendering.html#represents">represents</a> contents that
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-s-element">s</a></code> element <a href="rendering.html#represents">represents</a> contents that
   are no longer accurate or no longer relevant.</p>
 
   <p class="note">The <code><a href="#the-s-element">s</a></code> element is not appropriate when

Index: the-section-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-section-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-section-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-section-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.4.2 The section element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.4.2 The section element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-body-element.html" title="4.4.1 The body element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-body-element.html" title="4.4.1 The body element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-nav-element.html" title="4.4.3 The nav element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-body-element.html">&#8592; 4.4.1 The body element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-nav-element.html">4.4.3 The nav element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-section-element"><span class="secno">4.4.2 </span>The <dfn><code>section</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#sectioning-content">Sectioning content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#sectioning-content-0">Sectioning content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-section-element">section</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-section-element">section</a></code> element <a href="rendering.html#represents">represents</a> a
   generic section of a document or application. A section, in this
   context, is a thematic grouping of content, typically with a
   heading.</p>
@@ -398,7 +395,7 @@
 &lt;/article&gt;</pre>
 
    <p>Notice how the use of <code><a href="#the-section-element">section</a></code> means that the author
-   can use <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code> elements throughout, without having to
+   can use <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h1</a></code> elements throughout, without having to
    worry about whether a particular section is at the top level, the
    second level, the third level, and so on.</p>
 

Index: the-article-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-article-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-article-element.html	26 Jun 2012 20:46:53 -0000	1.158
+++ the-article-element.html	22 Aug 2012 10:52:47 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.4.4 The article element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.4.4 The article element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-nav-element.html" title="4.4.3 The nav element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-nav-element.html" title="4.4.3 The nav element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-aside-element.html" title="4.4.5 The aside element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-nav-element.html">&#8592; 4.4.3 The nav element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-aside-element.html">4.4.5 The aside element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-article-element"><span class="secno">4.4.4 </span>The <dfn><code>article</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#sectioning-content">Sectioning content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#sectioning-content-0">Sectioning content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-article-element">article</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-article-element">article</a></code> element <a href="rendering.html#represents">represents</a> a
   self-contained composition in a document, page, application, or site
   and that is, in principle, independently distributable or reusable,
   e.g. in syndication. This could be a forum post, a magazine or

Index: the-blockquote-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-blockquote-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-blockquote-element.html	26 Jun 2012 20:46:54 -0000	1.158
+++ the-blockquote-element.html	22 Aug 2012 10:52:47 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.5.4 The blockquote element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.5.4 The blockquote element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,40 +316,37 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-pre-element.html" title="4.5.3 The pre element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-pre-element.html" title="4.5.3 The pre element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-ol-element.html" title="4.5.5 The ol element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-pre-element.html">&#8592; 4.5.3 The pre element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-ol-element.html">4.5.5 The ol element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-blockquote-element"><span class="secno">4.5.4 </span>The <dfn><code>blockquote</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dd><a href="headings-and-sections.html#sectioning-root">Sectioning root</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-blockquote-cite"><a href="#attr-blockquote-cite">cite</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlquoteelement">HTMLQuoteElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-quote-cite" title="dom-quote-cite">cite</a>;
@@ -357,7 +354,7 @@
     <p class="note">The <code><a href="#htmlquoteelement">HTMLQuoteElement</a></code> interface is
     also used by the <code><a href="the-q-element.html#the-q-element">q</a></code> element.</p>
    </dd>
-  </dl><p>The <code><a href="#the-blockquote-element">blockquote</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-blockquote-element">blockquote</a></code> element <a href="rendering.html#represents">represents</a> a
   section that is quoted from another source.</p>
 
   <p>Content inside a <code><a href="#the-blockquote-element">blockquote</a></code> must be quoted from
@@ -389,7 +386,9 @@
   </div>
 
   <p>Attribution for the quotation, if any, must be placed outside the
-  <code><a href="#the-blockquote-element">blockquote</a></code> element.</p> 
+  <code><a href="#the-blockquote-element">blockquote</a></code> element.</p> <!-- Eventually someone is
+  going to ask about quotes that are self-attributing, e.g. someone
+  quoting an e-mail with full headers... -->
 
   <div class="example">
 

Index: the-rp-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-rp-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-rp-element.html	26 Jun 2012 20:47:02 -0000	1.158
+++ the-rp-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.22 The rp element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.22 The rp element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-rt-element.html" title="4.6.21 The rt element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-rt-element.html" title="4.6.21 The rt element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-bdi-element.html" title="4.6.23 The bdi element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-rt-element.html">&#8592; 4.6.21 The rt element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-bdi-element.html">4.6.23 The bdi element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-rp-element"><span class="secno">4.6.22 </span>The <dfn><code>rp</code></dfn> element</h4>
 
@@ -343,13 +340,16 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As a child of a <code><a href="the-ruby-element.html#the-ruby-element">ruby</a></code> element, either immediately before or immediately after an <code><a href="the-rt-element.html#the-rt-element">rt</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+<!--
+   <dd>If the <code>rp</code> element is immediately after an <code>rt</code> element that is immediately preceded by another <code>rp</code> element: a single character from Unicode character class Pe.</dd>
+   <dd>Otherwise: a single character from Unicode character class Ps.</dd>
+-->
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-rp-element">rp</a></code> element can be used to provide parentheses
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-rp-element">rp</a></code> element can be used to provide parentheses
   around a ruby text component of a ruby annotation, to be shown by
   user agents that don't support ruby annotations.</p>
 

Index: the-details-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-details-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-details-element.html	26 Jun 2012 20:46:56 -0000	1.158
+++ the-details-element.html	22 Aug 2012 10:52:48 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.11.1 The details element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.11.1 The details element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,47 +316,44 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="interactive-elements.html" title="4.11 Interactive elements" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="interactive-elements.html" title="4.11 Interactive elements" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-summary-element.html" title="4.11.2 The summary element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="interactive-elements.html">&#8592; 4.11 Interactive elements</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-summary-element.html">4.11.2 The summary element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-details-element"><span class="secno">4.11.1 </span>The <dfn><code>details</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dd><a href="headings-and-sections.html#sectioning-root">Sectioning root</a>.</dd>
-   <dd><a href="content-models.html#interactive-content">Interactive content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#interactive-content-0">Interactive content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd>One <code><a href="the-summary-element.html#the-summary-element">summary</a></code> element followed by <a href="content-models.html#flow-content">flow content</a>.</dd>
+   <dd>One <code><a href="the-summary-element.html#the-summary-element">summary</a></code> element followed by <a href="content-models.html#flow-content-1">flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-details-open"><a href="#attr-details-open">open</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmldetailselement">HTMLDetailsElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute boolean <a href="#dom-details-open" title="dom-details-open">open</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-details-element">details</a></code> element <a href="rendering.html#represents">represents</a> a
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-details-element">details</a></code> element <a href="rendering.html#represents">represents</a> a
   disclosure widget from which the user can obtain additional
   information or controls.</p>
 
@@ -436,7 +433,7 @@
    in a list to allow the user to collapse a set of fields down to a
    small set of headings, with the ability to open each one.</p>
 
-   <p class="details-example"><img alt="" height="611" src="http://dev.w3.org/html5/spec/images/sample-details-1.png" width="345"><img alt="" height="666" src="http://dev.w3.org/html5/spec/images/sample-details-2.png" width="345"></p>
+   <p class="details-example"><img alt="" height="611" src="images/sample-details-1.png" width="345"><img alt="" height="666" src="images/sample-details-2.png" width="345"></p>
 
    <p>In these examples, the summary really just summarises what the
    controls can change, and not the actual values, which is less than

Index: the-aside-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-aside-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-aside-element.html	26 Jun 2012 20:46:53 -0000	1.158
+++ the-aside-element.html	22 Aug 2012 10:52:47 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.4.5 The aside element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.4.5 The aside element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-article-element.html" title="4.4.4 The article element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
-  <link href="the-h1-h2-h3-h4-h5-and-h6-elements.html" title="4.4.6 The h1, h2, h3, h4, h5, and h6 elements" rel="next">
+  </script><link href="the-article-element.html" title="4.4.4 The article element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
+  <link href="the-hgroup-element.html" title="4.4.7 The hgroup element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-article-element.html">&#8592; 4.4.4 The article element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
-   <a href="the-h1-h2-h3-h4-h5-and-h6-elements.html">4.4.6 The h1, h2, h3, h4, h5, and h6 elements &#8594;</a>
-  </nav>
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
+   <a href="the-hgroup-element.html">4.4.7 The hgroup element &#8594;</a>
+  <ol class="toc"><li><ol><li><ol><li><a href="the-aside-element.html#the-aside-element"><span class="secno">4.4.5 </span>The <code>aside</code> element</a></li><li><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"><span class="secno">4.4.6 </span>The <code>h1</code>, <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>, and <code>h6</code> elements</a></li></ol></li></ol></li></ol></div>
 
   <h4 id="the-aside-element"><span class="secno">4.4.5 </span>The <dfn><code>aside</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#sectioning-content">Sectioning content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#sectioning-content-0">Sectioning content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-aside-element">aside</a></code> element <a href="rendering.html#represents">represents</a> a section
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-aside-element">aside</a></code> element <a href="rendering.html#represents">represents</a> a section
   of a page that consists of content that is tangentially related to
   the content around the <code><a href="#the-aside-element">aside</a></code> element, and which could
   be considered separate from that content. Such sections are often
@@ -483,4 +480,75 @@
 
 
 
+  <h4 id="the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"><span class="secno">4.4.6 </span>The <dfn id="the-h1-element"><code>h1</code></dfn>, <dfn id="the-h2-element"><code>h2</code></dfn>, <dfn id="the-h3-element"><code>h3</code></dfn>, <dfn id="the-h4-element"><code>h4</code></dfn>, <dfn id="the-h5-element"><code>h5</code></dfn>, and <dfn id="the-h6-element"><code>h6</code></dfn> elements</h4>
+
+  <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#heading-content-0">Heading content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
+   <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
+   <dd>As a child of an <code><a href="the-hgroup-element.html#the-hgroup-element">hgroup</a></code> element.</dd>
+   <dd>Where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
+   <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
+   <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
+   <dd>
+    <pre class="idl">interface <dfn id="htmlheadingelement">HTMLHeadingElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre>
+   </dd>
+  </dl><!--TOPIC:HTML--><p>These elements <a href="rendering.html#represents" title="represents">represent</a> headings
+  for their sections.</p>
+
+  <p>The semantics and meaning of these elements are defined in the
+  section on <a href="headings-and-sections.html#headings-and-sections">headings and sections</a>.</p>
+
+  <p>These elements have a <dfn id="rank">rank</dfn> given by the number in
+  their name. The <code><a href="#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h1</a></code> element is said to have the highest
+  rank, the <code><a href="#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h6</a></code> element has the lowest rank, and two
+  elements with the same name have equal rank.</p>
+
+  <div class="example">
+
+   <p>As far as their respective document outlines (their heading and
+   section structures) are concerned, these two snippets are
+   semantically equivalent:</p>
+
+   <pre>&lt;body&gt;
+&lt;h1&gt;Let's call it a draw(ing surface)&lt;/h1&gt;
+&lt;h2&gt;Diving in&lt;/h2&gt;
+&lt;h2&gt;Simple shapes&lt;/h2&gt;
+&lt;h2&gt;Canvas coordinates&lt;/h2&gt;
+&lt;h3&gt;Canvas coordinates diagram&lt;/h3&gt;
+&lt;h2&gt;Paths&lt;/h2&gt;
+&lt;/body&gt;</pre>
+
+   <pre>&lt;body&gt;
+ &lt;h1&gt;Let's call it a draw(ing surface)&lt;/h1&gt;
+ &lt;section&gt;
+  &lt;h1&gt;Diving in&lt;/h1&gt;
+ &lt;/section&gt;
+ &lt;section&gt;
+  &lt;h1&gt;Simple shapes&lt;/h1&gt;
+ &lt;/section&gt;
+ &lt;section&gt;
+  &lt;h1&gt;Canvas coordinates&lt;/h1&gt;
+  &lt;section&gt;
+   &lt;h1&gt;Canvas coordinates diagram&lt;/h1&gt;
+  &lt;/section&gt;
+ &lt;/section&gt;
+ &lt;section&gt;
+  &lt;h1&gt;Paths&lt;/h1&gt;
+ &lt;/section&gt;
+&lt;/body&gt;</pre>
+
+   <p>Authors might prefer the former style for its terseness, or the
+   latter style for its convenience in the face of heavy editing;
+   which is best is purely an issue of preferred authoring style.</p>
+
+  </div>
+
+
+
+
   </body></html>
\ No newline at end of file

Index: the-title-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-title-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-title-element.html	26 Jun 2012 20:47:04 -0000	1.158
+++ the-title-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.2.2 The title element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.2.2 The title element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,43 +316,40 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-head-element.html" title="4.2.1 The head element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-head-element.html" title="4.2.1 The head element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-base-element.html" title="4.2.3 The base element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-head-element.html">&#8592; 4.2.1 The head element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-base-element.html">4.2.3 The base element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-title-element"><span class="secno">4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#metadata-content">Metadata content</a>.</dd>
+   <dd><a href="content-models.html#metadata-content-0">Metadata content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>In a <code><a href="the-head-element.html#the-head-element">head</a></code> element containing no other <code><a href="#the-title-element">title</a></code> elements.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd><a href="content-models.html#text-content" title="text content">Text</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmltitleelement">HTMLTitleElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-title-text" title="dom-title-text">text</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-title-element">title</a></code> element <a href="rendering.html#represents">represents</a> the
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-title-element">title</a></code> element <a href="rendering.html#represents">represents</a> the
   document's title or name. Authors should use titles that identify
   their documents even when they are used out of context, for example
   in a user's history or bookmarks, or in search results. The
@@ -363,13 +360,13 @@
   <p>There must be no more than one <code><a href="#the-title-element">title</a></code> element per
   document.</p>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">title</var> . <code title="dom-title-text"><a href="#dom-title-text">text</a></code> [ = <var title="">value</var> ]</dt>
 
    <dd>
 
     <p>Returns the contents of the element, ignoring child nodes that
-    aren't <code><a href="infrastructure.html#text">Text</a></code> nodes.</p>
+    aren't <code><a href="infrastructure.html#text-0">Text</a></code> nodes.</p>
 
     <p>Can be set, to replace the element's children with the given
     value.</p>
@@ -379,14 +376,14 @@
   </dl><div class="impl">
 
   <p>The IDL attribute <dfn id="dom-title-text" title="dom-title-text"><code>text</code></dfn> must return a
-  concatenation of the contents of all the <code><a href="infrastructure.html#text">Text</a></code> nodes
+  concatenation of the contents of all the <code><a href="infrastructure.html#text-0">Text</a></code> nodes
   that are children of the <code><a href="#the-title-element">title</a></code> element (ignoring any
   other nodes such as comments or elements), in tree order. On
   setting, it must act the same way as the <code><a href="infrastructure.html#textcontent">textContent</a></code>
   IDL attribute.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
   <div class="example">
 

Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec/offline.html,v
retrieving revision 1.1215
retrieving revision 1.1216
diff -u -d -r1.1215 -r1.1216
--- offline.html	26 Jun 2012 20:46:48 -0000	1.1215
+++ offline.html	22 Aug 2012 10:52:44 -0000	1.1216
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>5.7 Offline Web applications &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>5.7 Offline Web applications &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,37 +316,77 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="history.html" title="5.5 Session history and navigation" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="history.html" title="5.5 Session history and navigation" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="webappapis.html" title="6 Web application APIs" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="history.html">&#8592; 5.5 Session history and navigation</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="webappapis.html">6 Web application APIs &#8594;</a>
   <ol class="toc"><li><ol><li><a href="offline.html#offline"><span class="secno">5.7 </span>Offline Web applications</a>
     <ol><li><a href="offline.html#introduction-4"><span class="secno">5.7.1 </span>Introduction</a>
       <ol><li><a href="offline.html#appcacheevents"><span class="secno">5.7.1.1 </span>Event summary</a></li></ol></li><li><a href="offline.html#appcache"><span class="secno">5.7.2 </span>Application caches</a></li><li><a href="offline.html#manifests"><span class="secno">5.7.3 </span>The cache manifest syntax</a>
-      <ol><li><a href="offline.html#some-sample-manifests"><span class="secno">5.7.3.1 </span>Some sample manifests</a></li><li><a href="offline.html#writing-cache-manifests"><span class="secno">5.7.3.2 </span>Writing cache manifests</a></li><li><a href="offline.html#parsing-cache-manifests"><span class="secno">5.7.3.3 </span>Parsing cache manifests</a></li></ol></li><li><a href="offline.html#downloading-or-updating-an-application-cache"><span class="secno">5.7.4 </span>Downloading or updating an application cache</a></li><li><a href="offline.html#the-application-cache-selection-algorithm"><span class="secno">5.7.5 </span>The application cache selection algorithm</a></li><li><a href="offline.html#changesToNetworkingModel"><span class="secno">5.7.6 </span>Changes to the networking model</a></li><li><a href="offline.html#expiring-application-caches"><span class="secno">5.7.7 </span>Expiring application caches</a></li><li><a href="offline.html#disk-space"><span class="secno">5.7.8 </span>Disk space</a></li><li><a href="offline.html#application-cache-api"><span class="secno">5.7.9 </span>Application cache API</a></li><li><a href="offline.html#browser-state"><span class="secno">5.7.10 </span>Browser state</a></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="offline.html#some-sample-manifests"><span class="secno">5.7.3.1 </span>Some sample manifests</a></li><li><a href="offline.html#writing-cache-manifests"><span class="secno">5.7.3.2 </span>Writing cache manifests</a></li><li><a href="offline.html#parsing-cache-manifests"><span class="secno">5.7.3.3 </span>Parsing cache manifests</a></li></ol></li><li><a href="offline.html#downloading-or-updating-an-application-cache"><span class="secno">5.7.4 </span>Downloading or updating an application cache</a></li><li><a href="offline.html#the-application-cache-selection-algorithm"><span class="secno">5.7.5 </span>The application cache selection algorithm</a></li><li><a href="offline.html#changesToNetworkingModel"><span class="secno">5.7.6 </span>Changes to the networking model</a></li><li><a href="offline.html#expiring-application-caches"><span class="secno">5.7.7 </span>Expiring application caches</a></li><li><a href="offline.html#disk-space"><span class="secno">5.7.8 </span>Disk space</a></li><li><a href="offline.html#application-cache-api"><span class="secno">5.7.9 </span>Application cache API</a></li><li><a href="offline.html#browser-state"><span class="secno">5.7.10 </span>Browser state</a></li></ol></li></ol></li></ol></div>
 
   <h3 id="offline"><span class="secno">5.7 </span>Offline Web applications</h3>
 
-  
+  <!-- v2 ideas for appcache:
+
+     * A way to limit what gets download when the user agent is
+       updating the application cache and it turns out the server has
+       changed EVERY page because every page has a dynamic "site last
+       modified" date on it.
+
+       http://groups.google.com/group/gears-users/browse_thread/thread/efbd808325df607a/c73adb34f9b63cf7?hl=en&q=whatwg#c73adb34f9b63cf7
+
+
+     * Multiuser appcaches.
+
+       If the application code (HTML, JS, CSS) is all the same for two
+       users, then appcache works for multiple users by just having
+       the data for the users separate from the logic.
+
+       This is the expected model for most apps. For example, your
+       typical blog has just one set of CSS for all users.
+
+       For systems where the user affects what HTML, JS, and CSS is
+       served back, the spec as written pretty much requires that
+       there be one app per user, and one generic "login" app that
+       then redirects to one of those other apps - and where each app
+       has a different base URL, separate manifest, etc.
+
+       An alternative that we could explore in a future version is to
+       have the manifest include a manifest name, and then have script
+       that allows you to "activate" a particular manifest name for a
+       given appcache.
+
+       So each appcache group would be futher subdivided into named
+       subgroups, and for a given manifest URL with such a group of
+       subgroups, one subgroup would be the default one at a time. The
+       inactive ones would just lie dormant, but and the active ones
+       would act like now, but there'd be a scripted way to change the
+       default (and maybe query what available variants exist for the
+       current appcache), so that you could log back in as someone
+       else by just making the script pick the other user's variant,
+       and then reloading.
+
+
+     * Add and remove specific additional files from the cache (e.g.
+       precaching new master entries).
+
+  -->
 
   <h4 id="introduction-4"><span class="secno">5.7.1 </span>Introduction</h4>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>In order to enable users to continue interacting with Web
   applications and documents even when their network connection is
   unavailable &#8212; for instance, because they are traveling outside
@@ -362,24 +402,9 @@
   <p>Before adding the manifest, these three files might look like
   this:</p>
 
-  <pre>&lt;!-- clock.html --&gt;
-&lt;!DOCTYPE HTML&gt;
-&lt;html&gt;
- &lt;head&gt;
-  &lt;title&gt;Clock&lt;/title&gt;
-  &lt;script src="clock.js"&gt;&lt;/script&gt;
-  &lt;link rel="stylesheet" href="clock.css"&gt;
- &lt;/head&gt;
- &lt;body&gt;
-  &lt;p&gt;The time is: &lt;output id="clock"&gt;&lt;/output&gt;&lt;/p&gt;
- &lt;/body&gt;
-&lt;/html&gt;</pre>
-  <pre>/* clock.css */
-output { font: 2em sans-serif; }</pre>
-  <pre>/* clock.js */
-setTimeout(function () {
-    document.getElementById('clock').value = new Date();
-}, 1000);</pre>
+  <pre>EXAMPLE offline/clock/clock1.html</pre>
+  <pre>EXAMPLE offline/clock/clock1.css</pre>
+  <pre>EXAMPLE offline/clock/clock1.js</pre>
 
   <p>If the user tries to open the "<code title="">clock.html</code>"
   page while offline, though, the user agent (unless it happens to
@@ -388,26 +413,12 @@
   <p>The author can instead provide a manifest of the three files, say
   "<code title="">clock.appcache</code>":</p>
 
-  <pre>CACHE MANIFEST
-clock.html
-clock.css
-clock.js</pre>
+  <pre>EXAMPLE offline/clock/clock2.appcache</pre>
 
   <p>With a small change to the HTML file, the manifest (served as
-  <code><a href="iana.html#text-cache-manifest">text/cache-manifest</a></code>) is linked to the application:</p>
+  <code><a href="iana.html#text/cache-manifest">text/cache-manifest</a></code>) is linked to the application:</p>
 
-  <pre>&lt;!-- clock.html --&gt;
-&lt;!DOCTYPE HTML&gt;
-&lt;html manifest="clock.appcache"&gt;
- &lt;head&gt;
-  &lt;title&gt;Clock&lt;/title&gt;
-  &lt;script src="clock.js"&gt;&lt;/script&gt;
-  &lt;link rel="stylesheet" href="clock.css"&gt;
- &lt;/head&gt;
- &lt;body&gt;
-  &lt;p&gt;The time is: &lt;output id="clock"&gt;&lt;/output&gt;&lt;/p&gt;
- &lt;/body&gt;
-&lt;/html&gt;</pre>
+  <pre>EXAMPLE offline/clock/clock2.html</pre>
 
   <p>Now, if the user goes to the page, the browser will cache the
   files and make them available even when the user is offline.</p>
@@ -424,14 +435,15 @@
   before the user agent has updated it, and even applications served
   over TLS can be made to work offline.</p>
 
-
+<!--(doesn't currently function)
+  <p><a href="http://www.whatwg.org/demos/offline/clock/clock2.html">View this example online</a>.</p>
+-->
 
 
 
   <h5 id="appcacheevents"><span class="secno">5.7.1.1 </span>Event summary</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>When the user visits a page that declares a manifest, the browser
   will try to update the cache. It does this by fetching a copy of the
   manifest and, if the manifest has changed since the user agent last
@@ -485,7 +497,7 @@
      </td><td> The user agent will try fetching the files again momentarily.
   </td></tr></tbody></table><div class="impl">
 
-  <h4 id="appcache"><span class="secno">5.7.2 </span>Application caches</h4> 
+  <h4 id="appcache"><span class="secno">5.7.2 </span>Application caches</h4> <!--APPCACHE-->
 
   <p>An <dfn id="application-cache">application cache</dfn> is a set of cached resources
   consisting of:</p>
@@ -510,7 +522,7 @@
      <code title="attr-html-manifest"><a href="the-html-element.html#attr-html-manifest">manifest</a></code> attribute. The
      manifest is fetched and processed during the <a href="#application-cache-download-process">application
      cache download process</a>. All the <a href="#concept-appcache-master" title="concept-appcache-master">master entries</a> have the
-     <a href="origin-0.html#same-origin" title="same origin">same origin</a> as the manifest.</p>
+     <a href="browsers.html#same-origin" title="same origin">same origin</a> as the manifest.</p>
 
 
      </dd><dt><dfn id="concept-appcache-explicit" title="concept-appcache-explicit">Explicit entries</dfn>
@@ -549,7 +561,7 @@
     <p class="note">These are URLs used as <a href="#concept-appcache-matches-fallback" title="concept-appcache-matches-fallback">prefix match
     patterns</a> for resources that are to be fetched from the
     network if possible, or to be replaced by the corresponding <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entry</a> if not.
-    Each namespace URL has the <a href="origin-0.html#same-origin">same origin</a> as <a href="#concept-appcache-manifest" title="concept-appcache-manifest">the manifest</a>.</p>
+    Each namespace URL has the <a href="browsers.html#same-origin">same origin</a> as <a href="#concept-appcache-manifest" title="concept-appcache-manifest">the manifest</a>.</p>
 
    </li>
 
@@ -583,7 +595,9 @@
 
     <p>A <dfn id="concept-appcache-mode" title="concept-appcache-mode">cache mode flag</dfn>,
     which is 
+<!--FORK--><!--APPCACHE-PREFER-ONLINE-->
     in the <dfn id="concept-appcache-mode-fast" title="concept-appcache-mode-fast"><i>fast</i></dfn>
+<!--FORK--><!--APPCACHE-PREFER-ONLINE-->
     state.</p>
 
    </li>
@@ -627,21 +641,17 @@
   <code>SharedWorkerGlobalScope</code> object. A <a href="#cache-host">cache
   host</a> can be associated with an <a href="#application-cache">application
   cache</a>.
-  
-  <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
-  
-  </p>
+    <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
+    </p>
 
   <p>A <code><a href="dom.html#document">Document</a></code> initially is not associated with an
   <a href="#application-cache">application cache</a>, but can become associated with one
-  early during the page load process, when steps <a href="tree-construction.html#parser-appcache">in the parser</a> and in the <a href="history.html#navigate" title="navigate">navigation</a> sections cause <a href="#concept-appcache-init" title="concept-appcache-init">cache selection</a> to occur.</p>
+  early during the page load process, when steps <a href="tokenization.html#parser-appcache">in the parser</a> and in the <a href="history.html#navigate" title="navigate">navigation</a> sections cause <a href="#concept-appcache-init" title="concept-appcache-init">cache selection</a> to occur.</p>
 
   <p>A <code>SharedWorkerGlobalScope</code> can be associated with an
   <a href="#application-cache">application cache</a> when it is created.
-  
-  <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
-  
-  </p>
+    <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
+    </p>
 
   <p>Each <a href="#cache-host">cache host</a> has an associated
   <code><a href="#applicationcache">ApplicationCache</a></code> object.</p>
@@ -668,7 +678,7 @@
   </li></ul><hr><p>A URL <dfn id="concept-appcache-matches-fallback" title="concept-appcache-matches-fallback">matches a
   fallback namespace</dfn> if there exists a <a href="#relevant-application-cache">relevant
   application cache</a> whose <a href="#concept-appcache-manifest" title="concept-appcache-manifest">manifest</a>'s URL has the
-  <a href="origin-0.html#same-origin">same origin</a> as the URL in question, and that has a
+  <a href="browsers.html#same-origin">same origin</a> as the URL in question, and that has a
   <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback namespace</a>
   that is a <a href="infrastructure.html#prefix-match">prefix match</a> for the URL being examined. If
   multiple fallback namespaces match the same URL, the longest one is
@@ -685,7 +695,8 @@
    identified by <code title="">http://example.com/app1/manifest</code> contains a
    namespace with a match for that URL.</p>
 
-   
+   <!-- "resolve a url" canonicalises the case for the scheme and host
+   and removes the port if it is the default -->
 
   </div>
 
@@ -699,7 +710,6 @@
   <h5 id="some-sample-manifests"><span class="secno">5.7.3.1 </span>Some sample manifests</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <div class="example">
 
    <p>This example manifest requires two images and a style sheet to be
@@ -795,8 +805,8 @@
   <h5 id="writing-cache-manifests"><span class="secno">5.7.3.2 </span>Writing cache manifests</h5>
 
   <p>Manifests must be served using the
-  <code><a href="iana.html#text-cache-manifest">text/cache-manifest</a></code> <a href="infrastructure.html#mime-type">MIME type</a>. All
-  resources served using the <code><a href="iana.html#text-cache-manifest">text/cache-manifest</a></code>
+  <code><a href="iana.html#text/cache-manifest">text/cache-manifest</a></code> <a href="infrastructure.html#mime-type">MIME type</a>. All
+  resources served using the <code><a href="iana.html#text/cache-manifest">text/cache-manifest</a></code>
   <a href="infrastructure.html#mime-type">MIME type</a> must follow the syntax of application cache
   manifests, as described in this section.</p>
 
@@ -851,6 +861,7 @@
      </dd><dt><code>NETWORK:</code>
      </dt><dd>Switches to the <dfn id="concept-appcache-manifest-network" title="concept-appcache-manifest-network">online whitelist section</dfn>.
 
+<!--FORK--><!--APPCACHE-PREFER-ONLINE-->
 
     </dd></dl><p>Section header lines must consist of zero or more U+0020 SPACE
     and "tab" (U+0009) characters, followed by one
@@ -883,12 +894,18 @@
     <p>When the current section is the <a href="#concept-appcache-manifest-network" title="concept-appcache-manifest-network">online whitelist
     section</a>, data lines must consist of zero or more U+0020
     SPACE and "tab" (U+0009) characters, either a
-    single "*" (U+002A) character  or a <a href="urls.html#valid-url">valid
+    single "*" (U+002A) character <!--
+    concept-appcache-onlinewhitelist-wildcard --> or a <a href="urls.html#valid-url">valid
     URL</a> identifying a resource other than the manifest itself,
     and then zero or more U+0020 SPACE and "tab" (U+0009) characters.</p>
 
+<!--FORK--><!--APPCACHE-PREFER-ONLINE-->
 
-
+<!--
+    <p class="note">The URLs in data lines can't be empty strings,
+    since those would be relative URLs to the manifest itself. Such
+    lines would be confused with blank or invalid lines, anyway.</p>
+-->
 
   </dd></dl><p>Manifests may contain sections more than once. Sections may be
   empty.</p>
@@ -902,7 +919,7 @@
 
   <p><a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">Fallback
   namespaces</a> and <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a> must have
-  the <a href="origin-0.html#same-origin">same origin</a> as the manifest itself.</p>
+  the <a href="browsers.html#same-origin">same origin</a> as the manifest itself.</p>
 
   <p>A <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback
   namespace</a> must not be listed more than once.</p>
@@ -911,7 +928,8 @@
   must all be specified in <a href="#concept-appcache-manifest-network" title="concept-appcache-manifest-network">online whitelist
   sections</a>. (This is needed for any URL that the page is
   intending to use to communicate back to the server.) To specify that
-  all URLs are automatically whitelisted in this way, a "*" (U+002A) character may be specified as one of the URLs. </p>
+  all URLs are automatically whitelisted in this way, a "*" (U+002A) character may be specified as one of the URLs. <!--
+  concept-appcache-onlinewhitelist-wildcard --></p>
 
   <p>Authors should not include namespaces in the <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online whitelist</a> for
   which another namespace in the <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online whitelist</a> is
@@ -939,8 +957,12 @@
   that the user agent must run the following steps:</p>
 
   <ol><li><p>The user agent must decode the byte stream corresponding
-   with the manifest to be parsed <a href="infrastructure.html#decoded-as-utf-8-with-error-handling" title="decoded as UTF-8, with
-   error handling">as UTF-8, with error handling</a>. </p></li>
+   with the manifest to be parsed <a href="infrastructure.html#decoded-as-utf-8,-with-error-handling" title="decoded as UTF-8, with
+   error handling">as UTF-8, with error handling</a>. <!--All
+   U+0000 NULL characters must be replaced by U+FFFD REPLACEMENT
+   CHARACTERs. (this isn't black-box testable since neither U+0000 nor
+   U+FFFD are valid anywhere in the syntax and thus both will be
+   treated the same anyway)--></p></li>
 
    <li><p>Let <var title="">base URL</var> be the <a href="urls.html#absolute-url">absolute
    URL</a> representing the manifest.</p></li>
@@ -959,9 +981,10 @@
    URLs</a> for an <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online
    whitelist</a>.</p></li>
 
-   <li><p>Let <var title="">online whitelist wildcard flag</var> be <i title="">blocking</i>. </p></li>
+   <li><p>Let <var title="">online whitelist wildcard flag</var> be <i title="">blocking</i>. <!--
+   concept-appcache-onlinewhitelist-wildcard --></p></li>
 
-   <li><p>Let <var title="">cache mode flag</var> be <i title="">fast</i>. </p></li>
+   <li><p>Let <var title="">cache mode flag</var> be <i title="">fast</i>. <!-- concept-appcache-mode-fast --></p></li>
 
    <li><p>Let <var title="">input</var> be the decoded text of the
    manifest's byte stream.</p></li>
@@ -999,7 +1022,7 @@
    step. Otherwise, <a href="common-microsyntaxes.html#collect-a-sequence-of-characters">collect a sequence of characters</a> that
    are "LF" (U+000A), "CR" (U+000D), U+0020
    SPACE, or "tab" (U+0009) characters.</p></li>
-   
+   <!-- strips leading spaces, ignores space-only lines, ignores blank lines -->
 
    <li><p>Now, <a href="common-microsyntaxes.html#collect-a-sequence-of-characters">collect a sequence of characters</a> that are
    <em>not</em> "LF" (U+000A) or "CR" (U+000D)
@@ -1026,6 +1049,7 @@
    "NETWORK" followed by a ":)" (U+003A) character, then set <var title="">mode</var> to "online whitelist" and jump back to the step
    labeled "start of line".</p></li>
 
+<!--FORK--><!--APPCACHE-PREFER-ONLINE-->
 
    <li><p>If <var title="">line</var> ends with a ":" (U+003A) character, then set <var title="">mode</var> to "unknown" and
    jump back to the step labeled "start of line".</p></li>
@@ -1102,8 +1126,9 @@
       line".</p>
 
       <p>If the <a href="urls.html#absolute-url">absolute URL</a> corresponding to either <var title="">part one</var> or <var title="">part two</var> does not
-      have the <a href="origin-0.html#same-origin">same origin</a> as the manifest's URL, then
-      jump back to the step labeled "start of line".</p> 
+      have the <a href="browsers.html#same-origin">same origin</a> as the manifest's URL, then
+      jump back to the step labeled "start of line".</p> <!-- SECURITY
+      -->
 
       <p>Drop any <a href="urls.html#url-fragment" title="url-fragment">&lt;fragment&gt;</a>
       components of the resulting <a href="urls.html#absolute-url" title="absolute URL">absolute
@@ -1148,6 +1173,7 @@
 
      </dd>
 
+<!--FORK--><!--APPCACHE-PREFER-ONLINE-->
 
      <dt>If <var title="">mode</var> is "unknown"</dt>
 
@@ -1354,7 +1380,8 @@
     from <var title="">manifest URL</var> with the <i>synchronous
     flag</i> set, and let <var title="">manifest</var> be that
     resource. HTTP caching semantics should be honored for this
-    request.</p> 
+    request.</p> <!-- http-origin privacy sensitive, though it doesn't
+    matter, since this can never be cross-origin -->
 
     <p>Parse <var title="">manifest</var> according to the <a href="#parse-a-manifest" title="parse a manifest">rules for parsing manifests</a>,
     obtaining a list of <a href="#concept-appcache-explicit" title="concept-appcache-explicit">explicit entries</a>, <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a> and the
@@ -1365,7 +1392,7 @@
 
     <p class="note">The <a href="infrastructure.html#mime-type">MIME type</a> of the resource is
     ignored &#8212; it is assumed to be
-    <code><a href="iana.html#text-cache-manifest">text/cache-manifest</a></code>. In the future, if new manifest
+    <code><a href="iana.html#text/cache-manifest">text/cache-manifest</a></code>. In the future, if new manifest
     formats are supported, the different types will probably be
     distinguished on the basis of the file signatures (for the current
     format, that is the "<code title="">CACHE&#160;MANIFEST</code>"
@@ -1596,7 +1623,7 @@
 
      <li>
 
-      <p><a href="urls.html#fetch">Fetch</a> the resource, from the <a href="origin-0.html#origin">origin</a>
+      <p><a href="urls.html#fetch">Fetch</a> the resource, from the <a href="browsers.html#origin-0">origin</a>
       of the <a href="urls.html#url">URL</a> <var title="">manifest URL</var>, with
       the <i>synchronous flag</i> set and the <i>manual redirect
       flag</i> set. If this is an <a href="#concept-appcache-upgrade" title="concept-appcache-upgrade">upgrade attempt</a>, then
@@ -1605,7 +1632,7 @@
       group</var> as an HTTP cache, and honor HTTP caching semantics
       (such as expiration, ETags, and so forth) with respect to that
       cache. User agents may also have other caches in place that are
-      also honored.</p> 
+      also honored.</p> <!-- not http-origin privacy sensitive -->
 
       <p class="note">If the resource in question is already being
       downloaded for other reasons then the existing download process
@@ -1812,7 +1839,9 @@
     <p><a href="urls.html#fetch">Fetch</a> the resource from <var title="">manifest
     URL</var> again, with the <i>synchronous flag</i> set, and let
     <var title="">second manifest</var> be that resource. HTTP caching
-    semantics should again be honored for this request.</p> 
+    semantics should again be honored for this request.</p> <!--
+    http-origin privacy sensitive, though it doesn't matter, since
+    this can never be cross-origin -->
 
     <p class="note">Since caching can be honored, authors are
     encouraged to avoid setting the cache headers on the manifest in
@@ -2023,7 +2052,11 @@
 
    <dt>If <var title="">document</var> was loaded from an
    <a href="#application-cache">application cache</a>, and that <a href="#application-cache">application
-   cache</a> still exists (it is not now <a href="#concept-appcache-obsolete" title="concept-appcache-obsolete">obsolete</a>)</dt>
+   cache</a> still exists (it is not now <a href="#concept-appcache-obsolete" title="concept-appcache-obsolete">obsolete</a>)<!--[redundant],
+   and either there is no <var title="">manifest URL</var>, or the URL
+   of the <span title="concept-appcache-manifest">manifest</span> of
+   the cache's <span>application cache group</span> is the same as
+   <var title="">manifest URL</var>--></dt>
 
    <dd>
 
@@ -2036,10 +2069,11 @@
    </dd>
 
 
-   <dt>If <var title="">document</var>  was loaded using
+   <dt>If <var title="">document</var> <!--[redundant] was not loaded
+   from an <span>application cache</span>, but it--> was loaded using
    HTTP GET <a href="urls.html#concept-http-equivalent-get" title="concept-http-equivalent-get">or
    equivalent</a>, and, there is a <var title="">manifest
-   URL</var>, and <var title="">manifest URL</var> has the <a href="origin-0.html#same-origin">same
+   URL</var>, and <var title="">manifest URL</var> has the <a href="browsers.html#same-origin">same
    origin</a> as <var title="">document</var></dt>
 
    <dd>
@@ -2052,7 +2086,7 @@
 
     <p>If there are <a href="#relevant-application-cache" title="relevant application cache">relevant
     application caches</a> that are identified by a URL with the
-    <a href="origin-0.html#same-origin">same origin</a> as the URL of <var title="">document</var>, and that have this URL as one of their
+    <a href="browsers.html#same-origin">same origin</a> as the URL of <var title="">document</var>, and that have this URL as one of their
     entries, excluding entries marked as <a href="#concept-appcache-foreign" title="concept-appcache-foreign">foreign</a>, then the user
     agent should use the <a href="#concept-appcache-selection" title="concept-appcache-selection">most
     appropriate application cache</a> of those that match as an
@@ -2062,7 +2096,8 @@
    </dd>
 
 
-   <dt>Otherwise</dt> 
+   <dt>Otherwise</dt> <!-- not from cache and either no <var
+   title="">manifest URL</var>, or non-GET, or wrong-origin manifest -->
 
    <dd>
 
@@ -2099,20 +2134,20 @@
 
    <li><p>If there is an entry in the <a href="#application-cache">application cache</a>'s
    <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online
-   whitelist</a> that has the <a href="origin-0.html#same-origin">same origin</a> as the
+   whitelist</a> that has the <a href="browsers.html#same-origin">same origin</a> as the
    resource's URL and that is a <a href="infrastructure.html#prefix-match">prefix match</a> for the
    resource's URL, then <a href="urls.html#fetch">fetch</a> the resource normally and
    abort these steps.</p></li>
 
    <li>
 
-    <p>If the resource's URL has the <a href="origin-0.html#same-origin">same origin</a> as the
+    <p>If the resource's URL has the <a href="browsers.html#same-origin">same origin</a> as the
     manifest's URL, and there is a <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback namespace</a>
     <var title="">f</var> in the <a href="#application-cache">application cache</a> that
     is a <a href="infrastructure.html#prefix-match">prefix match</a> for the resource's URL, then:</p>
 
     <p><a href="urls.html#fetch">Fetch</a> the resource normally. If this results in a
-    redirect to a resource with another <a href="origin-0.html#origin">origin</a>
+    redirect to a resource with another <a href="browsers.html#origin-0">origin</a>
     (indicative of a captive portal), or a 4xx or 5xx status code
     <a href="urls.html#concept-http-equivalent-codes" title="concept-http-equivalent-codes">or equivalent</a>,
     or if there were network errors (but not if the user canceled the
@@ -2231,10 +2266,8 @@
    <dd>
 
     <p>(In a shared worker.) Returns the <code><a href="#applicationcache">ApplicationCache</a></code> object that applies to the current shared worker.
-    
-    <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
-    
-    </p>
+        <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
+        </p>
 
    </dd>
 
@@ -2311,10 +2344,8 @@
   attribute on <code>SharedWorkerGlobalScope</code> objects must
   return the <code><a href="#applicationcache">ApplicationCache</a></code> object associated with the
   worker.
-  
-  <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
-  
-  </p>
+    <a href="references.html#refsWEBWORKERS">[WEBWORKERS]</a>
+    </p>
 
   <p class="note">A <code><a href="browsers.html#window">Window</a></code> or
   <code>SharedWorkerGlobalScope</code> object has an associated
@@ -2526,6 +2557,6 @@
 
   </div>
 
-
+<!--TOPIC:HTML-->
 
   </body></html>
\ No newline at end of file

Index: textFieldSelection.html
===================================================================
RCS file: /sources/public/html5/spec/textFieldSelection.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- textFieldSelection.html	26 Jun 2012 20:46:53 -0000	1.158
+++ textFieldSelection.html	22 Aug 2012 10:52:47 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.20 APIs for the text field selections &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.20 APIs for the text field selections &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,46 +316,46 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="attributes-common-to-form-controls.html" title="4.10.19 Attributes common to form controls" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="form-submission.html" title="4.10.19.6 Form submission" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="constraints.html" title="4.10.21 Constraints" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
-   <a href="attributes-common-to-form-controls.html">&#8592; 4.10.19 Attributes common to form controls</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+  <div class="prev_next">
+   <a href="form-submission.html">&#8592; 4.10.19.6 Form submission</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="constraints.html">4.10.21 Constraints &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="textFieldSelection"><span class="secno">4.10.20 </span>APIs for the text field selections</h4>
 
-  
+  <!-- v2 idea: DOM Range APIs to expose the textarea/input edited
+  value (ack martijnw) -->
 
   <p>The <code><a href="the-input-element.html#the-input-element">input</a></code> and <code><a href="the-textarea-element.html#the-textarea-element">textarea</a></code> elements define
   the following members in their DOM interfaces for handling their
   selection:</p>
 
-  <pre class="idl extract">  void <a href="#dom-textarea-input-select" title="dom-textarea/input-select">select</a>();
-           attribute unsigned long <a href="#dom-textarea-input-selectionstart" title="dom-textarea/input-selectionStart">selectionStart</a>;
-           attribute unsigned long <a href="#dom-textarea-input-selectionend" title="dom-textarea/input-selectionEnd">selectionEnd</a>;
-           attribute DOMString <a href="#dom-textarea-input-selectiondirection" title="dom-textarea/input-selectionDirection">selectionDirection</a>;
-  void <a href="#dom-textarea-input-setselectionrange" title="dom-textarea/input-setSelectionRange">setSelectionRange</a>(unsigned long start, unsigned long end, optional DOMString direction = "preserve");</pre>
-  
+  <pre class="idl extract">  void <a href="#dom-textarea/input-select" title="dom-textarea/input-select">select</a>();
+           attribute unsigned long <a href="#dom-textarea/input-selectionstart" title="dom-textarea/input-selectionStart">selectionStart</a>;
+           attribute unsigned long <a href="#dom-textarea/input-selectionend" title="dom-textarea/input-selectionEnd">selectionEnd</a>;
+           attribute DOMString <a href="#dom-textarea/input-selectiondirection" title="dom-textarea/input-selectionDirection">selectionDirection</a>;
+
+  void <a href="#dom-textarea/input-setselectionrange" title="dom-textarea/input-setSelectionRange">setSelectionRange</a>(unsigned long start, unsigned long end, optional DOMString direction = "preserve");</pre>
+  <!-- v2: also add textLength? it seems to be widely used -->
+
 
 
   <p>These methods and attributes expose and control the selection of
   <code><a href="the-input-element.html#the-input-element">input</a></code> and <code><a href="the-textarea-element.html#the-textarea-element">textarea</a></code> text fields.</p>
 
-  <dl class="domintro"><dt><var title="">element</var> . <code title="dom-textarea/input-select"><a href="#dom-textarea-input-select">select</a></code>()</dt>
+  <dl class="domintro"><dt><var title="">element</var> . <code title="dom-textarea/input-select"><a href="#dom-textarea/input-select">select</a></code>()</dt>
 
    <dd>
 
@@ -395,7 +395,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange</a></code>(<var title="">start</var>, <var title="">end</var> [, <var title="">direction</var>] )</dt>
+   <dt><var title="">element</var> . <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea/input-setselectionrange">setSelectionRange</a></code>(<var title="">start</var>, <var title="">end</var> [, <var title="">direction</var>] )</dt>
 
    <dd>
 
@@ -404,6 +404,7 @@
    </dd>
 
 
+
   </dl><div class="impl">
 
   <p>When these methods and attributes are used with
@@ -443,7 +444,7 @@
   which directional arrow key was used.</p>
 
 
-  <p>The <dfn id="dom-textarea-input-select" title="dom-textarea/input-select"><code>select()</code></dfn> method
+  <p>The <dfn id="dom-textarea/input-select" title="dom-textarea/input-select"><code>select()</code></dfn> method
   must cause the contents of the text field to be fully selected, with
   the selection direction being none, if the platform support
   selections with the direction <i>none</i>, or otherwise
@@ -452,52 +453,52 @@
   <a href="webappapis.html#user-interaction-task-source">user interaction task source</a> as the task source.</p>
 
 
-  <p>The <dfn id="dom-textarea-input-selectionstart" title="dom-textarea/input-selectionStart"><code>selectionStart</code></dfn>
+  <p>The <dfn id="dom-textarea/input-selectionstart" title="dom-textarea/input-selectionStart"><code>selectionStart</code></dfn>
   attribute must, on getting, return the offset (in logical order) to
   the character that immediately follows the start of the
   selection. If there is no selection, then it must return the offset
   (in logical order) to the character that immediately follows the
   text entry cursor.</p>
 
-  <p>On setting, it must act as if the <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange()</a></code>
+  <p>On setting, it must act as if the <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea/input-setselectionrange">setSelectionRange()</a></code>
   method had been called, with the new value as the first argument;
-  the current value of the <code title="dom-textarea/input-selectionEnd"><a href="#dom-textarea-input-selectionend">selectionEnd</a></code>
+  the current value of the <code title="dom-textarea/input-selectionEnd"><a href="#dom-textarea/input-selectionend">selectionEnd</a></code>
   attribute as the second argument, unless the current value of the
-  <code title="dom-textarea/input-selectionEnd"><a href="#dom-textarea-input-selectionend">selectionEnd</a></code> is
+  <code title="dom-textarea/input-selectionEnd"><a href="#dom-textarea/input-selectionend">selectionEnd</a></code> is
   less than the new value, in which case the second argument must also
-  be the new value; and the current value of the <code title="dom-textarea/input-selectionDirection"><a href="#dom-textarea-input-selectiondirection">selectionDirection</a></code>
+  be the new value; and the current value of the <code title="dom-textarea/input-selectionDirection"><a href="#dom-textarea/input-selectiondirection">selectionDirection</a></code>
   as the third argument.</p>
 
 
-  <p>The <dfn id="dom-textarea-input-selectionend" title="dom-textarea/input-selectionEnd"><code>selectionEnd</code></dfn>
+  <p>The <dfn id="dom-textarea/input-selectionend" title="dom-textarea/input-selectionEnd"><code>selectionEnd</code></dfn>
   attribute must, on getting, return the offset (in logical order) to
   the character that immediately follows the end of the selection. If
   there is no selection, then it must return the offset (in logical
   order) to the character that immediately follows the text entry
   cursor.</p>
 
-  <p>On setting, it must act as if the <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange()</a></code>
-  method had been called, with the current value of the <code title="dom-textarea/input-selectionStart"><a href="#dom-textarea-input-selectionstart">selectionStart</a></code>
+  <p>On setting, it must act as if the <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea/input-setselectionrange">setSelectionRange()</a></code>
+  method had been called, with the current value of the <code title="dom-textarea/input-selectionStart"><a href="#dom-textarea/input-selectionstart">selectionStart</a></code>
   attribute as the first argument, the new value as the second
-  argument, and the current value of the <code title="dom-textarea/input-selectionDirection"><a href="#dom-textarea-input-selectiondirection">selectionDirection</a></code>
+  argument, and the current value of the <code title="dom-textarea/input-selectionDirection"><a href="#dom-textarea/input-selectiondirection">selectionDirection</a></code>
   as the third argument.</p>
 
 
-  <p>The <dfn id="dom-textarea-input-selectiondirection" title="dom-textarea/input-selectionDirection"><code>selectionDirection</code></dfn>
+  <p>The <dfn id="dom-textarea/input-selectiondirection" title="dom-textarea/input-selectionDirection"><code>selectionDirection</code></dfn>
   attribute must, on getting, return the string corresponding to the
   current selection direction: if the direction is <i>forward</i>,
   "<code title="">forward</code>"; if the direction is
   <i>backward</i>, "<code title="">backward</code>"; and otherwise,
   "<code title="">none</code>".</p>
 
-  <p>On setting, it must act as if the <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange()</a></code>
-  method had been called, with the current value of the <code title="dom-textarea/input-selectionStart"><a href="#dom-textarea-input-selectionstart">selectionStart</a></code>
-  attribute as the first argument, the current value of the <code title="dom-textarea/input-selectionEnd"><a href="#dom-textarea-input-selectionend">selectionEnd</a></code>
+  <p>On setting, it must act as if the <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea/input-setselectionrange">setSelectionRange()</a></code>
+  method had been called, with the current value of the <code title="dom-textarea/input-selectionStart"><a href="#dom-textarea/input-selectionstart">selectionStart</a></code>
+  attribute as the first argument, the current value of the <code title="dom-textarea/input-selectionEnd"><a href="#dom-textarea/input-selectionend">selectionEnd</a></code>
   attribute as the second argument, and the new value as the third
   argument.</p>
 
 
-  <p>The <dfn id="dom-textarea-input-setselectionrange" title="dom-textarea/input-setSelectionRange"><code>setSelectionRange(<var title="">start</var>, <var title="">end</var>, <var title="">direction</var>)</code></dfn> method must set the selection
+  <p>The <dfn id="dom-textarea/input-setselectionrange" title="dom-textarea/input-setSelectionRange"><code>setSelectionRange(<var title="">start</var>, <var title="">end</var>, <var title="">direction</var>)</code></dfn> method must set the selection
   of the text field to the sequence of characters starting with the
   character at the <var title="">start</var>th position (in logical
   order) and ending with the character at the <span title="">(<var title="">end</var>-1)</span>th position. Arguments greater than the
@@ -520,6 +521,7 @@
 
 
 
+
   <p>All elements to which this API applies have either a selection or
   a text entry cursor position at all times (even for elements that
   are not <a href="rendering.html#being-rendered">being rendered</a>). User agents should follow
@@ -561,7 +563,7 @@
    or <code><a href="the-textarea-element.html#the-textarea-element">textarea</a></code> element.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
 
 

Index: global-attributes.html
===================================================================
RCS file: /sources/public/html5/spec/global-attributes.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- global-attributes.html	26 Jun 2012 20:46:44 -0000	1.158
+++ global-attributes.html	22 Aug 2012 10:52:42 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>3.2.3 Global attributes &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>3.2.3 Global attributes &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,27 +316,24 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="elements.html" title="3.2 Elements" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="elements.html" title="3.2 Elements" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="element-definitions.html" title="3.2.4 Element definitions" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="elements.html">&#8592; 3.2 Elements</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="element-definitions.html">3.2.4 Element definitions &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="global-attributes.html#global-attributes"><span class="secno">3.2.3 </span>Global attributes</a>
-      <ol><li><a href="global-attributes.html#the-id-attribute"><span class="secno">3.2.3.1 </span>The <code>id</code> attribute</a></li><li><a href="global-attributes.html#the-title-attribute"><span class="secno">3.2.3.2 </span>The <code>title</code> attribute</a></li><li><a href="global-attributes.html#the-lang-and-xml:lang-attributes"><span class="secno">3.2.3.3 </span>The <code title="attr-lang">lang</code> and <code title="attr-xml-lang">xml:lang</code> attributes</a></li><li><a href="global-attributes.html#the-translate-attribute"><span class="secno">3.2.3.4 </span>The <code title="attr-translate">translate</code> attribute</a></li><li><a href="global-attributes.html#the-xml:base-attribute-xml-only"><span class="secno">3.2.3.5 </span>The <code>xml:base</code>
-  attribute (XML only)</a></li><li><a href="global-attributes.html#the-dir-attribute"><span class="secno">3.2.3.6 </span>The <code>dir</code> attribute</a></li><li><a href="global-attributes.html#classes"><span class="secno">3.2.3.7 </span>The <code>class</code> attribute</a></li><li><a href="global-attributes.html#the-style-attribute"><span class="secno">3.2.3.8 </span>The <code>style</code> attribute</a></li><li><a href="global-attributes.html#embedding-custom-non-visible-data-with-the-data-attributes"><span class="secno">3.2.3.9 </span>Embedding custom non-visible data with the <code title="attr-data-*">data-*</code> attributes</a></li></ol></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="global-attributes.html#the-id-attribute"><span class="secno">3.2.3.1 </span>The <code>id</code> attribute</a></li><li><a href="global-attributes.html#the-title-attribute"><span class="secno">3.2.3.2 </span>The <code>title</code> attribute</a></li><li><a href="global-attributes.html#the-lang-and-xml:lang-attributes"><span class="secno">3.2.3.3 </span>The <code title="attr-lang">lang</code> and <code title="attr-xml-lang">xml:lang</code> attributes</a></li><li><a href="global-attributes.html#the-translate-attribute"><span class="secno">3.2.3.4 </span>The <code title="attr-translate">translate</code> attribute</a></li><li><a href="global-attributes.html#the-xml:base-attribute-(xml-only)"><span class="secno">3.2.3.5 </span>The <code>xml:base</code>
+  attribute (XML only)</a></li><li><a href="global-attributes.html#the-dir-attribute"><span class="secno">3.2.3.6 </span>The <code>dir</code> attribute</a></li><li><a href="global-attributes.html#classes"><span class="secno">3.2.3.7 </span>The <code>class</code> attribute</a></li><li><a href="global-attributes.html#the-style-attribute"><span class="secno">3.2.3.8 </span>The <code>style</code> attribute</a></li><li><a href="global-attributes.html#embedding-custom-non-visible-data-with-the-data-*-attributes"><span class="secno">3.2.3.9 </span>Embedding custom non-visible data with the <code title="attr-data-*">data-*</code> attributes</a></li></ol></li></ol></li></ol></li></ol></div>
 
   <h4 id="global-attributes"><span class="secno">3.2.3 </span><dfn>Global attributes</dfn></h4>
 
@@ -353,6 +350,8 @@
    <li><code title="attr-dropzone"><a href="dnd.html#the-dropzone-attribute">dropzone</a></code></li>
    <li><code title="attr-hidden"><a href="editing.html#the-hidden-attribute">hidden</a></code></li>
    <li><code title="attr-id"><a href="#the-id-attribute">id</a></code></li>
+<!--INERT-->
+<!--MD-->
    <li><code title="attr-lang"><a href="#attr-lang">lang</a></code></li>
    <li><code title="attr-spellcheck"><a href="editing-apis.html#attr-spellcheck">spellcheck</a></code></li>
    <li><code title="attr-style"><a href="#the-style-attribute">style</a></code></li>
@@ -484,7 +483,7 @@
   preserve whitespace. <a href="references.html#refsXML">[XML]</a></p>
 
   <p class="note">There is no way to serialize the <code title="attr-xml-space">xml:space</code> attribute on <a href="infrastructure.html#html-elements">HTML
-  elements</a> in the <code><a href="iana.html#text-html">text/html</a></code> syntax.</p>
+  elements</a> in the <code><a href="iana.html#text/html">text/html</a></code> syntax.</p>
 
   <hr><p>To enable assistive technology products to expose a more
   fine-grained interface than is otherwise possible with HTML elements
@@ -503,7 +502,8 @@
   must not contain any <a href="common-microsyntaxes.html#space-character" title="space character">space
   characters</a>.</p>
 
-  
+  <!-- space characters are disallowed because space-separated lists
+  of IDs otherwise would not be able to reach all valid IDs -->
 
   <p class="note">An element's <a href="infrastructure.html#concept-id" title="concept-id">unique
   identifier</a> can be used for a variety of purposes, most
@@ -528,7 +528,7 @@
   title or a description of the target resource; on an image, it could
   be the image credit or a description of the image; on a paragraph,
   it could be a footnote or commentary on the text; on a citation, it
-  could be further information about the source; on <a href="content-models.html#interactive-content">interactive
+  could be further information about the source; on <a href="content-models.html#interactive-content-0">interactive
   content</a>, it could be a label for, or instructions for, use of
   the element; and so forth. The value is text.</p>
 
@@ -579,7 +579,8 @@
   contents and for any of the element's attributes that contain
   text. Its value must be a valid BCP 47 language tag, or the empty
   string. Setting the attribute to the empty string indicates that the
-  primary language is unknown. <a href="references.html#refsBCP47">[BCP47]</a></p>
+  primary language is unknown<!-- UA conformance requirements for this
+  are below -->. <a href="references.html#refsBCP47">[BCP47]</a></p>
 
   <p>The <dfn id="attr-xml-lang" title="attr-xml-lang"><code title="">lang</code></dfn>
   attribute in the <a href="namespaces.html#xml-namespace">XML namespace</a> is defined in XML. <a href="references.html#refsXML">[XML]</a></p>
@@ -670,9 +671,16 @@
   <hr><p>User agents may use the element's language to determine proper
   processing or rendering (e.g. in the selection of appropriate fonts
   or pronunciations, for dictionary selection, or for the user
-  interfaces of form controls such as date pickers). </p>
+  interfaces of form controls such as date pickers). <!--User agents
+  must not use the element's language to determine text
+  directionality. (commented out because text directionality is a
+  rendering-level concern.)--></p>
 
-  
+  <!-- Date pickers would use the language information for determining
+  the language of months, for example. They should use the page's
+  _locale_ to figure out the format itself, not the language. There's
+  currently no way to determine the page's locale except by guessing
+  from the charset and language... -->
 
   <hr><p>The <dfn id="dom-lang" title="dom-lang"><code>lang</code></dfn> IDL attribute
   must <a href="common-dom-interfaces.html#reflect">reflect</a> the <code title="attr-lang"><a href="#attr-lang">lang</a></code>
@@ -687,7 +695,7 @@
   <p>The <dfn id="attr-translate" title="attr-translate"><code>translate</code></dfn>
   attribute is an <a href="common-microsyntaxes.html#enumerated-attribute">enumerated attribute</a> that is used to
   specify whether an element's attribute values and the values of its
-  <code><a href="infrastructure.html#text">Text</a></code> node children are to be translated when the page
+  <code><a href="infrastructure.html#text-0">Text</a></code> node children are to be translated when the page
   is localized, or whether to leave them unchanged.</p>
 
   <p>The attribute's keywords are the empty string, <code title="">yes</code>, and <code title="">no</code>. The empty string
@@ -712,11 +720,11 @@
   state, if the element is a <a href="infrastructure.html#root-element">root element</a>.</p>
 
   <p>When an element is in the <dfn id="translate-enabled">translate-enabled</dfn> state, the
-  element's attribute values and the values of its <code><a href="infrastructure.html#text">Text</a></code>
+  element's attribute values and the values of its <code><a href="infrastructure.html#text-0">Text</a></code>
   node children are to be translated when the page is localized.</p>
 
   <p>When an element is in the <dfn id="no-translate">no-translate</dfn> state, the
-  element's attribute values and the values of its <code><a href="infrastructure.html#text">Text</a></code>
+  element's attribute values and the values of its <code><a href="infrastructure.html#text-0">Text</a></code>
   node children are to be left as-is when the page is localized, e.g.
   because the element contains a person's name or a the name of a
   computer program.</p>
@@ -756,15 +764,15 @@
 
 
 
-  <h5 id="the-xml:base-attribute-xml-only"><span class="secno">3.2.3.5 </span>The <dfn title="attr-xml-base"><code>xml:base</code></dfn>
+  <h5 id="the-xml:base-attribute-(xml-only)"><span class="secno">3.2.3.5 </span>The <dfn title="attr-xml-base"><code>xml:base</code></dfn>
   attribute (XML only)</h5>
 
-  <p>The <code title="attr-xml-base"><a href="#the-xml:base-attribute-xml-only">xml:base</a></code> attribute is
+  <p>The <code title="attr-xml-base"><a href="#the-xml:base-attribute-(xml-only)">xml:base</a></code> attribute is
   defined in XML Base. <a href="references.html#refsXMLBASE">[XMLBASE]</a></p>
 
-  <p>The <code title="attr-xml-base"><a href="#the-xml:base-attribute-xml-only">xml:base</a></code> attribute may be
+  <p>The <code title="attr-xml-base"><a href="#the-xml:base-attribute-(xml-only)">xml:base</a></code> attribute may be
   used on elements of <a href="infrastructure.html#xml-documents">XML documents</a>. Authors must not
-  use the <code title="attr-xml-base"><a href="#the-xml:base-attribute-xml-only">xml:base</a></code> attribute in
+  use the <code title="attr-xml-base"><a href="#the-xml:base-attribute-(xml-only)">xml:base</a></code> attribute in
   <a href="infrastructure.html#html-documents">HTML documents</a>.</p>
 
 
@@ -831,7 +839,7 @@
    <dd><p><a href="#the-directionality">The directionality</a> of the element is '<a href="#concept-rtl" title="concept-rtl">rtl</a>'.</p></dd>
 
 
-   <dt>If the element is an <code><a href="the-input-element.html#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="the-input-element.html#attr-input-type">type</a></code> attribute is in the <a href="states-of-the-type-attribute.html#text-type-text-state-and-search-state-type-search" title="attr-input-type-text">Text</a>, <a href="states-of-the-type-attribute.html#text-type-text-state-and-search-state-type-search" title="attr-input-type-search">Search</a>, <a href="states-of-the-type-attribute.html#telephone-state-type-tel" title="attr-input-type-tel">Telephone</a>, <a href="states-of-the-type-attribute.html#url-state-type-url" title="attr-input-type-url">URL</a>, or <a href="states-of-the-type-attribute.html#e-mail-state-type-email" title="attr-input-type-email">E-mail</a> state, and the <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> attribute is in the <a href="#attr-dir-auto-state" title="attr-dir-auto-state">auto</a> state</dt>
+   <dt>If the element is an <code><a href="the-input-element.html#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="the-input-element.html#attr-input-type">type</a></code> attribute is in the <a href="states-of-the-type-attribute.html#text-(type=text)-state-and-search-state-(type=search)" title="attr-input-type-text">Text</a>, <a href="states-of-the-type-attribute.html#text-(type=text)-state-and-search-state-(type=search)" title="attr-input-type-search">Search</a>, <a href="states-of-the-type-attribute.html#telephone-state-(type=tel)" title="attr-input-type-tel">Telephone</a>, <a href="states-of-the-type-attribute.html#url-state-(type=url)" title="attr-input-type-url">URL</a>, or <a href="states-of-the-type-attribute.html#e-mail-state-(type=email)" title="attr-input-type-email">E-mail</a> state, and the <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> attribute is in the <a href="#attr-dir-auto-state" title="attr-dir-auto-state">auto</a> state</dt>
 
    <dt>If the element is a <code><a href="the-textarea-element.html#the-textarea-element">textarea</a></code> element and the <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> attribute is in the <a href="#attr-dir-auto-state" title="attr-dir-auto-state">auto</a> state</dt>
 
@@ -859,7 +867,7 @@
     <p>Find the first character in <a href="infrastructure.html#tree-order">tree order</a> that
     matches the following criteria:</p>
 
-    <ul><li><p>The character is from a <code><a href="infrastructure.html#text">Text</a></code> node that is a
+    <ul><li><p>The character is from a <code><a href="infrastructure.html#text-0">Text</a></code> node that is a
      descendant of the element whose <a href="#the-directionality" title="the
      directionality">directionality</a> is being
      determined.</p></li>
@@ -869,7 +877,7 @@
 
      <li>
 
-      <p>The character is not in a <code><a href="infrastructure.html#text">Text</a></code> node that has an
+      <p>The character is not in a <code><a href="infrastructure.html#text-0">Text</a></code> node that has an
       ancestor element that is a descendant of the element whose <a href="#the-directionality" title="the directionality">directionality</a> is being
       determined and that is either:</p>
 
@@ -949,14 +957,28 @@
 &lt;p dir=auto class="u2"&gt;&lt;b&gt;&lt;bdi&gt;Teacher&lt;/bdi&gt;:&lt;/b&gt; Do you know how to write "Please"?&lt;/p&gt;
 &lt;p dir=auto class="u1"&gt;&lt;b&gt;&lt;bdi&gt;Student&lt;/bdi&gt;:&lt;/b&gt; "&#1605;&#1606; &#1601;&#1590;&#1604;&#1603;", right?&lt;/p&gt;</pre>
 
-
+<!--
+<!DOCTYPE html>
+<style>
+ div { border: groove #FFFF99; padding: 0.25em; width: 22em; background: #FFFFEE; color: black; }
+ p { margin: 0.25em 0; font: 1em/1 InaiMathi; color: purple; }
+ .u1 { color: teal; }
+</style>
+<div>
+<p dir=ltr class="u1"><b><bdi>Student</bdi>:</b> How do you write "What's your name?" in Arabic?</p>
+<p dir=rtl class="u2"><b><bdi>Teacher</bdi>:</b> &#x645;&#x627; &#x627;&#x633;&#x645;&#x643;&#x61f;</p>
+<p dir=ltr class="u1"><b><bdi>Student</bdi>:</b> Thanks.</p>
+<p dir=ltr class="u2"><b><bdi>Teacher</bdi>:</b> That's written "&#x634;&#x643;&#x631;&#x64b;&#x627;".</p>
+<p dir=ltr class="u2"><b><bdi>Teacher</bdi>:</b> Do you know how to write "Please"?</p>
+<p dir=rtl class="u1"><b><bdi>Student</bdi>:</b> "&#x645;&#x646; &#x641;&#x636;&#x644;&#x643;", right?</p>
+-->
 
    <p>Given a suitable style sheet and the default alignment styles
    for the <code><a href="the-p-element.html#the-p-element">p</a></code> element, namely to align the text to the
    <i>start edge</i> of the paragraph, the resulting rendering could
    be as follows:</p>
 
-   <p><img alt="Each paragraph rendered as a separate block, with the paragraphs left-aligned except the second paragraph and the last one, which would  be right aligned, with the usernames ('Student' and 'Teacher' in this example) flush right, with a colon to their left, and the text first to the left of that." src="http://dev.w3.org/html5/spec/images/im.png"></p>
+   <p><img alt="Each paragraph rendered as a separate block, with the paragraphs left-aligned except the second paragraph and the last one, which would  be right aligned, with the usernames ('Student' and 'Teacher' in this example) flush right, with a colon to their left, and the text first to the left of that." src="images/im.png"></p>
 
    <p>As noted earlier, the <code title="attr-dir-auto"><a href="#attr-dir-auto">auto</a></code>
    value is not a panacea. The final paragraph in this example is
@@ -1016,7 +1038,8 @@
   <div class="impl">
 
   <p>In user agents that support CSS, the attribute's value must be
-  parsed when the attribute is added or has its value changed, according
+  parsed when the attribute is added or has its value changed<!-- so
+  dynamic changes to the base URL don't affect the CSS -->, according
   to the rules given for <span>CSS styling attributes</span>. <a href="references.html#refsCSSATTR">[CSSATTR]</a></p>
 
   </div>
@@ -1062,10 +1085,10 @@
 
 
 
-  <h5 id="embedding-custom-non-visible-data-with-the-data-attributes"><span class="secno">3.2.3.9 </span><dfn>Embedding custom non-visible data</dfn> with the <code title="attr-data-*"><a href="#attr-data">data-*</a></code> attributes</h5>
+  <h5 id="embedding-custom-non-visible-data-with-the-data-*-attributes"><span class="secno">3.2.3.9 </span><dfn>Embedding custom non-visible data</dfn> with the <code title="attr-data-*"><a href="#attr-data-*">data-*</a></code> attributes</h5>
 
   <p>A <dfn id="custom-data-attribute">custom data attribute</dfn> is an attribute in no
-  namespace whose name starts with the string "<dfn id="attr-data" title="attr-data-*"><code>data-</code></dfn>", has at least one
+  namespace whose name starts with the string "<dfn id="attr-data-*" title="attr-data-*"><code>data-</code></dfn>", has at least one
   character after the hyphen, is <a href="infrastructure.html#xml-compatible">XML-compatible</a>, and
   contains no characters in the range U+0041 to U+005A (LATIN CAPITAL
   LETTER A to LATIN CAPITAL LETTER Z).</p>
@@ -1113,7 +1136,7 @@
   <hr><dl class="domintro"><dt><var title="">element</var> . <code title="dom-dataset"><a href="#dom-dataset">dataset</a></code></dt>
    <dd>
 
-    <p>Returns a <code><a href="common-dom-interfaces.html#domstringmap">DOMStringMap</a></code> object for the element's <code title="attr-data-*"><a href="#attr-data">data-*</a></code> attributes.</p>
+    <p>Returns a <code><a href="common-dom-interfaces.html#domstringmap-0">DOMStringMap</a></code> object for the element's <code title="attr-data-*"><a href="#attr-data-*">data-*</a></code> attributes.</p>
 
     <p>Hyphenated names become camel-cased. For example, <code title="">data-foo-bar=""</code> becomes <code title="">element.dataset.fooBar</code>.</p>
 
@@ -1122,9 +1145,9 @@
   </dl><div class="impl">
 
   <p>The <dfn id="dom-dataset" title="dom-dataset"><code>dataset</code></dfn> IDL
-  attribute provides convenient accessors for all the <code title="attr-data-*"><a href="#attr-data">data-*</a></code> attributes on an element. On
+  attribute provides convenient accessors for all the <code title="attr-data-*"><a href="#attr-data-*">data-*</a></code> attributes on an element. On
   getting, the <code title="dom-dataset"><a href="#dom-dataset">dataset</a></code> IDL attribute
-  must return a <code><a href="common-dom-interfaces.html#domstringmap">DOMStringMap</a></code> object, associated with the
+  must return a <code><a href="common-dom-interfaces.html#domstringmap-0">DOMStringMap</a></code> object, associated with the
   following algorithms, which expose these attributes on their
   element:</p>
 
@@ -1143,7 +1166,7 @@
      value.</li>
 
      <li>For each name on the list, for each "-" (U+002D) character in the name that is followed by a character in the
-     range U+0061 to U+007A (<a href="common-microsyntaxes.html#lowercase-ascii-letters">lowercase ASCII letters</a>), remove the U+002D HYPHEN-MINUS character
+     range U+0061 to U+007A (<a href="#lowercase-ascii-letters">lowercase ASCII letters</a>), remove the U+002D HYPHEN-MINUS character
      (-) and replace the character that followed it by the same
      character <a href="infrastructure.html#converted-to-ascii-uppercase">converted to ASCII uppercase</a>.</li>
 
@@ -1161,10 +1184,10 @@
      algorithm.</li>
 
      <li>If <var title="">name</var> contains a "-" (U+002D) character followed by a character in the range U+0061 to
-     U+007A (<a href="common-microsyntaxes.html#lowercase-ascii-letters">lowercase ASCII letters</a>), throw a <code><a href="infrastructure.html#syntaxerror">SyntaxError</a></code> exception and abort these
+     U+007A (<a href="#lowercase-ascii-letters">lowercase ASCII letters</a>), throw a <code><a href="infrastructure.html#syntaxerror">SyntaxError</a></code> exception and abort these
      steps.</li>
 
-     <li>For each character in the range U+0041 to U+005A (<a href="common-microsyntaxes.html#uppercase-ascii-letters">uppercase ASCII letters</a>) in <var title="">name</var>, insert a "-" (U+002D) character
+     <li>For each character in the range U+0041 to U+005A (<a href="#uppercase-ascii-letters">uppercase ASCII letters</a>) in <var title="">name</var>, insert a "-" (U+002D) character
      before the character and replace the character with the same
      character <a href="infrastructure.html#converted-to-ascii-lowercase">converted to ASCII lowercase</a>.</li>
 
@@ -1184,8 +1207,12 @@
    <dd>
     <ol><li>Let <var title="">name</var> be the name passed to the
      algorithm.</li>
-
-     <li>For each character in the range U+0041 to U+005A (<a href="common-microsyntaxes.html#uppercase-ascii-letters">uppercase ASCII letters</a>) in <var title="">name</var>, insert a "-" (U+002D) character
+<!--(can't happen while the DOMStringMap deleter has no name)
+     <li>If <var title="">name</var> contains a "-" (U+002D) character followed by a character in the range U+0061 to
+     U+007A (<a href="#lowercase-ascii-letters">lowercase ASCII letters</a>), throw a <code>SyntaxError</code> exception and abort these
+     steps.</li>
+-->
+     <li>For each character in the range U+0041 to U+005A (<a href="#uppercase-ascii-letters">uppercase ASCII letters</a>) in <var title="">name</var>, insert a "-" (U+002D) character
      before the character and replace the character with the same
      character <a href="infrastructure.html#converted-to-ascii-lowercase">converted to ASCII lowercase</a>.</li>
 
@@ -1204,7 +1231,7 @@
   <div class="example">
 
    <p>If a Web page wanted an element to represent a space ship,
-   e.g. as part of a game, it would have to use the <code title="attr-class"><a href="#classes">class</a></code> attribute along with <code title="attr-data-*"><a href="#attr-data">data-*</a></code> attributes:</p>
+   e.g. as part of a game, it would have to use the <code title="attr-class"><a href="#classes">class</a></code> attribute along with <code title="attr-data-*"><a href="#attr-data-*">data-*</a></code> attributes:</p>
 
    <pre>&lt;div class="spaceship" data-ship-id="92432"
      data-weapons="laser 2" data-shields="50%"

Index: the-bdi-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-bdi-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-bdi-element.html	26 Jun 2012 20:46:54 -0000	1.158
+++ the-bdi-element.html	22 Aug 2012 10:52:47 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.23 The bdi element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.23 The bdi element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,42 +316,39 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-rp-element.html" title="4.6.22 The rp element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-rp-element.html" title="4.6.22 The rp element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-bdo-element.html" title="4.6.24 The bdo element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-rp-element.html">&#8592; 4.6.22 The rp element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-bdo-element.html">4.6.24 The bdo element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-bdi-element"><span class="secno">4.6.23 </span>The <dfn><code>bdi</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd>Also, the <code title="attr-dir"><a href="global-attributes.html#the-dir-attribute">dir</a></code> global attribute has special semantics on this element.</dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-bdi-element">bdi</a></code> element <a href="rendering.html#represents">represents</a> a span of
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-bdi-element">bdi</a></code> element <a href="rendering.html#represents">represents</a> a span of
   text that is to be isolated from its surroundings for the purposes
   of bidirectional text formatting. <a href="references.html#refsBIDI">[BIDI]</a></p>
 

Index: the-legend-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-legend-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-legend-element.html	26 Jun 2012 20:46:59 -0000	1.158
+++ the-legend-element.html	22 Aug 2012 10:52:51 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.5 The legend element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.5 The legend element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-fieldset-element.html" title="4.10.4 The fieldset element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-fieldset-element.html" title="4.10.4 The fieldset element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-label-element.html" title="4.10.6 The label element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-fieldset-element.html">&#8592; 4.10.4 The fieldset element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-label-element.html">4.10.6 The label element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-legend-element"><span class="secno">4.10.5 </span>The <dfn><code>legend</code></dfn> element</h4>
 
@@ -343,21 +340,21 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As the first child of a <code><a href="the-fieldset-element.html#the-fieldset-element">fieldset</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmllegendelement">HTMLLegendElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
   readonly attribute <a href="the-form-element.html#htmlformelement">HTMLFormElement</a>? <a href="#dom-legend-form" title="dom-legend-form">form</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-legend-element">legend</a></code> element <a href="rendering.html#represents">represents</a> a caption
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-legend-element">legend</a></code> element <a href="rendering.html#represents">represents</a> a caption
   for the rest of the contents of the <code><a href="#the-legend-element">legend</a></code> element's
   parent <code><a href="the-fieldset-element.html#the-fieldset-element">fieldset</a></code> element<span class="impl">, if
   any</span>.</p>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">legend</var> . <code title="dom-legend-form"><a href="#dom-legend-form">form</a></code></dt>
 
    <dd>
@@ -378,7 +375,7 @@
   <code><a href="the-fieldset-element.html#the-fieldset-element">fieldset</a></code> element. Otherwise, it must return null.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
 
 

--- toc-status.html DELETED ---

Index: history.html
===================================================================
RCS file: /sources/public/html5/spec/history.html,v
retrieving revision 1.1250
retrieving revision 1.1251
diff -u -d -r1.1250 -r1.1251
--- history.html	26 Jun 2012 20:46:44 -0000	1.1250
+++ history.html	22 Aug 2012 10:52:42 -0000	1.1251
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>5.5 Session history and navigation &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>5.5 Session history and navigation &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
[...976 lines suppressed...]
-   
+   <!-- we could also stop all script, or stop animations -->
 
   </ol><p>User agents may allow users to explicitly invoke the <a href="#abort-a-document" title="abort a document">abort a document</a> algorithm for a
   <code><a href="dom.html#document">Document</a></code>. If the user does so, then, if that
@@ -2725,10 +2760,11 @@
   <code><a href="dom.html#document">Document</a></code>'s <code><a href="browsers.html#window">Window</a></code> object before invoking
   the <a href="#abort-a-document" title="abort a document">abort</a> algorithm.</p>
 
-  
+  <!-- I'd love to make this more precise, anyone have any suggestions
+  on what it should say? -->
 
   </div>
 
 
-
+<!--TOPIC:Offline Web Applications-->
   </body></html>
\ No newline at end of file

--- svg-0.html DELETED ---

Index: the-source-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-source-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-source-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-source-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.8.8 The source element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.8.8 The source element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,32 +316,29 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-audio-element.html" title="4.8.7 The audio element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-audio-element.html" title="4.8.7 The audio element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-track-element.html" title="4.8.9 The track element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-audio-element.html">&#8592; 4.8.7 The audio element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-track-element.html">4.8.9 The track element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-source-element"><span class="secno">4.8.8 </span>The <dfn><code>source</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
    <dd>None.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>As a child of a <a href="media-elements.html#media-element">media element</a>, before any <a href="content-models.html#flow-content">flow content</a>
+   <dd>As a child of a <a href="media-elements.html#media-element">media element</a>, before any <a href="content-models.html#flow-content-1">flow content</a>
  or <code><a href="the-track-element.html#the-track-element">track</a></code> elements.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd>Empty.</dd>
@@ -350,7 +347,7 @@
    <dd><code title="attr-source-src"><a href="#attr-source-src">src</a></code></dd>
    <dd><code title="attr-source-type"><a href="#attr-source-type">type</a></code></dd>
    <dd><code title="attr-source-media"><a href="#attr-source-media">media</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlsourceelement">HTMLSourceElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-source-src" title="dom-source-src">src</a>;
@@ -358,7 +355,7 @@
            attribute DOMString <a href="#dom-source-media" title="dom-source-media">media</a>;
 };</pre>
    </dd>
-  </dl><p>The <code><a href="#the-source-element">source</a></code> element allows authors to specify
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-source-element">source</a></code> element allows authors to specify
   multiple alternative <a href="media-elements.html#media-resource" title="media resource">media
   resources</a> for <a href="media-elements.html#media-element" title="media element">media
   elements</a>. It does not <a href="rendering.html#represents" title="represents">represent</a> anything on its own.</p>
@@ -430,15 +427,42 @@
     <dt>Dirac video and Vorbis audio in Ogg container</dt>
     <dd><pre>&lt;source src='video.ogv' type='video/ogg; codecs="dirac, vorbis"'&gt;</pre></dd>
 
+<!-- awaiting definition by the Matroska guys:
+    <dt>Theora video and Vorbis audio in Matroska container</dt>
+    <dd><pre>&lt;source src='video.mkv' type='video/x-matroska; codecs="theora, vorbis"'></pre></dd>
+-->
 
+<!-- awaiting definition by the Ogg or BBC guys:
+    <dt>Dirac video and Vorbis audio in Matroska container</dt>
+    <dd><pre>&lt;source src='video.mkv' type='video/x-matroska; codecs='></pre></dd>
+-->
 
+<!-- awaiting definition by the Microsoft guys:
+    <dt>WMV9 video and WMA 2 audio in ASF container</dt>
+    <dd><pre>&lt;source src='video.wmv' type='video/x-ms-wmv; codecs='></pre></dd>
 
+    <dt>WMV8 video and WMA 2 audio in ASF container</dt>
+    <dd><pre>&lt;source src='video.wmv' type='video/x-ms-wmv; codecs='></pre></dd>
 
+    <dt>VC-1 video and WMA 10 Pro audio in ASF container</dt>
+    <dd><pre>&lt;source src='video.wmv' type='video/x-ms-wmv; codecs='></pre></dd>
 
+    <dt>XviD video and MP3 audio in AVI container</dt>
+    <dd><pre>&lt;source src='video.avi' type='video/x-msvideo; codecs='></pre></dd>
 
+    <dt>Motion-JPEG video and uncompressed PCM audio in AVI container</dt>
+    <dd><pre>&lt;source src='video.avi' type='video/x-msvideo; codecs='></pre></dd>
+-->
 
+<!-- awaiting definition by Real:
+    <dt>Real Video 10 video and High-Efficiency AAC audio in Real Media container</dt>
+    <dd><pre>&lt;source src='video.rm' type='application/vnd.rn-realmedia; codecs='></pre></dd>
+-->
 
-
+<!--  undefined:
+    <dt>MPEG-1 video and MPEG-1 Audio Layer II audio in MPEG-1 program stream</dt>
+    <dd><pre>&lt;source src='video.mpg' type='video/mpeg; codecs='></pre></dd>
+-->
 
    </dl></div>
 
@@ -495,5 +519,5 @@
   </div>
 
 
-
+<!--TOPIC:Video Text Tracks-->
   </body></html>
\ No newline at end of file

Index: the-embed-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-embed-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-embed-element.html	26 Jun 2012 20:46:56 -0000	1.158
+++ the-embed-element.html	22 Aug 2012 10:52:49 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.8.3 The embed element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.8.3 The embed element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,38 +316,49 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-iframe-element.html" title="4.8.2 The iframe element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-iframe-element.html" title="4.8.2 The iframe element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-object-element.html" title="4.8.4 The object element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-iframe-element.html">&#8592; 4.8.2 The iframe element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-object-element.html">4.8.4 The object element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-embed-element"><span class="secno">4.8.3 </span>The <dfn><code>embed</code></dfn> element</h4>
 
-
+<!-- (v2?)
+ we have all kinds of quirks we should define if they come up during
+ testing, as e.g. shown in:
+ http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp
+ http://trac.webkit.org/browser/trunk/WebCore/html/HTMLEmbedElement.cpp
+ http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderPartObject.cpp (updateWidget)
+ e.g. - 240x200 default
+      - the attributes/params are sent in a name-value pair list as follows (for Gecko):
+         + attributes of the element, in source order
+         + a synthesised 'src' attribute, if there was no 'src' but
+           there was a 'data', with the value of the 'data' attribute
+         + the params, in source order
+        (WebKit does something different still)
+      - the HIDDEN attribute (might be moot now)
+-->
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#embedded-content">Embedded content</a>.</dd>
-   <dd><a href="content-models.html#interactive-content">Interactive content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#embedded-content-2">Embedded content</a>.</dd>
+   <dd><a href="content-models.html#interactive-content-0">Interactive content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#embedded-content">embedded content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#embedded-content-2">embedded content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd>Empty.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
@@ -357,7 +368,7 @@
    <dd><code title="attr-dim-width"><a href="dimension-attributes.html#attr-dim-width">width</a></code></dd>
    <dd><code title="attr-dim-height"><a href="dimension-attributes.html#attr-dim-height">height</a></code></dd>
    <dd>Any other attribute that has no namespace (see prose).</dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlembedelement">HTMLEmbedElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#dom-embed-src" title="dom-embed-src">src</a>;
@@ -372,7 +383,7 @@
     interfaces.</p>
     </div>
    </dd>
-  </dl><p>The <code><a href="#the-embed-element">embed</a></code> element <a href="rendering.html#represents">represents</a> an
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-embed-element">embed</a></code> element <a href="rendering.html#represents">represents</a> an
   integration point for an external (typically non-HTML) application
   or interactive content.</p>
 
@@ -381,6 +392,7 @@
   present, must contain a <a href="urls.html#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially
   surrounded by spaces</a>.</p>
 
+<!--MD-->
 
   <p>The <dfn id="attr-embed-type" title="attr-embed-type"><code>type</code></dfn>
   attribute, if present, gives the <a href="infrastructure.html#mime-type">MIME type</a> by which the
@@ -428,18 +440,26 @@
     attribute, relative to the element. If that is successful, the
     user agent should <a href="urls.html#fetch">fetch</a> the resulting <a href="urls.html#absolute-url">absolute
     URL</a>, from the element's <a href="browsers.html#browsing-context-scope-origin">browsing context scope
-    origin</a> if it has one. The <a href="webappapis.html#concept-task" title="concept-task">task</a> that is
+    origin</a> if it has one<!-- potentially http-origin privacy
+    sensitive -->. The <a href="webappapis.html#concept-task" title="concept-task">task</a> that is
     <a href="webappapis.html#queue-a-task" title="queue a task">queued</a> by the <a href="webappapis.html#networking-task-source">networking
     task source</a> once the resource has been <a href="urls.html#fetch" title="fetch">fetched</a> must find and instantiate an
     appropriate <a href="infrastructure.html#plugin">plugin</a> based on the <a href="#concept-embed-type" title="concept-embed-type">content's type</a>, and hand that
     <a href="infrastructure.html#plugin">plugin</a> the content of the resource, replacing any
-    previously instantiated plugin for the element.</p> 
+    previously instantiated plugin for the element.</p> <!-- Note that
+    this doesn't happen when the base URL changes. -->
 
     <p>Fetching the resource must <a href="the-end.html#delay-the-load-event">delay the load event</a> of
     the element's document.</p>
-    
-    
-    
+    <!-- if we add load/error events, then replace the previous
+    paragraph with the text one: -->
+    <!-- similar text in various places -->
+    <!--<p>Fetching the resource must <span>delay the load
+    event</span> of the element's document until the final <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 has been <span title="fetch">fetched</span> has
+    been run.</p>-->
 
    </dd>
 
@@ -455,9 +475,9 @@
   be unloaded.</p>
 
   <p id="sandboxPluginEmbed">When a <a href="infrastructure.html#plugin">plugin</a> is to be
-  instantiated but it cannot be <a href="infrastructure.html#concept-plugin-secure" title="concept-plugin-secure">secured</a> and the <a href="origin-0.html#sandboxed-plugins-browsing-context-flag">sandboxed
+  instantiated but it cannot be <a href="infrastructure.html#concept-plugin-secure" title="concept-plugin-secure">secured</a> and the <a href="browsers.html#sandboxed-plugins-browsing-context-flag">sandboxed
   plugins browsing context flag</a> is set on the
-  <code><a href="#the-embed-element">embed</a></code> element's <code><a href="dom.html#document">Document</a></code>'s <a href="origin-0.html#active-sandboxing-flag-set">active
+  <code><a href="#the-embed-element">embed</a></code> element's <code><a href="dom.html#document">Document</a></code>'s <a href="browsers.html#active-sandboxing-flag-set">active
   sandboxing flag set</a>, then the user agent must not
   instantiate the <a href="infrastructure.html#plugin">plugin</a>, and must instead render the
   <code><a href="#the-embed-element">embed</a></code> element in a manner that conveys that the
@@ -484,7 +504,9 @@
 
    <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 the <a href="urls.html#url-path" title="url-path">&lt;path&gt;</a>
     component of the <a href="urls.html#url">URL</a> of the specified resource (after
@@ -496,8 +518,8 @@
     handle resources with <a href="urls.html#url-path" title="url-path">&lt;path&gt;</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>
 
@@ -508,7 +530,7 @@
    <li><p>Otherwise, the content has no type and there can be no
    appropriate <a href="infrastructure.html#plugin">plugin</a> for it.</p></li>
 
-   
+   <!-- This algorithm is a monument to bad design. Go legacy! -->
 
   </ol><p>The <code><a href="#the-embed-element">embed</a></code> element has no <a href="content-models.html#fallback-content">fallback
   content</a>. If the user agent can't find a suitable plugin, then
@@ -526,7 +548,8 @@
 
   </div>
 
-  <p>Any namespace-less attribute other than <code title="attr-embed-name"><a href="obsolete.html#attr-embed-name">name</a></code>, <code title="attr-embed-align"><a href="obsolete.html#attr-embed-align">align</a></code>, <code title="attr-embed-hspace"><a href="obsolete.html#attr-embed-hspace">hspace</a></code>, and <code title="attr-embed-vspace"><a href="obsolete.html#attr-embed-vspace">vspace</a></code>  may be specified on the <code><a href="#the-embed-element">embed</a></code> element,
+  <p>Any namespace-less attribute other than <code title="attr-embed-name"><a href="obsolete.html#attr-embed-name">name</a></code>, <code title="attr-embed-align"><a href="obsolete.html#attr-embed-align">align</a></code>, <code title="attr-embed-hspace"><a href="obsolete.html#attr-embed-hspace">hspace</a></code>, and <code title="attr-embed-vspace"><a href="obsolete.html#attr-embed-vspace">vspace</a></code> <!-- when editing, see also
+  note below --> may be specified on the <code><a href="#the-embed-element">embed</a></code> element,
   so long as its name is <a href="infrastructure.html#xml-compatible">XML-compatible</a> and contains no
   characters in the range U+0041 to U+005A (LATIN CAPITAL LETTER A to
   LATIN CAPITAL LETTER Z). These attributes are then passed as

Index: the-ins-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-ins-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-ins-element.html	26 Jun 2012 20:46:58 -0000	1.158
+++ the-ins-element.html	22 Aug 2012 10:52:50 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.7.1 The ins element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.7.1 The ins element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,44 +316,41 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="edits.html" title="4.7 Edits" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="edits.html" title="4.7 Edits" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-del-element.html" title="4.7.2 The del element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="edits.html">&#8592; 4.7 Edits</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-del-element.html">4.7.2 The del element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-ins-element"><span class="secno">4.7.1 </span>The <dfn><code>ins</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: <a href="content-models.html#phrasing-content">phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: <a href="content-models.html#phrasing-content-1">phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>When the element only contains <a href="content-models.html#phrasing-content">phrasing content</a>: where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
-   <dd>Otherwise: where <a href="content-models.html#flow-content">flow content</a> is expected.</dd>
+   <dd>When the element only contains <a href="content-models.html#phrasing-content-1">phrasing content</a>: where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
+   <dd>Otherwise: where <a href="content-models.html#flow-content-1">flow content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd><a href="content-models.html#transparent">Transparent</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-mod-cite"><a href="attributes-common-to-ins-and-del-elements.html#attr-mod-cite">cite</a></code></dd>
    <dd><code title="attr-mod-datetime"><a href="attributes-common-to-ins-and-del-elements.html#attr-mod-datetime">datetime</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses the <code><a href="attributes-common-to-ins-and-del-elements.html#htmlmodelement">HTMLModElement</a></code> interface.</dd>
-  </dl><p>The <code><a href="#the-ins-element">ins</a></code> element <a href="rendering.html#represents">represents</a> an addition
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-ins-element">ins</a></code> element <a href="rendering.html#represents">represents</a> an addition
   to the document.</p>
 
   <div class="example">
@@ -367,7 +364,7 @@
 &lt;/aside&gt;</pre>
 
    <p>As does this, because everything in the <code><a href="the-aside-element.html#the-aside-element">aside</a></code>
-   element here counts as <a href="content-models.html#phrasing-content">phrasing content</a> and therefore
+   element here counts as <a href="content-models.html#phrasing-content-1">phrasing content</a> and therefore
    there is just one <a href="content-models.html#paragraph">paragraph</a>:</p>
 
    <pre>&lt;aside&gt;
@@ -416,7 +413,8 @@
  &lt;/ins&gt;
 &lt;/aside&gt;</pre>
 
-   
+   <!-- Those dates aren't random. They're the start and end of
+   something. Can you guess what? -->
 
   </div>
 

Index: the-col-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-col-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-col-element.html	26 Jun 2012 20:46:55 -0000	1.158
+++ the-col-element.html	22 Aug 2012 10:52:48 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.9.4 The col element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.9.4 The col element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-colgroup-element.html" title="4.9.3 The colgroup element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-colgroup-element.html" title="4.9.3 The colgroup element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-tbody-element.html" title="4.9.5 The tbody element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-colgroup-element.html">&#8592; 4.9.3 The colgroup element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-tbody-element.html">4.9.5 The tbody element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-col-element"><span class="secno">4.9.4 </span>The <dfn><code>col</code></dfn> element</h4>
 
@@ -348,14 +345,14 @@
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-col-span"><a href="#attr-col-span">span</a></code></dd>
-   
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <!-- v2: char, to specify the decimal character used in numeric data cells in the column (not header cells) -->
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <p><code><a href="the-colgroup-element.html#htmltablecolelement">HTMLTableColElement</a></code>, same as for
     <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> elements. This interface defines one member,
     <code title="dom-col-span"><a href="#dom-col-span">span</a></code>.</p>
    </dd>
-  </dl><p>If a <code><a href="#the-col-element">col</a></code> element has a parent and that is a
+  </dl><!--TOPIC:HTML--><p>If a <code><a href="#the-col-element">col</a></code> element has a parent and that is a
   <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element that itself has a parent that is a
   <code><a href="the-table-element.html#the-table-element">table</a></code> element, then the <code><a href="#the-col-element">col</a></code> element
   <a href="rendering.html#represents">represents</a> one or more <a href="attributes-common-to-td-and-th-elements.html#concept-column" title="concept-column">columns</a> in the <a href="attributes-common-to-td-and-th-elements.html#concept-column-group" title="concept-column-group">column group</a> represented by that

Index: the-em-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-em-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-em-element.html	26 Jun 2012 20:46:56 -0000	1.158
+++ the-em-element.html	22 Aug 2012 10:52:48 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.2 The em element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.2 The em element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,41 +316,38 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-a-element.html" title="4.6.1 The a element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-a-element.html" title="4.6.1 The a element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-strong-element.html" title="4.6.3 The strong element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-a-element.html">&#8592; 4.6.1 The a element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-strong-element.html">4.6.3 The strong element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-em-element"><span class="secno">4.6.2 </span>The <dfn><code>em</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-em-element">em</a></code> element <a href="rendering.html#represents">represents</a> stress
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-em-element">em</a></code> element <a href="rendering.html#represents">represents</a> stress
   emphasis of its contents.</p>
 
   <p>The level of emphasis that a particular piece of content has is
@@ -416,7 +413,16 @@
    importance; for that purpose, the <code><a href="the-strong-element.html#the-strong-element">strong</a></code> element is
    more appropriate.</p>
 
-   
+   <!--
+
+    Thus the following is a bad use of <em>:
+
+      <p><em>Note</em>: ...</p>
+
+    You should use <strong> or <i> for this instead (depending on
+    exactly what you're doing).
+
+   -->
 
   </div>
 

Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec/semantics.html,v
retrieving revision 1.1239
retrieving revision 1.1240
diff -u -d -r1.1239 -r1.1240
--- semantics.html	26 Jun 2012 20:46:49 -0000	1.1239
+++ semantics.html	22 Aug 2012 10:52:45 -0000	1.1240
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4 The elements of HTML &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4 The elements of HTML &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,27 +316,24 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="dynamic-markup-insertion.html" title="3.4 Dynamic markup insertion" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="dynamic-markup-insertion.html" title="3.4 Dynamic markup insertion" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-html-element.html" title="4.1.1 The html element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="dynamic-markup-insertion.html">&#8592; 3.4 Dynamic markup insertion</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-html-element.html">4.1.1 The html element &#8594;</a>
   <ol class="toc"><li><a href="semantics.html#semantics"><span class="secno">4 </span>The elements of HTML</a>
   <ol><li><a href="semantics.html#the-root-element"><span class="secno">4.1 </span>The root element</a>
-    </li></ol></li></ol></nav>
+    </li></ol></li></ol></div>
 
   <h2 id="semantics"><span class="secno">4 </span>The elements of HTML</h2>
 

Index: the-q-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-q-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-q-element.html	26 Jun 2012 20:47:02 -0000	1.158
+++ the-q-element.html	22 Aug 2012 10:52:52 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.7 The q element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.7 The q element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,42 +316,39 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-cite-element.html" title="4.6.6 The cite element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-cite-element.html" title="4.6.6 The cite element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-dfn-element.html" title="4.6.8 The dfn element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-cite-element.html">&#8592; 4.6.6 The cite element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-dfn-element.html">4.6.8 The dfn element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-q-element"><span class="secno">4.6.7 </span>The <dfn><code>q</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-q-cite"><a href="#attr-q-cite">cite</a></code></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="the-blockquote-element.html#htmlquoteelement">HTMLQuoteElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-q-element">q</a></code> element <a href="rendering.html#represents">represents</a> some <a href="content-models.html#phrasing-content" title="phrasing content">phrasing content</a> quoted from another
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-q-element">q</a></code> element <a href="rendering.html#represents">represents</a> some <a href="content-models.html#phrasing-content-1" title="phrasing content">phrasing content</a> quoted from another
   source.</p>
 
   <p>Quotation punctuation (such as quotation marks) that is quoting

Index: the-style-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-style-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-style-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-style-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.2.6 The style element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.2.6 The style element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,35 +316,32 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-meta-element.html" title="4.2.5 The meta element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-meta-element.html" title="4.2.5 The meta element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="styling.html" title="4.2.7 Styling" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-meta-element.html">&#8592; 4.2.5 The meta element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="styling.html">4.2.7 Styling &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-style-element"><span class="secno">4.2.6 </span>The <dfn><code>style</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#metadata-content">Metadata content</a>.</dd>
-   <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is present: <a href="content-models.html#flow-content">flow content</a>.</dd>
+   <dd><a href="content-models.html#metadata-content-0">Metadata content</a>.</dd>
+   <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is present: <a href="content-models.html#flow-content-1">flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is absent: where <a href="content-models.html#metadata-content">metadata content</a> is expected.</dd>
+   <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is absent: where <a href="content-models.html#metadata-content-0">metadata content</a> is expected.</dd>
    <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is absent: in a <code><a href="the-noscript-element.html#the-noscript-element">noscript</a></code> element that is a child of a <code><a href="the-head-element.html#the-head-element">head</a></code> element.</dd>
-   <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is present: where <a href="content-models.html#flow-content">flow content</a> is expected, but before any other <a href="content-models.html#flow-content">flow content</a> other than <a href="content-models.html#inter-element-whitespace">inter-element whitespace</a>, and not as the child of an element whose content model is <a href="content-models.html#transparent">transparent</a>.</dd>
+   <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is present: where <a href="content-models.html#flow-content-1">flow content</a> is expected, but before any other <a href="content-models.html#flow-content-1">flow content</a> other than <a href="content-models.html#inter-element-whitespace">inter-element whitespace</a>, and not as the child of an element whose content model is <a href="content-models.html#transparent">transparent</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
    <dd>Depends on the value of the <code title="attr-style-type"><a href="#attr-style-type">type</a></code> attribute, but must match requirements described in prose below.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
@@ -353,7 +350,7 @@
    <dd><code title="attr-style-type"><a href="#attr-style-type">type</a></code></dd>
    <dd><code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code></dd>
    <dd>Also, the <code title="attr-style-title"><a href="#attr-style-title">title</a></code> attribute has special semantics on this element.</dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmlstyleelement">HTMLStyleElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
            attribute boolean <a href="#dom-style-disabled" title="dom-style-disabled">disabled</a>;
@@ -363,7 +360,7 @@
 };
 <a href="#htmlstyleelement">HTMLStyleElement</a> implements <a href="infrastructure.html#linkstyle">LinkStyle</a>;</pre>
    </dd>
-  </dl><p>The <code><a href="#the-style-element">style</a></code> element allows authors to embed style
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-style-element">style</a></code> element allows authors to embed style
   information in their documents. The <code><a href="#the-style-element">style</a></code> element is
   one of several inputs to the <a href="styling.html#styling">styling processing
   model</a>. The element does not <a href="rendering.html#represents" title="represents">represent</a> content for the user.</p>
@@ -377,7 +374,7 @@
 
   <div class="impl">
 
-  
+  <!-- this paragraph is also present in the <script> section -->
   <p>When examining types to determine if they support the language,
   user agents must not ignore unknown MIME parameters &#8212; types
   with unknown parameters must be assumed to be unsupported. The <code title="">charset</code> parameter must be treated as an unknown
@@ -391,14 +388,16 @@
   <a href="common-microsyntaxes.html#valid-media-query">valid media query</a>.  <span class="impl">The user agent
   must apply the styles when the <code title="attr-style-media"><a href="#attr-style-media">media</a></code> attribute's value
   <a href="common-microsyntaxes.html#matches-the-environment">matches the environment</a> and the other relevant
-  conditions apply, and must not apply them otherwise.</span></p>
+  conditions apply, and must not apply them otherwise.</span></p><!--
+  note similar text in <link> section -->
 
   <div class="impl">
 
   <p class="note">The styles might be further limited in scope,
   e.g. in CSS with the use of <code title="">@media</code>
   blocks. This specification does not override such further
-  restrictions or requirements.</p>
+  restrictions or requirements.</p><!-- note similar text in <link>
+  section -->
 
   </div>
 
@@ -414,7 +413,7 @@
 
   <p>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is
   present and the element has a parent element, then the
-  <code><a href="#the-style-element">style</a></code> element must be the first node of <a href="content-models.html#flow-content">flow
+  <code><a href="#the-style-element">style</a></code> element must be the first node of <a href="content-models.html#flow-content-1">flow
   content</a> in its parent element other than <a href="content-models.html#inter-element-whitespace">inter-element
   whitespace</a>, and the parent element's content model must not
   have a <a href="content-models.html#transparent">transparent</a> component.</p>
@@ -422,7 +421,7 @@
   <p class="note">This implies that only one scoped <code><a href="#the-style-element">style</a></code>
   element is allowed at a time, and that such elements cannot be
   children of, e.g., <code><a href="the-a-element.html#the-a-element">a</a></code> or <code><a href="the-ins-element.html#the-ins-element">ins</a></code> elements, even
-  when those are used as <a href="content-models.html#flow-content">flow content</a> containers.</p>
+  when those are used as <a href="content-models.html#flow-content-1">flow content</a> containers.</p>
 
   <div class="impl">
 
@@ -495,7 +494,14 @@
 no-c-end      = &lt;any string that doesn't contain a substring that matches c-end &gt;
 c-end         = "--&gt;"</pre>
 
-  
+  <!-- Unmatched comment-like syntax is invalid on a temporary basis,
+       waiting for IE, WebKit, and Opera to fix their parsing bug
+       whereby such comments trigger a weird escape in which </style>
+       is ignored. Otherwise, parsing behaviour in those browsers
+       could differ substantially from the parsing behaviour of HTML5.
+       Once everyone follows the HTML5 spec, we can drop this
+       requirement.
+  -->
 
   <div class="impl">
 
@@ -504,7 +510,7 @@
   evaluated. For styling languages that consist of pure text (as
   opposed to XML), user agents must evaluate <code><a href="#the-style-element">style</a></code>
   elements by passing the concatenation of the contents of all the
-  <code><a href="infrastructure.html#text">Text</a></code> nodes that are children of the
+  <code><a href="infrastructure.html#text-0">Text</a></code> nodes that are children of the
   <code><a href="#the-style-element">style</a></code> element (not any other nodes such as comments or
   elements), in <a href="infrastructure.html#tree-order">tree order</a>, to the style system. For
   XML-based styling languages, user agents must pass all the child
@@ -513,9 +519,10 @@
   <p>All <a href="urls.html#url" title="URL">URLs</a> found by the styling language's
   processor must be <a href="urls.html#resolve-a-url" title="resolve a url">resolved</a>,
   relative to the element (or as defined by the styling language),
-  when the processor is invoked.</p>
+  when the processor is invoked.<!-- so dynamic changes to the base
+  URL don't affect the CSS --></p>
 
-  
+  <!-- the next few paragraph are similar to text in the <style> section -->
   <p>Once the attempts to obtain the style sheet's <a href="infrastructure.html#critical-subresources">critical
   subresources</a>, if any, are complete, or, if the style sheet
   has no <a href="infrastructure.html#critical-subresources">critical subresources</a>, once the style sheet has

Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec/syntax.html,v
retrieving revision 1.1209
retrieving revision 1.1210
diff -u -d -r1.1209 -r1.1210
--- syntax.html	26 Jun 2012 20:46:51 -0000	1.1209
+++ syntax.html	22 Aug 2012 10:52:46 -0000	1.1210
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>8 The HTML syntax &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>8 The HTML syntax &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,29 +316,26 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="dnd.html" title="7.7 Drag and drop" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="dnd.html" title="7.7 Drag and drop" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="parsing.html" title="8.2 Parsing HTML documents" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="dnd.html">&#8592; 7.7 Drag and drop</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="parsing.html">8.2 Parsing HTML documents &#8594;</a>
   <ol class="toc"><li><a href="syntax.html#syntax"><span class="secno">8 </span>The HTML syntax</a>
   <ol><li><a href="syntax.html#writing"><span class="secno">8.1 </span>Writing HTML documents</a>
     <ol><li><a href="syntax.html#the-doctype"><span class="secno">8.1.1 </span>The DOCTYPE</a></li><li><a href="syntax.html#elements-0"><span class="secno">8.1.2 </span>Elements</a>
-      <ol><li><a href="syntax.html#start-tags"><span class="secno">8.1.2.1 </span>Start tags</a></li><li><a href="syntax.html#end-tags"><span class="secno">8.1.2.2 </span>End tags</a></li><li><a href="syntax.html#attributes-0"><span class="secno">8.1.2.3 </span>Attributes</a></li><li><a href="syntax.html#optional-tags"><span class="secno">8.1.2.4 </span>Optional tags</a></li><li><a href="syntax.html#element-restrictions"><span class="secno">8.1.2.5 </span>Restrictions on content models</a></li><li><a href="syntax.html#cdata-rcdata-restrictions"><span class="secno">8.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</a></li></ol></li><li><a href="syntax.html#text-0"><span class="secno">8.1.3 </span>Text</a>
-      <ol><li><a href="syntax.html#newlines"><span class="secno">8.1.3.1 </span>Newlines</a></li></ol></li><li><a href="syntax.html#character-references"><span class="secno">8.1.4 </span>Character references</a></li><li><a href="syntax.html#cdata-sections"><span class="secno">8.1.5 </span>CDATA sections</a></li><li><a href="syntax.html#comments"><span class="secno">8.1.6 </span>Comments</a></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="syntax.html#start-tags"><span class="secno">8.1.2.1 </span>Start tags</a></li><li><a href="syntax.html#end-tags"><span class="secno">8.1.2.2 </span>End tags</a></li><li><a href="syntax.html#attributes-0"><span class="secno">8.1.2.3 </span>Attributes</a></li><li><a href="syntax.html#optional-tags"><span class="secno">8.1.2.4 </span>Optional tags</a></li><li><a href="syntax.html#element-restrictions"><span class="secno">8.1.2.5 </span>Restrictions on content models</a></li><li><a href="syntax.html#cdata-rcdata-restrictions"><span class="secno">8.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</a></li></ol></li><li><a href="syntax.html#text"><span class="secno">8.1.3 </span>Text</a>
+      <ol><li><a href="syntax.html#newlines"><span class="secno">8.1.3.1 </span>Newlines</a></li></ol></li><li><a href="syntax.html#character-references"><span class="secno">8.1.4 </span>Character references</a></li><li><a href="syntax.html#cdata-sections"><span class="secno">8.1.5 </span>CDATA sections</a></li><li><a href="syntax.html#comments"><span class="secno">8.1.6 </span>Comments</a></li></ol></li></ol></li></ol></div>
 
   <h2 id="syntax"><span class="secno">8 </span><dfn>The HTML syntax</dfn></h2>
 
@@ -412,7 +409,8 @@
 
   <h4 id="the-doctype"><span class="secno">8.1.1 </span>The DOCTYPE</h4>
 
-  <p>A <dfn id="syntax-doctype" title="syntax-doctype">DOCTYPE</dfn> is a  required preamble.</p>
+  <p>A <dfn id="syntax-doctype" title="syntax-doctype">DOCTYPE</dfn> is a <!-- mostly
+  useless but nonetheless --> required preamble.</p>
 
   <p class="note">DOCTYPEs are required for legacy reasons. When
   omitted, browsers tend to use a different rendering mode that is
@@ -453,7 +451,7 @@
   the document is generated from a system that cannot output the
   shorter string.</p>
 
-  <hr><p>To help authors transition from HTML4 and XHTML1, an
+  <hr><!-- see the parser section before changing this bit --><p>To help authors transition from HTML4 and XHTML1, an
   <dfn id="obsolete-permitted-doctype-string">obsolete permitted DOCTYPE string</dfn> can be inserted into
   the DOCTYPE (in the position defined above). This string must
   consist of:</p>
@@ -507,11 +505,12 @@
    <code><a href="the-keygen-element.html#the-keygen-element">keygen</a></code>, <code><a href="the-link-element.html#the-link-element">link</a></code>, <code><a href="the-meta-element.html#the-meta-element">meta</a></code>,
    <code><a href="the-param-element.html#the-param-element">param</a></code>, <code><a href="the-source-element.html#the-source-element">source</a></code>, <code><a href="the-track-element.html#the-track-element">track</a></code>,
    <code><a href="the-wbr-element.html#the-wbr-element">wbr</a></code></dd>
-   
+   <!-- see also other places that say VOIDLIST -->
 
    <dt><dfn id="raw-text-elements">Raw text elements</dfn></dt>
 
-   <dd><code><a href="the-script-element.html#the-script-element">script</a></code>, <code><a href="the-style-element.html#the-style-element">style</a></code></dd> 
+   <dd><code><a href="the-script-element.html#the-script-element">script</a></code>, <code><a href="the-style-element.html#the-style-element">style</a></code></dd> <!-- iframe and
+   noscript don't count as raw text for syntax purposes -->
 
    <dt><dfn id="rcdata-elements">RCDATA elements</dfn></dt>
 
@@ -605,7 +604,7 @@
 
   <p>Tags contain a <dfn id="syntax-tag-name" title="syntax-tag-name">tag name</dfn>,
   giving the element's name. HTML elements all have names that only
-  use characters in the range <a href="common-microsyntaxes.html#ascii-digits">ASCII digits</a>, <a href="common-microsyntaxes.html#lowercase-ascii-letters">lowercase ASCII letters</a>, and <a href="common-microsyntaxes.html#uppercase-ascii-letters">uppercase ASCII letters</a>. In the HTML syntax, tag names, even those for <a href="#foreign-elements">foreign
+  use characters in the range <a href="#ascii-digits">ASCII digits</a>, <a href="#lowercase-ascii-letters">lowercase ASCII letters</a>, and <a href="#uppercase-ascii-letters">uppercase ASCII letters</a>. In the HTML syntax, tag names, even those for <a href="#foreign-elements">foreign
   elements</a>, may be written with any mix of lower- and uppercase
   letters that, when converted to all-lowercase, matches the element's
   tag name; tag names are case-insensitive.</p>
@@ -672,7 +671,8 @@
 
   <p>Attributes have a name and a value. <dfn id="syntax-attribute-name" title="syntax-attribute-name">Attribute names</dfn> must consist of
   one or more characters other than the <a href="common-microsyntaxes.html#space-character" title="space
-  character">space characters</a>, U+0000 NULL, """ (U+0022), "'" (U+0027), U+003E GREATER-THAN SIGN
+  character">space characters</a>, U+0000 NULL, U+0022 QUOTATION
+  MARK ("), U+0027 APOSTROPHE ('), U+003E GREATER-THAN SIGN
   (&gt;), "/" (U+002F), and "=" (U+003D) characters,
   the control characters, and any characters that are not defined by
   Unicode. In the HTML syntax, attribute names, even those for
@@ -719,11 +719,38 @@
     character">space characters</a>, followed by the <a href="#syntax-attribute-value" title="syntax-attribute-value">attribute value</a>, which, in
     addition to the requirements given above for attribute values,
     must not contain any literal <a href="common-microsyntaxes.html#space-character" title="space character">space
-    characters</a>, any """ (U+0022) characters,
-    "'" (U+0027) characters, "=" (U+003D) characters, U+003C LESS-THAN SIGN characters (&lt;), U+003E
+    characters</a>, any U+0022 QUOTATION MARK characters ("),
+    U+0027 APOSTROPHE characters ('), "=" (U+003D) characters, U+003C LESS-THAN SIGN characters (&lt;), U+003E
     GREATER-THAN SIGN characters (&gt;), or "`" (U+0060) characters, and must not be the empty string.</p>
 
-    
+    <!-- The ` character is in this list on a temporary basis, waiting
+         for IE to fix its parsing bug whereby it treats ` as an
+         attribute value delimiter. Otherwise, escaping software that
+         tries to be clever and not use quotes when it doesn't need to
+         could be tricked by an attacker.
+
+         Posit a site that allows the user to input text that is used
+         verbatim in two attributes, such that the user can set the
+         first attribute's value to:
+
+            `
+
+         ...and the second to:
+
+            ` onload='...payload...' end=x
+
+         ...with the assumption that the site is going to not quote
+         the first one, and quote the second one with double quotes:
+
+            <body title=` class="` onload='...payload...' end=x">
+
+         In IE, this is treated as:
+
+            <body title=' class="'
+                  onload='...payload...'
+                  end='x"'>
+
+    -->
 
 
     <div class="example">
@@ -816,7 +843,7 @@
     </td></tr><tr><td> <code title="">show</code> </td><td> <a href="namespaces.html#xlink-namespace">XLink namespace</a> </td><td> <code title="">xlink:show</code>
     </td></tr><tr><td> <code title="">title</code> </td><td> <a href="namespaces.html#xlink-namespace">XLink namespace</a> </td><td> <code title="">xlink:title</code>
     </td></tr><tr><td> <code title="">type</code> </td><td> <a href="namespaces.html#xlink-namespace">XLink namespace</a> </td><td> <code title="">xlink:type</code>
-    </td></tr><tr><td> <code title="">base</code> </td><td> <a href="namespaces.html#xml-namespace">XML namespace</a>  </td><td> <code title="">xml:base</code>
+    </td></tr><tr><td> <code title="">base</code> </td><td> <a href="namespaces.html#xml-namespace">XML namespace</a> <!-- attr-xml-base --> </td><td> <code title="">xml:base</code>
     </td></tr><tr><td> <code title="">lang</code> </td><td> <a href="namespaces.html#xml-namespace">XML namespace</a> </td><td> <code title="">xml:lang</code>
     </td></tr><tr><td> <code title="">space</code> </td><td> <a href="namespaces.html#xml-namespace">XML namespace</a> </td><td> <code title="">xml:space</code>
     </td></tr><tr><td> <code title="">xmlns</code> </td><td> <a href="namespaces.html#xmlns-namespace">XMLNS namespace</a> </td><td> <code title="">xmlns</code>
@@ -834,116 +861,131 @@
   implied, but it is still there. For example, an HTML document always
   has a root <code><a href="the-html-element.html#the-html-element">html</a></code> element, even if the string <code title="">&lt;html&gt;</code> doesn't appear anywhere in the markup.</p>
 
-  
+  <!-- <html> -->
   <p>An <code><a href="the-html-element.html#the-html-element">html</a></code> element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> may be omitted if the
   first thing inside the <code><a href="the-html-element.html#the-html-element">html</a></code> element is not a <a href="#syntax-comments" title="syntax-comments">comment</a>.</p>
 
-  
+  <!-- </html> -->
   <p>An <code><a href="the-html-element.html#the-html-element">html</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-html-element.html#the-html-element">html</a></code> element is not
   immediately followed by a <a href="#syntax-comments" title="syntax-comments">comment</a>.</p>
 
-  
+  <!-- <head> -->
   <p>A <code><a href="the-head-element.html#the-head-element">head</a></code> element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> may be omitted if the
   element is empty, or if the first thing inside the
   <code><a href="the-head-element.html#the-head-element">head</a></code> element is an element.</p>
 
-  
+  <!-- </head> -->
   <p>A <code><a href="the-head-element.html#the-head-element">head</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-head-element.html#the-head-element">head</a></code> element is not
   immediately followed by a <a href="common-microsyntaxes.html#space-character">space character</a> or a <a href="#syntax-comments" title="syntax-comments">comment</a>.</p>
 
-  
+  <!-- <body> -->
   <p>A <code><a href="the-body-element.html#the-body-element">body</a></code> element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> may be omitted if the
   element is empty, or if the first thing inside the <code><a href="the-body-element.html#the-body-element">body</a></code>
   element is not a <a href="common-microsyntaxes.html#space-character">space character</a> or a <a href="#syntax-comments" title="syntax-comments">comment</a>, except if the first thing
   inside the <code><a href="the-body-element.html#the-body-element">body</a></code> element is a <code><a href="the-script-element.html#the-script-element">script</a></code> or
-  <code><a href="the-style-element.html#the-style-element">style</a></code> element. </p>
+  <code><a href="the-style-element.html#the-style-element">style</a></code> element. <!-- Note that even if the </head> end
+  tag is present, the parser makes <style> and <script> elements
+  between </head> and <body> end up in the <head> instead of implying
+  the <body> --></p>
 
-  
+  <!-- </body> -->
   <p>A <code><a href="the-body-element.html#the-body-element">body</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-body-element.html#the-body-element">body</a></code> element is not
   immediately followed by a <a href="#syntax-comments" title="syntax-comments">comment</a>.</p>
 
-  
+  <!-- </li> -->
   <p>An <code><a href="the-li-element.html#the-li-element">li</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-li-element.html#the-li-element">li</a></code> element is
   immediately followed by another <code><a href="the-li-element.html#the-li-element">li</a></code> element or if there
   is no more content in the parent element.</p>
 
-  
+  <!-- </dt> -->
   <p>A <code><a href="the-dt-element.html#the-dt-element">dt</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-dt-element.html#the-dt-element">dt</a></code> element is
   immediately followed by another <code><a href="the-dt-element.html#the-dt-element">dt</a></code> element or a
   <code><a href="the-dd-element.html#the-dd-element">dd</a></code> element.</p>
 
-  
+  <!-- </dd> -->
   <p>A <code><a href="the-dd-element.html#the-dd-element">dd</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-dd-element.html#the-dd-element">dd</a></code> element is
   immediately followed by another <code><a href="the-dd-element.html#the-dd-element">dd</a></code> element or a
   <code><a href="the-dt-element.html#the-dt-element">dt</a></code> element, or if there is no more content in the
   parent element.</p>
 
-  
+  <!-- </p> -->
   <p>A <code><a href="the-p-element.html#the-p-element">p</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-p-element.html#the-p-element">p</a></code> element is
   immediately followed by an <code><a href="the-address-element.html#the-address-element">address</a></code>,
   <code><a href="the-article-element.html#the-article-element">article</a></code>, <code><a href="the-aside-element.html#the-aside-element">aside</a></code>, <code><a href="the-blockquote-element.html#the-blockquote-element">blockquote</a></code>,
   <code><a href="obsolete.html#dir">dir</a></code>, <code><a href="the-div-element.html#the-div-element">div</a></code>, <code><a href="the-dl-element.html#the-dl-element">dl</a></code>,
   <code><a href="the-fieldset-element.html#the-fieldset-element">fieldset</a></code>, <code><a href="the-footer-element.html#the-footer-element">footer</a></code>, <code><a href="the-form-element.html#the-form-element">form</a></code>,
-  <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h3</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h4</a></code>,
-  <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h5</a></code>, <code><a href="the-h1-h2-h3-h4-h5-and-h6-elements.html#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code>, <code><a href="the-header-element.html#the-header-element">header</a></code>,
+  <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h1</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h2</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h3</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h4</a></code>,
+  <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h5</a></code>, <code><a href="the-aside-element.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements">h6</a></code>, <code><a href="the-header-element.html#the-header-element">header</a></code>,
   <code><a href="the-hgroup-element.html#the-hgroup-element">hgroup</a></code>, <code><a href="the-hr-element.html#the-hr-element">hr</a></code>, <code><a href="the-menu-element.html#the-menu-element">menu</a></code>,
   <code><a href="the-nav-element.html#the-nav-element">nav</a></code>, <code><a href="the-ol-element.html#the-ol-element">ol</a></code>, <code><a href="the-p-element.html#the-p-element">p</a></code>, <code><a href="the-pre-element.html#the-pre-element">pre</a></code>,
   <code><a href="the-section-element.html#the-section-element">section</a></code>, <code><a href="the-table-element.html#the-table-element">table</a></code>, or <code><a href="the-ul-element.html#the-ul-element">ul</a></code>,
   element, or if there is no more content in the parent element and
   the parent element is not an <code><a href="the-a-element.html#the-a-element">a</a></code> element.</p>
 
-  
+  <!-- </rt> -->
   <p>An <code><a href="the-rt-element.html#the-rt-element">rt</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-rt-element.html#the-rt-element">rt</a></code> element is
   immediately followed by an <code><a href="the-rt-element.html#the-rt-element">rt</a></code> or <code><a href="the-rp-element.html#the-rp-element">rp</a></code>
   element, or if there is no more content in the parent element.</p>
 
-  
+  <!-- </rp> -->
   <p>An <code><a href="the-rp-element.html#the-rp-element">rp</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-rp-element.html#the-rp-element">rp</a></code> element is
   immediately followed by an <code><a href="the-rt-element.html#the-rt-element">rt</a></code> or <code><a href="the-rp-element.html#the-rp-element">rp</a></code>
   element, or if there is no more content in the parent element.</p>
 
-  
+  <!-- </optgroup> (the text assumes <optgroup> can only be inside a
+  <select>; commented out text below can handle the non-<select> case
+  if we ever allow it) -->
   <p>An <code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end tag</a> may be omitted if the
-  <code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> element  is immediately followed by
-  another <code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> element, or if  there is no
+  <code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> element <!--has an ancestor
+  <code>select</code> element and--> is immediately followed by
+  another <code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> element, or if <!--all of the elements
+  that are ancestors of the <code>optgroup</code> element, up to and
+  including the first ancestor element that is not an
+  <code>optgroup</code> element, have no more content--> there is no
   more content in the parent element.</p>
-  
+  <!-- so e.g. the max number of </optgroup>s are omitted here:
+   <select><optgroup></select>
+   <p id=x><optgroup></optgroup>x</p>
+   <p id=x><optgroup><optgroup></optgroup></optgroup>x</p>
+   <p><optgroup id=x><optgroup></optgroup>x</p>
+   <p><optgroup><optgroup id=x>x</p>
+  -->
 
-  
+  <!-- </option> -->
   <p>An <code><a href="the-option-element.html#the-option-element">option</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-option-element.html#the-option-element">option</a></code> element is
   immediately followed by another <code><a href="the-option-element.html#the-option-element">option</a></code> element, or if
   it is immediately followed by an <code><a href="the-optgroup-element.html#the-optgroup-element">optgroup</a></code> element, or
   if there is no more content in the parent element.</p>
 
-  
+  <!-- <colgroup> -->
   <p>A <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> may be omitted if the
   first thing inside the <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element is a
   <code><a href="the-col-element.html#the-col-element">col</a></code> element, and if the element is not immediately
   preceded by another <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element whose <a href="#syntax-end-tag" title="syntax-end-tag">end tag</a> has been omitted. (It can't be
   omitted if the element is empty.)</p>
 
-  
+  <!-- </colgroup> -->
   <p>A <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end tag</a> may be omitted if the
   <code><a href="the-colgroup-element.html#the-colgroup-element">colgroup</a></code> element is not immediately followed by a
   <a href="common-microsyntaxes.html#space-character">space character</a> or a <a href="#syntax-comments" title="syntax-comments">comment</a>.</p>
 
-  
+  <!-- </thead> -->
   <p>A <code><a href="the-thead-element.html#the-thead-element">thead</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-thead-element.html#the-thead-element">thead</a></code> element is
   immediately followed by a <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> or <code><a href="the-tfoot-element.html#the-tfoot-element">tfoot</a></code>
   element.</p>
 
-  
+  <!-- <tbody> -->
   <p>A <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> may be omitted if the
   first thing inside the <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> element is a
   <code><a href="the-tr-element.html#the-tr-element">tr</a></code> element, and if the element is not immediately
@@ -952,31 +994,31 @@
   tag</a> has been omitted. (It can't be omitted if the element is
   empty.)</p>
 
-  
+  <!-- </tbody> -->
   <p>A <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> element is
   immediately followed by a <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> or <code><a href="the-tfoot-element.html#the-tfoot-element">tfoot</a></code>
   element, or if there is no more content in the parent element.</p>
 
-  
+  <!-- </tfoot> -->
   <p>A <code><a href="the-tfoot-element.html#the-tfoot-element">tfoot</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-tfoot-element.html#the-tfoot-element">tfoot</a></code> element is
   immediately followed by a <code><a href="the-tbody-element.html#the-tbody-element">tbody</a></code> element, or if there is
   no more content in the parent element.</p>
 
-  
+  <!-- </tr> -->
   <p>A <code><a href="the-tr-element.html#the-tr-element">tr</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-tr-element.html#the-tr-element">tr</a></code> element is
   immediately followed by another <code><a href="the-tr-element.html#the-tr-element">tr</a></code> element, or if there
   is no more content in the parent element.</p>
 
-  
+  <!-- </td> -->
   <p>A <code><a href="the-td-element.html#the-td-element">td</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-td-element.html#the-td-element">td</a></code> element is
   immediately followed by a <code><a href="the-td-element.html#the-td-element">td</a></code> or <code><a href="the-th-element.html#the-th-element">th</a></code>
   element, or if there is no more content in the parent element.</p>
 
-  
+  <!-- </th> -->
   <p>A <code><a href="the-th-element.html#the-th-element">th</a></code> element's <a href="#syntax-end-tag" title="syntax-end-tag">end
   tag</a> may be omitted if the <code><a href="the-th-element.html#the-th-element">th</a></code> element is
   immediately followed by a <code><a href="the-td-element.html#the-td-element">td</a></code> or <code><a href="the-th-element.html#the-th-element">th</a></code>
@@ -1021,11 +1063,11 @@
   <a href="#rcdata-elements">RCDATA elements</a> must not contain any occurrences of the
   string "<code title="">&lt;/</code>" (U+003C LESS-THAN SIGN, U+002F
   SOLIDUS) followed by characters that case-insensitively match the
-  tag name of the element followed by one of "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D), U+0020 SPACE, U+003E GREATER-THAN SIGN (&gt;), or
+  tag name of the element followed by one of "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D), U+0020 SPACE, "&gt;" (U+003E), or
   "/" (U+002F).</p>
 
 
-  <h4 id="text-0"><span class="secno">8.1.3 </span>Text</h4>
+  <h4 id="text"><span class="secno">8.1.3 </span>Text</h4>
 
   <p><dfn id="syntax-text" title="syntax-text">Text</dfn> is allowed inside elements,
   attribute values, and comments. Extra constraints are placed on what
@@ -1065,7 +1107,7 @@
 
    <dt>Decimal numeric character reference</dt>
 
-   <dd>The ampersand must be followed by a "#" (U+0023) character, followed by one or more digits in the range <a href="common-microsyntaxes.html#ascii-digits">ASCII digits</a>, representing a base-ten
+   <dd>The ampersand must be followed by a "#" (U+0023) character, followed by one or more digits in the range <a href="#ascii-digits">ASCII digits</a>, representing a base-ten
    integer that corresponds to a Unicode code point that is allowed
    according to the definition below. The digits must then be followed
    by a ";" (U+003B) character.</dd>
@@ -1074,7 +1116,7 @@
    <dt>Hexadecimal numeric character reference</dt>
 
    <dd>The ampersand must be followed by a "#" (U+0023) character, which must be followed by either a "x" (U+0078) character or a "X" (U+0058) character, which must then be followed by one or more digits in
-   the range <a href="common-microsyntaxes.html#ascii-digits">ASCII digits</a>, U+0061
+   the range <a href="#ascii-digits">ASCII digits</a>, U+0061
    LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F, and U+0041
    LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F,
    representing a base-sixteen integer that corresponds to a Unicode
@@ -1090,7 +1132,7 @@
 
   <p>An <dfn id="syntax-ambiguous-ampersand" title="syntax-ambiguous-ampersand">ambiguous
   ampersand</dfn> is a U+0026 AMPERSAND character (&amp;) that is
-  followed by one or more characters in the range <a href="common-microsyntaxes.html#ascii-digits">ASCII digits</a>, <a href="common-microsyntaxes.html#lowercase-ascii-letters">lowercase ASCII letters</a>, and <a href="common-microsyntaxes.html#uppercase-ascii-letters">uppercase ASCII letters</a>, followed by a U+003B SEMICOLON character
+  followed by one or more characters in the range <a href="#ascii-digits">ASCII digits</a>, <a href="#lowercase-ascii-letters">lowercase ASCII letters</a>, and <a href="#uppercase-ascii-letters">uppercase ASCII letters</a>, followed by a U+003B SEMICOLON character
   (;), where these characters do not match any of the names given in
   the <a href="named-character-references.html#named-character-references">named character references</a> section.</p>
 

Index: webappapis.html
===================================================================
RCS file: /sources/public/html5/spec/webappapis.html,v
retrieving revision 1.362
retrieving revision 1.363
diff -u -d -r1.362 -r1.363
--- webappapis.html	26 Jun 2012 20:47:05 -0000	1.362
+++ webappapis.html	22 Aug 2012 10:52:57 -0000	1.363
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>6 Web application APIs &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>6 Web application APIs &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,23 +316,20 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="offline.html" title="5.7 Offline Web applications" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="offline.html" title="5.7 Offline Web applications" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="timers.html" title="6.3 Timers" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="offline.html">&#8592; 5.7 Offline Web applications</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="timers.html">6.3 Timers &#8594;</a>
   <ol class="toc"><li><a href="webappapis.html#webappapis"><span class="secno">6 </span>Web application APIs</a>
   <ol><li><a href="webappapis.html#scripting"><span class="secno">6.1 </span>Scripting</a>
@@ -340,7 +337,7 @@
       <ol><li><a href="webappapis.html#definitions-0"><span class="secno">6.1.3.1 </span>Definitions</a></li><li><a href="webappapis.html#calling-scripts"><span class="secno">6.1.3.2 </span>Calling scripts</a></li><li><a href="webappapis.html#creating-scripts"><span class="secno">6.1.3.3 </span>Creating scripts</a></li><li><a href="webappapis.html#killing-scripts"><span class="secno">6.1.3.4 </span>Killing scripts</a></li><li><a href="webappapis.html#runtime-script-errors"><span class="secno">6.1.3.5 </span>Runtime script errors</a>
         <ol><li><a href="webappapis.html#runtime-script-errors-in-documents"><span class="secno">6.1.3.5.1 </span>Runtime script errors in documents</a></li></ol></li></ol></li><li><a href="webappapis.html#event-loops"><span class="secno">6.1.4 </span>Event loops</a>
       <ol><li><a href="webappapis.html#definitions-1"><span class="secno">6.1.4.1 </span>Definitions</a></li><li><a href="webappapis.html#processing-model-2"><span class="secno">6.1.4.2 </span>Processing model</a></li><li><a href="webappapis.html#generic-task-sources"><span class="secno">6.1.4.3 </span>Generic task sources</a></li></ol></li><li><a href="webappapis.html#javascript-protocol"><span class="secno">6.1.5 </span>The <code title="">javascript:</code> URL scheme</a></li><li><a href="webappapis.html#events"><span class="secno">6.1.6 </span>Events</a>
-      <ol><li><a href="webappapis.html#event-handler-attributes"><span class="secno">6.1.6.1 </span>Event handlers</a></li><li><a href="webappapis.html#event-handlers-on-elements-document-objects-and-window-objects"><span class="secno">6.1.6.2 </span>Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects</a></li><li><a href="webappapis.html#event-firing"><span class="secno">6.1.6.3 </span>Event firing</a></li><li><a href="webappapis.html#events-and-the-window-object"><span class="secno">6.1.6.4 </span>Events and the <code>Window</code> object</a></li></ol></li></ol></li><li><a href="webappapis.html#atob"><span class="secno">6.2 </span>Base64 utility methods</a></li></ol></li></ol></nav>
+      <ol><li><a href="webappapis.html#event-handler-attributes"><span class="secno">6.1.6.1 </span>Event handlers</a></li><li><a href="webappapis.html#event-handlers-on-elements,-document-objects,-and-window-objects"><span class="secno">6.1.6.2 </span>Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects</a></li><li><a href="webappapis.html#event-firing"><span class="secno">6.1.6.3 </span>Event firing</a></li><li><a href="webappapis.html#events-and-the-window-object"><span class="secno">6.1.6.4 </span>Events and the <code>Window</code> object</a></li></ol></li></ol></li><li><a href="webappapis.html#atob"><span class="secno">6.2 </span>Base64 utility methods</a></li></ol></li></ol></div>
 
   <h2 id="webappapis"><span class="secno">6 </span>Web application APIs</h2>
 
@@ -371,7 +368,7 @@
   <h4 id="enabling-and-disabling-scripting"><span class="secno">6.1.2 </span>Enabling and disabling scripting</h4>
 
   <p><dfn id="concept-bc-script" title="concept-bc-script">Scripting is enabled</dfn> in a
-  <em><a href="browsers.html#browsing-context">browsing context</a></em> when all of the
+  <em><a href="browsers.html#browsing-context"><span>browsing context</span></a></em> when all of the
   following conditions are true:</p>
 
   <ul><li>The user agent supports scripting.</li>
@@ -382,8 +379,8 @@
    manner, e.g. on a per-origin basis.)</li>
 
    <li id="sandboxScriptBlocked">The <a href="browsers.html#browsing-context">browsing context</a>'s
-   <a href="browsers.html#active-document">active document</a>'s <a href="origin-0.html#active-sandboxing-flag-set">active sandboxing flag
-   set</a> does not have its <a href="origin-0.html#sandboxed-scripts-browsing-context-flag">sandboxed scripts browsing
+   <a href="browsers.html#active-document">active document</a>'s <a href="browsers.html#active-sandboxing-flag-set">active sandboxing flag
+   set</a> does not have its <a href="browsers.html#sandboxed-scripts-browsing-context-flag">sandboxed scripts browsing
    context flag</a> set.</li>
 
   </ul><p><dfn id="concept-bc-noscript" title="concept-bc-noscript">Scripting is disabled</dfn> in a
@@ -391,7 +388,7 @@
   false (i.e. when scripting is not <a href="#concept-bc-script" title="concept-bc-script">enabled</a>).</p>
 
   <hr><p><dfn id="concept-n-script" title="concept-n-script">Scripting is enabled</dfn> for a
-  <em>node</em> if the <code><a href="dom.html#document">Document</a></code> object of the node (the
+  <em><a href="infrastructure.html#node">node</a></em> if the <code><a href="dom.html#document">Document</a></code> object of the node (the
   node itself, if it is itself a <code><a href="dom.html#document">Document</a></code> object) has an
   associated <a href="browsers.html#browsing-context">browsing context</a>, and <a href="#concept-bc-script" title="concept-bc-script">scripting is enabled</a> in that
   <a href="browsers.html#browsing-context">browsing context</a>.</p>
@@ -405,7 +402,7 @@
 
   <div class="impl">
 
-  
+  <!-- SCRIPT EXEC (marks areas related to creation of scripts) -->
   <h4 id="processing-model-1"><span class="secno">6.1.3 </span>Processing model</h4>
 
   <h5 id="definitions-0"><span class="secno">6.1.3.1 </span>Definitions</h5>
@@ -448,7 +445,7 @@
 
    </dd>
 
-   <dt>A relationship with the <dfn id="script-s-global-object">script's global object</dfn></dt>
+   <dt>A relationship with the <dfn id="script's-global-object">script's global object</dfn></dt>
 
    <dd>
 
@@ -458,11 +455,11 @@
     object. In JavaScript, this corresponds to the <i>global
     object</i>.</p>
 
-    <p class="note">When a <a href="#script-s-global-object">script's global object</a> is an
+    <p class="note">When a <a href="#script's-global-object">script's global object</a> is an
     empty object, it can't do anything that interacts with the
     environment.</p>
 
-    <p>If the <a href="#script-s-global-object">script's global object</a> is a
+    <p>If the <a href="#script's-global-object">script's global object</a> is a
     <code><a href="browsers.html#window">Window</a></code> object, then in JavaScript, the ThisBinding of
     the global execution context for this script must be the
     <code><a href="browsers.html#window">Window</a></code> object's <code><a href="browsers.html#windowproxy">WindowProxy</a></code> object,
@@ -479,7 +476,7 @@
 
    </dd>
 
-   <dt>A relationship with the <dfn id="script-s-browsing-context">script's browsing context</dfn></dt>
+   <dt>A relationship with the <dfn id="script's-browsing-context">script's browsing context</dfn></dt>
 
    <dd>
 
@@ -489,45 +486,45 @@
     <p class="example">When a script creates and <a href="history.html#navigate" title="navigate">navigates</a> a new <a href="browsers.html#top-level-browsing-context">top-level browsing
     context</a>, the <code title="dom-opener"><a href="browsers.html#dom-opener">opener</a></code>
     attribute of the new <a href="browsers.html#browsing-context">browsing context</a>'s
-    <code><a href="browsers.html#window">Window</a></code> object will be set to the <a href="#script-s-browsing-context">script's
+    <code><a href="browsers.html#window">Window</a></code> object will be set to the <a href="#script's-browsing-context">script's
     browsing context</a>'s <code><a href="browsers.html#windowproxy">WindowProxy</a></code> object.</p>
 
    </dd>
 
-   <dt>A relationship with the <dfn id="script-s-document">script's document</dfn></dt>
+   <dt>A relationship with the <dfn id="script's-document">script's document</dfn></dt>
 
    <dd>
 
     <p>A <code><a href="dom.html#document">Document</a></code> that is assigned responsibility for
     actions taken by the script.</p>
 
-    <p class="example">When a script <a href="urls.html#fetch" title="fetch">fetches</a> a resource, the <a href="dom.html#the-document-s-current-address" title="the
+    <p class="example">When a script <a href="urls.html#fetch" title="fetch">fetches</a> a resource, the <a href="dom.html#the-document's-current-address" title="the
     document's current address">current address</a> of the
-    <a href="#script-s-document">script's document</a> will be used to set the <code title="http-referer">Referer</code> (sic) header.</p>
+    <a href="#script's-document">script's document</a> will be used to set the <code title="http-referer">Referer</code> (sic) header.</p>
 
    </dd>
 
-   <dt>A <dfn id="script-s-url-character-encoding" title="script's URL character encoding">URL character encoding</dfn></dt>
+   <dt>A <dfn id="script's-url-character-encoding" title="script's URL character encoding">URL character encoding</dfn></dt>
 
    <dd>
 
     <p>A character encoding, set when the script is created, used to
     encode URLs. <span id="sce-not-copy" title="">If the character
-    encoding is set from another source, e.g. a <a href="infrastructure.html#document-s-character-encoding">document's
-    character encoding</a>, then the <a href="#script-s-url-character-encoding">script's URL character
+    encoding is set from another source, e.g. a <a href="infrastructure.html#document's-character-encoding">document's
+    character encoding</a>, then the <a href="#script's-url-character-encoding">script's URL character
     encoding</a> must follow the source, so that if the source's
     changes, so does the script's.</span></p>
 
    </dd>
 
-   <dt>A <dfn id="script-s-base-url" title="script's base URL">base URL</dfn></dt>
+   <dt>A <dfn id="script's-base-url" title="script's base URL">base URL</dfn></dt>
 
    <dd>
 
     <p>A <a href="urls.html#url">URL</a>, set when the script is created, used to
     resolve relative URLs. <span id="sbu-not-copy" title="">If the
     base URL is set from another source, e.g. a <a href="urls.html#document-base-url">document base
-    URL</a>, then the <a href="#script-s-base-url">script's base URL</a> must follow
+    URL</a>, then the <a href="#script's-base-url">script's base URL</a> must follow
     the source, so that if the source's changes, so does the
     script's.</span></p>
 
@@ -545,7 +542,7 @@
   an event listener defined in that <a href="#concept-script" title="concept-script">script</a>, the user agent must run the
   following steps:</p>
 
-  <ol><li><p>If the <a href="#script-s-global-object">script's global object</a> is a
+  <ol><li><p>If the <a href="#script's-global-object">script's global object</a> is a
    <code><a href="browsers.html#window">Window</a></code> object whose <code><a href="dom.html#document">Document</a></code> object is
    not <a href="browsers.html#fully-active">fully active</a>, then abort these steps without doing
    anything. The callback is not run.</p>
@@ -592,10 +589,10 @@
    executable code to be immediately run, then the <i><a href="#initial-code-entry-point">initial code
    entry-point</a></i> is the entry-point for that code.</p></li>
 
-   <li><p>Set up the <a href="#script-s-global-object">script's global object</a>, the
-   <a href="#script-s-browsing-context">script's browsing context</a>, the <a href="#script-s-document">script's
-   document</a>, the <a href="#script-s-url-character-encoding">script's URL character encoding</a>,
-   and the <a href="#script-s-base-url">script's base URL</a> from the settings passed to
+   <li><p>Set up the <a href="#script's-global-object">script's global object</a>, the
+   <a href="#script's-browsing-context">script's browsing context</a>, the <a href="#script's-document">script's
+   document</a>, the <a href="#script's-url-character-encoding">script's URL character encoding</a>,
+   and the <a href="#script's-base-url">script's base URL</a> from the settings passed to
    this algorithm.</p></li>
 
    <li>
@@ -607,8 +604,8 @@
 
     <p>Otherwise, <a href="#report-the-error">report the error</a> at the script source
     URL, with the problematic position (line number and column
-    number), in the script's <a href="origin-0.html#origin">origin</a>, using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
-    handlers">event handler</a> of the <a href="#script-s-global-object">script's global
+    number), in the script's <a href="browsers.html#origin-0">origin</a>, using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
+    handlers">event handler</a> of the <a href="#script's-global-object">script's global
     object</a>. If the error is still <i title="concept-error-nothandled"><a href="#concept-error-nothandled">not handled</a></i> after this, then
     the error may be reported to the user.</p>
 
@@ -642,7 +639,7 @@
    </li><li><p>The global object is the <code><a href="browsers.html#window">Window</a></code> object of
    <var title="">document</var>.</p></li>
 
-   <li><p>The URL character encoding is the <a href="infrastructure.html#document-s-character-encoding" title="document's
+   <li><p>The URL character encoding is the <a href="infrastructure.html#document's-character-encoding" title="document's
    character encoding">character encoding</a> of <var title="">document</var>. (<a href="#sce-not-copy">This is a
    reference, not a copy</a>.)</p></li>
 
@@ -704,8 +701,8 @@
      string describing the error in a helpful manner.</p></li>
 
      <li><p>If the <var title="">location</var> <a href="urls.html#url">URL</a> does
-     not have a <a href="origin-0.html#same-origin" title="same origin">same</a>
-     <a href="origin-0.html#origin">origin</a> as the <var title="">origin</var>, then set
+     not have a <a href="browsers.html#same-origin" title="same origin">same</a>
+     <a href="browsers.html#origin-0">origin</a> as the <var title="">origin</var>, then set
      <var title="">message</var> to "<code title="">Script
      error.</code>", set <var title="">location</var> to the empty
      string, and set <var title="">line</var> to 0.</p></li>
@@ -743,8 +740,8 @@
   the script (as established when the <a href="#concept-script" title="concept-script">script</a> was <a href="#create-a-script" title="create a
   script">created</a>), with the problematic position (line number
   and column number) in that resource, in the script's
-  <a href="origin-0.html#origin">origin</a>, using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
-  handlers">event handler</a> of the <a href="#script-s-global-object">script's global
+  <a href="browsers.html#origin-0">origin</a>, using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
+  handlers">event handler</a> of the <a href="#script's-global-object">script's global
   object</a>. If the error is still <i title="concept-error-nothandled"><a href="#concept-error-nothandled">not handled</a></i> after this, then
   the error may be reported to the user.</p>
 
@@ -798,12 +795,10 @@
   context</a> always has an <a href="#event-loop">event loop</a> coordinating
   its activities.</p>
 
-  
-  <p class="note">Other specifications can define new kinds of event
+    <p class="note">Other specifications can define new kinds of event
   loops that aren't associated with browsing contexts; in particular,
   the Web Workers specification does so.</p>
   
-
   <p>An <a href="#event-loop">event loop</a> has one or more <dfn id="task-queue" title="task
   queue">task queues</dfn>. A <a href="#task-queue">task queue</a> is an ordered
   list of <dfn id="concept-task" title="concept-task">tasks</dfn>, which can be:</p>
@@ -874,7 +869,7 @@
   <a href="browsers.html#browsing-context">browsing context</a>, then it is the <a href="browsers.html#browsing-context">browsing
   context</a>'s <a href="browsers.html#active-document">active document</a> at the time the task
   was queued; if the task was queued by or for a <a href="#concept-script" title="concept-script">script</a> then the document is the
-  <a href="#script-s-document">script's document</a>.</p>
+  <a href="#script's-document">script's document</a>.</p>
 
   <p>A user agent may have one <dfn id="storage-mutex">storage mutex</dfn>. This mutex is
   used to control access to shared state like cookies. At any one
@@ -915,7 +910,8 @@
    <code><a href="dom.html#document">Document</a></code>s are not <a href="browsers.html#fully-active">fully active</a>. The user
    agent may pick any <a href="#task-queue">task queue</a>.</p></li>
 
-   
+   <!-- warning! if you renumber these steps, make sure to update the
+   "spin the event loop" algorithm below! -->
 
    <li><p>If the <a href="#storage-mutex">storage mutex</a> is now owned by the
    <a href="#event-loop">event loop</a>, release it so that it is once again
@@ -946,7 +942,7 @@
     <p><a href="infrastructure.html#concept-mo-invoke" title="concept-mo-invoke">Invoke
     <code>MutationObserver</code> objects</a> for the <a href="browsers.html#unit-of-related-similar-origin-browsing-contexts">unit
     of related similar-origin browsing contexts</a> to which the
-    <a href="#script-s-browsing-context">script's browsing context</a> belongs.</p>
+    <a href="#script's-browsing-context">script's browsing context</a> belongs.</p>
 
     <p class="note">This will typically fire scripted callbacks, which
     calls the <a href="#jump-to-a-code-entry-point">jump to a code entry-point</a> algorithm, which
@@ -1077,7 +1073,7 @@
     <p>This <a href="#task-source">task source</a> is used for features that trigger
     in response to network activity.</p>
 
-    
+    <!-- XHR should use this -->
 
    </dd>
 
@@ -1121,21 +1117,21 @@
 
      <dt>If a <a href="browsers.html#browsing-context">browsing context</a> is being <a href="history.html#navigate" title="navigate">navigated</a> to a <code>javascript:</code>
      URL, and the <a href="browsers.html#active-document">active document</a> of that browsing
-     context has the <a href="origin-0.html#same-origin">same origin</a> as the script given by
+     context has the <a href="browsers.html#same-origin">same origin</a> as the script given by
      that URL</dt>
 
      <dd>
 
-      
+      <!-- http://www.hixie.ch/tests/adhoc/html/navigation/javascript-url/ -->
 
-      <p>Let <var title="">address</var> be the <a href="dom.html#the-document-s-address" title="the
+      <p>Let <var title="">address</var> be the <a href="dom.html#the-document's-address" title="the
       document's address">address</a> of the <a href="browsers.html#active-document">active
       document</a> of the <a href="browsers.html#browsing-context">browsing context</a> being
       navigated.</p>
 
       <p>If <var title="">address</var> is <code><a href="urls.html#about:blank">about:blank</a></code>,
       and the <a href="browsers.html#browsing-context">browsing context</a> being navigated has a
-      <a href="browsers.html#creator-browsing-context">creator browsing context</a>, then let <var title="">address</var> be the <a href="dom.html#the-document-s-address" title="the document's
+      <a href="browsers.html#creator-browsing-context">creator browsing context</a>, then let <var title="">address</var> be the <a href="dom.html#the-document's-address" title="the document's
       address">address</a> of the <a href="browsers.html#creator-document">creator
       <code>Document</code></a> instead.</p>
 
@@ -1151,14 +1147,38 @@
       thrown, let <var title="">result</var> be void instead. (The
       result will be void also if <a href="#concept-bc-noscript" title="concept-bc-noscript">scripting is disabled</a>.)</p>
 
-      <p>When it comes time to <a href="history.html#set-the-document-s-address">set the document's address</a>
+      <p>When it comes time to <a href="history.html#set-the-document's-address">set the document's address</a>
       in the <a href="history.html#navigate" title="navigate">navigation algorithm</a>, use
       <var title="">address</var> as the <a href="history.html#override-url">override
       URL</a>.</p>
 
      </dd>
 
+<!--(turns out only Firefox does this, and only for <img src=""> and a
+     few others, so it's commented out for now pending someone having
+     a convincing use case)
+
+     <dt>If the <code>Document</code> object of the element,
+     attribute, or style sheet from which the <code>javascript:</code>
+     URL was reached has an associated <span>browsing
+     context</span></dt>
+
+     <dd>
+
+      <p><span>Create an impotent script</span> using the
+      aforementioned script source, with the scripting language set to
+      JavaScript, and with the <code>Document</code>'s object's
+      <span>browsing context</span> as the browsing context.</p>
+
+      <p>Let <var title="">result</var> be the return value of the
+      <i>initial code entry-point</i> of this <span
+      title="concept-script">script</span>. If an exception was
+      thrown, let <var title="">result</var> be void instead. (The
+      result will be void also if <span
+      title="concept-bc-noscript">scripting is disabled</span>.)</p>
 
+     </dd>
+-->
 
      <dt>Otherwise</dt>
 
@@ -1178,7 +1198,7 @@
 
     <p>Otherwise, the URL must be treated in a manner equivalent to an
     HTTP resource with a 200 OK response whose <a href="urls.html#content-type" title="Content-Type">Content-Type metadata</a> is
-    <code><a href="iana.html#text-html">text/html</a></code> and whose response body is the return value
+    <code><a href="iana.html#text/html">text/html</a></code> and whose response body is the return value
     converted to a string value.</p>
 
     <p class="note">Certain contexts, in particular <code><a href="the-img-element.html#the-img-element">img</a></code>
@@ -1196,7 +1216,7 @@
    sniffed to determine the image type and decoded as an image.</p>
 
    <p>A <code title="">javascript:</code> URL in an <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attribute of an <code><a href="the-a-element.html#the-a-element">a</a></code>
-   element would only be evaluated when the link was <a href="links.html#following-hyperlinks" title="following hyperlinks">followed</a>.</p>
+   element would only be evaluated when the link was <a href="links.html#following-hyperlinks-0" title="following hyperlinks">followed</a>.</p>
 
    <p>The <code title="attr-iframe-src"><a href="the-iframe-element.html#attr-iframe-src">src</a></code> attribute of an
    <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code> element would be evaluated in the context of
@@ -1219,7 +1239,7 @@
 
   </div>
 
-  
+  <!--test: <a href="http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cscript%3E%0Aw(a%3Ddocument.implementation.createDocument(null%2C%20null%2C%20null))%3B%0Aw(a.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'html')))%3B%0Aw(b%3Da.firstChild.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'body')))%3B%0Aw(b.test%20%3D%20w)%3B%0Aw(b.setAttribute('onclick'%2C%20'test(%22fire%3A%20%22%20%2B%20event)'))%3B%0Aw(b.onclick)%3B%0Aw(e%3Da.createEvent('Event'))%3B%0Aw(e.initEvent('click'%2C%20false%2C%20false))%3B%0Aw(b.dispatchEvent(e))%3B%0A%3C%2Fscript%3E">test</a>-->
 
   <p>Many objects can have <dfn id="event-handlers">event handlers</dfn> specified. These
   act as non-capture event listeners for the object on which they are
@@ -1312,7 +1332,9 @@
    <li>
 
     <p>If <var title="">body</var> begins with a Directive Prologue
-    that contains a Use Strict Directive then let <var title="">strict</var> be true, otherwise let <var title="">strict</var> be false.</p> 
+    that contains a Use Strict Directive then let <var title="">strict</var> be true, otherwise let <var title="">strict</var> be false.</p> <!-- we can't defer to 10.1.1
+    since we're not using a Function constructor but doing it
+    ourselves. -->
 
     <p class="note">The terms "Directive Prologue" and "Use Strict
     Directive" are defined in ECMAScript edition 5 section 14.1
@@ -1320,7 +1342,22 @@
 
    </li>
 
+<!--
+currently this is unnecessary: http://www.w3.org/Bugs/Public/show_bug.cgi?id=11977#c4
+   <li>
 
+    <p>If <var title="">strict</var> is true, and anything in <var
+    title="">body</var> is a <code>SyntaxError</code> according to the
+    Strict Mode Restrictions, then <span>set the event handler content
+    attribute to an error</span> as defined below, and abort these
+    steps.</p>
+
+    <p class="note">The Strict Mode Restrictions are those listed in
+    ECMAScript edition 5 section 13.1 Strict Mode Restrictions. <a
+    href="#refsECMA262">[ECMA262]</a></p>
+
+   </li>
+-->
 
    <li>
 
@@ -1336,7 +1373,7 @@
        <code><a href="browsers.html#window">Window</a></code> object</dt>
 
        <dd>Let the function have four arguments, named <code title="">event</code>, <code title="">source</code>, <code title="">lineno</code>, and <code title="">column</code>.</dd>
-       
+       <!-- /column/ is new as of 2012; see https://www.w3.org/Bugs/Public/show_bug.cgi?id=13319 -->
 
        <dt>Otherwise</dt>
 
@@ -1376,10 +1413,10 @@
 
    </li>
 
-   <li><p>Set up the <a href="#script-s-global-object">script's global object</a>, the
-   <a href="#script-s-browsing-context">script's browsing context</a>, the <a href="#script-s-document">script's
-   document</a>, the <a href="#script-s-url-character-encoding">script's URL character encoding</a>,
-   and the <a href="#script-s-base-url">script's base URL</a> from <a href="#the-script-settings-determined-from-the-node">the script
+   <li><p>Set up the <a href="#script's-global-object">script's global object</a>, the
+   <a href="#script's-browsing-context">script's browsing context</a>, the <a href="#script's-document">script's
+   document</a>, the <a href="#script's-url-character-encoding">script's URL character encoding</a>,
+   and the <a href="#script's-base-url">script's base URL</a> from <a href="#the-script-settings-determined-from-the-node">the script
    settings determined from the node</a> on which the attribute is
    being set.</p></li>
 
@@ -1399,7 +1436,11 @@
   <p>When an event handler content attribute is removed, the user
   agent must set the corresponding <a href="#event-handlers" title="event handlers">event
   handler</a> to null.</p>
-  
+  <!--
+  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/245 onload
+  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/247 onclick
+  see http://www.w3.org/Bugs/Public/show_bug.cgi?id=7626#c5 for reasoning
+  -->
 
   </div>
 
@@ -1409,7 +1450,7 @@
   <a href="browsers.html#browsing-context">browsing context</a>, the corresponding event handler is
   not changed.</p>
 
-  
+  <!-- v2: we should probably support HTML4's Content-Script-Type header here. -->
 
   <div class="impl">
 
@@ -1476,7 +1517,7 @@
    the <a href="#event-handlers" title="event handlers">event handler</a> to null and
    then <a href="#report-the-error">report the error</a> at the appropriate URL and with
    the appropriate position (line number and column number), as
-   established when the error was detected, in the <a href="origin-0.html#origin">origin</a>
+   established when the error was detected, in the <a href="browsers.html#origin-0">origin</a>
    of the <code><a href="dom.html#document">Document</a></code> of the node of the <a href="#event-handler-content-attributes" title="event
    handler content attributes">event handler content attribute</a>,
    using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event handlers">event handler</a> of the
@@ -1514,7 +1555,7 @@
      <dd><p>If <var title="">return value</var> is a boolean with the
      value false, then cancel the event.</p></dd>
 
-     
+     <!-- IE actually uncancels the event if the function returns true -->
 
     </dl></li>
 
@@ -1558,10 +1599,10 @@
 callback <dfn id="onerroreventhandlernonnull">OnErrorEventHandlerNonNull</dfn> = any ((<a href="infrastructure.html#event">Event</a> or DOMString) event, DOMString source, unsigned long lineno, unsigned long column);
 typedef <a href="#onerroreventhandlernonnull">OnErrorEventHandlerNonNull</a>? <dfn id="onerroreventhandler">OnErrorEventHandler</dfn>;</pre>
 
-  
+  <!-- onreadystatechange is also defined specially, using [LenientThis]; see IDL -->
 
 
-  <h5 id="event-handlers-on-elements-document-objects-and-window-objects"><span class="secno">6.1.6.2 </span>Event handlers on elements, <code><a href="dom.html#document">Document</a></code> objects, and <code><a href="browsers.html#window">Window</a></code> objects</h5>
+  <h5 id="event-handlers-on-elements,-document-objects,-and-window-objects"><span class="secno">6.1.6.2 </span>Event handlers on elements, <code><a href="dom.html#document">Document</a></code> objects, and <code><a href="browsers.html#window">Window</a></code> objects</h5>
 
   <p>The following are the <a href="#event-handlers">event handlers</a> (and their
   corresponding <a href="#event-handler-event-type" title="event handler event type">event handler
@@ -1575,36 +1616,36 @@
     </td></tr><tr><td><dfn id="handler-oncancel" title="handler-oncancel"><code>oncancel</code></dfn> </td><td> <code title="event-media-cancel">cancel</code>
     </td></tr><tr><td><dfn id="handler-oncanplay" title="handler-oncanplay"><code>oncanplay</code></dfn> </td><td> <code title="event-media-canplay"><a href="media-elements.html#event-media-canplay">canplay</a></code>
     </td></tr><tr><td><dfn id="handler-oncanplaythrough" title="handler-oncanplaythrough"><code>oncanplaythrough</code></dfn> </td><td> <code title="event-media-canplaythrough"><a href="media-elements.html#event-media-canplaythrough">canplaythrough</a></code>
-    </td></tr><tr><td><dfn id="handler-onchange" title="handler-onchange"><code>onchange</code></dfn> </td><td> <code title="event-change">change</code> 
-    </td></tr><tr><td><dfn id="handler-onclick" title="handler-onclick"><code>onclick</code></dfn> </td><td> <code title="event-click"><a href="infrastructure.html#event-click">click</a></code> 
-    </td></tr><tr><td><dfn id="handler-onclose" title="handler-onclose"><code>onclose</code></dfn> </td><td> <code title="event-close">close</code> 
-    </td></tr><tr><td><dfn id="handler-oncontextmenu" title="handler-oncontextmenu"><code>oncontextmenu</code></dfn> </td><td> <code title="event-contextmenu">contextmenu</code> 
+    </td></tr><tr><td><dfn id="handler-onchange" title="handler-onchange"><code>onchange</code></dfn> </td><td> <code title="event-change">change</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onclick" title="handler-onclick"><code>onclick</code></dfn> </td><td> <code title="event-click"><a href="infrastructure.html#event-click">click</a></code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onclose" title="handler-onclose"><code>onclose</code></dfn> </td><td> <code title="event-close">close</code> <!-- new for <dialog> -->
+    </td></tr><tr><td><dfn id="handler-oncontextmenu" title="handler-oncontextmenu"><code>oncontextmenu</code></dfn> </td><td> <code title="event-contextmenu">contextmenu</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-oncuechange" title="handler-oncuechange"><code>oncuechange</code></dfn> </td><td> <code title="event-cuechange">cuechange</code>
-    </td></tr><tr><td><dfn id="handler-ondblclick" title="handler-ondblclick"><code>ondblclick</code></dfn> </td><td> <code title="event-dblclick">dblclick</code> 
+    </td></tr><tr><td><dfn id="handler-ondblclick" title="handler-ondblclick"><code>ondblclick</code></dfn> </td><td> <code title="event-dblclick">dblclick</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-ondrag" title="handler-ondrag"><code>ondrag</code></dfn> </td><td> <code title="event-drag"><a href="dnd.html#event-drag">drag</a></code>
     </td></tr><tr><td><dfn id="handler-ondragend" title="handler-ondragend"><code>ondragend</code></dfn> </td><td> <code title="event-dragend"><a href="dnd.html#event-dragend">dragend</a></code>
     </td></tr><tr><td><dfn id="handler-ondragenter" title="handler-ondragenter"><code>ondragenter</code></dfn> </td><td> <code title="event-dragenter"><a href="dnd.html#event-dragenter">dragenter</a></code>
     </td></tr><tr><td><dfn id="handler-ondragleave" title="handler-ondragleave"><code>ondragleave</code></dfn> </td><td> <code title="event-dragleave"><a href="dnd.html#event-dragleave">dragleave</a></code>
     </td></tr><tr><td><dfn id="handler-ondragover" title="handler-ondragover"><code>ondragover</code></dfn> </td><td> <code title="event-dragover"><a href="dnd.html#event-dragover">dragover</a></code>
-    </td></tr><tr><td><dfn id="handler-ondragstart" title="handler-ondragstart"><code>ondragstart</code></dfn> </td><td> <code title="event-dragstart"><a href="dnd.html#event-dragstart">dragstart</a></code> 
+    </td></tr><tr><td><dfn id="handler-ondragstart" title="handler-ondragstart"><code>ondragstart</code></dfn> </td><td> <code title="event-dragstart"><a href="dnd.html#event-dragstart">dragstart</a></code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-ondrop" title="handler-ondrop"><code>ondrop</code></dfn> </td><td> <code title="event-drop"><a href="dnd.html#event-drop">drop</a></code>
     </td></tr><tr><td><dfn id="handler-ondurationchange" title="handler-ondurationchange"><code>ondurationchange</code></dfn> </td><td> <code title="event-media-durationchange"><a href="media-elements.html#event-media-durationchange">durationchange</a></code>
     </td></tr><tr><td><dfn id="handler-onemptied" title="handler-onemptied"><code>onemptied</code></dfn> </td><td> <code title="event-media-emptied"><a href="media-elements.html#event-media-emptied">emptied</a></code>
     </td></tr><tr><td><dfn id="handler-onended" title="handler-onended"><code>onended</code></dfn> </td><td> <code title="event-media-ended"><a href="media-elements.html#event-media-ended">ended</a></code>
     </td></tr><tr><td><dfn id="handler-oninput" title="handler-oninput"><code>oninput</code></dfn> </td><td> <code title="event-input">input</code>
     </td></tr><tr><td><dfn id="handler-oninvalid" title="handler-oninvalid"><code>oninvalid</code></dfn> </td><td> <code title="event-invalid">invalid</code>
-    </td></tr><tr><td><dfn id="handler-onkeydown" title="handler-onkeydown"><code>onkeydown</code></dfn> </td><td> <code title="event-keydown">keydown</code> 
-    </td></tr><tr><td><dfn id="handler-onkeypress" title="handler-onkeypress"><code>onkeypress</code></dfn> </td><td> <code title="event-keypress">keypress</code> 
-    </td></tr><tr><td><dfn id="handler-onkeyup" title="handler-onkeyup"><code>onkeyup</code></dfn> </td><td> <code title="event-keyup">keyup</code> 
+    </td></tr><tr><td><dfn id="handler-onkeydown" title="handler-onkeydown"><code>onkeydown</code></dfn> </td><td> <code title="event-keydown">keydown</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onkeypress" title="handler-onkeypress"><code>onkeypress</code></dfn> </td><td> <code title="event-keypress">keypress</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onkeyup" title="handler-onkeyup"><code>onkeyup</code></dfn> </td><td> <code title="event-keyup">keyup</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-onloadeddata" title="handler-onloadeddata"><code>onloadeddata</code></dfn> </td><td> <code title="event-media-loadeddata"><a href="media-elements.html#event-media-loadeddata">loadeddata</a></code>
     </td></tr><tr><td><dfn id="handler-onloadedmetadata" title="handler-onloadedmetadata"><code>onloadedmetadata</code></dfn> </td><td> <code title="event-media-loadedmetadata"><a href="media-elements.html#event-media-loadedmetadata">loadedmetadata</a></code>
     </td></tr><tr><td><dfn id="handler-onloadstart" title="handler-onloadstart"><code>onloadstart</code></dfn> </td><td> <code title="event-media-loadstart"><a href="media-elements.html#event-media-loadstart">loadstart</a></code>
-    </td></tr><tr><td><dfn id="handler-onmousedown" title="handler-onmousedown"><code>onmousedown</code></dfn> </td><td> <code title="event-mousedown">mousedown</code> 
-    </td></tr><tr><td><dfn id="handler-onmousemove" title="handler-onmousemove"><code>onmousemove</code></dfn> </td><td> <code title="event-mousemove">mousemove</code> 
-    </td></tr><tr><td><dfn id="handler-onmouseout" title="handler-onmouseout"><code>onmouseout</code></dfn> </td><td> <code title="event-mouseout">mouseout</code> 
-    </td></tr><tr><td><dfn id="handler-onmouseover" title="handler-onmouseover"><code>onmouseover</code></dfn> </td><td> <code title="event-mouseover">mouseover</code> 
-    </td></tr><tr><td><dfn id="handler-onmouseup" title="handler-onmouseup"><code>onmouseup</code></dfn> </td><td> <code title="event-mouseup">mouseup</code> 
-    </td></tr><tr><td><dfn id="handler-onmousewheel" title="handler-onmousewheel"><code>onmousewheel</code></dfn> </td><td> <code title="event-mousewheel">mousewheel</code> 
+    </td></tr><tr><td><dfn id="handler-onmousedown" title="handler-onmousedown"><code>onmousedown</code></dfn> </td><td> <code title="event-mousedown">mousedown</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onmousemove" title="handler-onmousemove"><code>onmousemove</code></dfn> </td><td> <code title="event-mousemove">mousemove</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onmouseout" title="handler-onmouseout"><code>onmouseout</code></dfn> </td><td> <code title="event-mouseout">mouseout</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onmouseover" title="handler-onmouseover"><code>onmouseover</code></dfn> </td><td> <code title="event-mouseover">mouseover</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onmouseup" title="handler-onmouseup"><code>onmouseup</code></dfn> </td><td> <code title="event-mouseup">mouseup</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-onmousewheel" title="handler-onmousewheel"><code>onmousewheel</code></dfn> </td><td> <code title="event-mousewheel">mousewheel</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-onpause" title="handler-onpause"><code>onpause</code></dfn> </td><td> <code title="event-media-pause"><a href="media-elements.html#event-media-pause">pause</a></code>
     </td></tr><tr><td><dfn id="handler-onplay" title="handler-onplay"><code>onplay</code></dfn> </td><td> <code title="event-media-play"><a href="media-elements.html#event-media-play">play</a></code>
     </td></tr><tr><td><dfn id="handler-onplaying" title="handler-onplaying"><code>onplaying</code></dfn> </td><td> <code title="event-media-playing"><a href="media-elements.html#event-media-playing">playing</a></code>
@@ -1613,21 +1654,21 @@
     </td></tr><tr><td><dfn id="handler-onreset" title="handler-onreset"><code>onreset</code></dfn> </td><td> <code title="event-reset">reset</code>
     </td></tr><tr><td><dfn id="handler-onseeked" title="handler-onseeked"><code>onseeked</code></dfn> </td><td> <code title="event-media-seeked"><a href="media-elements.html#event-media-seeked">seeked</a></code>
     </td></tr><tr><td><dfn id="handler-onseeking" title="handler-onseeking"><code>onseeking</code></dfn> </td><td> <code title="event-media-seeking"><a href="media-elements.html#event-media-seeking">seeking</a></code>
-    </td></tr><tr><td><dfn id="handler-onselect" title="handler-onselect"><code>onselect</code></dfn> </td><td> <code title="event-select">select</code>  <!-- [CSSOM] -->
+    </td></tr><tr><td><dfn id="handler-onselect" title="handler-onselect"><code>onselect</code></dfn> </td><td> <code title="event-select">select</code> <!-- widely used --> <!-- [CSSOM] -->
     </td></tr><tr><td><dfn id="handler-onshow" title="handler-onshow"><code>onshow</code></dfn> </td><td> <code title="event-show">show</code>
     </td></tr><tr><td><dfn id="handler-onstalled" title="handler-onstalled"><code>onstalled</code></dfn> </td><td> <code title="event-media-stalled"><a href="media-elements.html#event-media-stalled">stalled</a></code>
-    </td></tr><tr><td><dfn id="handler-onsubmit" title="handler-onsubmit"><code>onsubmit</code></dfn> </td><td> <code title="event-submit">submit</code> 
+    </td></tr><tr><td><dfn id="handler-onsubmit" title="handler-onsubmit"><code>onsubmit</code></dfn> </td><td> <code title="event-submit">submit</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-onsuspend" title="handler-onsuspend"><code>onsuspend</code></dfn> </td><td> <code title="event-media-suspend"><a href="media-elements.html#event-media-suspend">suspend</a></code>
     </td></tr><tr><td><dfn id="handler-ontimeupdate" title="handler-ontimeupdate"><code>ontimeupdate</code></dfn> </td><td> <code title="event-media-timeupdate"><a href="media-elements.html#event-media-timeupdate">timeupdate</a></code>
     </td></tr><tr><td><dfn id="handler-onvolumechange" title="handler-onvolumechange"><code>onvolumechange</code></dfn> </td><td> <code title="event-media-volumechange"><a href="media-elements.html#event-media-volumechange">volumechange</a></code>
     </td></tr><tr><td><dfn id="handler-onwaiting" title="handler-onwaiting"><code>onwaiting</code></dfn> </td><td> <code title="event-media-waiting"><a href="media-elements.html#event-media-waiting">waiting</a></code>
 
-
- 
- 
- 
-
- 
+<!-- not supported, use dnd: -->
+<!--<tr><td><dfn title="handler-onbeforecopy"><code>onbeforecopy</code></dfn> <td> <code title="event-beforecopy">beforecopy</code>--> <!-- widely used -->
+<!--<tr><td><dfn title="handler-oncopy"><code>oncopy</code></dfn> <td> <code title="event-copy">copy</code>--> <!-- widely used -->
+<!--<tr><td><dfn title="handler-onpaste"><code>onpaste</code></dfn> <td> <code title="event-paste">paste</code>--> <!-- widely used -->
+<!-- not supported yet (v2?): -->
+<!--<tr><td><dfn title="handler-onselectstart"><code>onselectstart</code></dfn> <td> <code title="event-selectstart">selectstart</code>--> <!-- widely used -->
   </td></tr></tbody></table><hr><p>The following are the <a href="#event-handlers">event handlers</a> (and their
   corresponding <a href="#event-handler-event-type" title="event handler event type">event handler
   event types</a>) <span class="impl">that must be</span> supported
@@ -1636,9 +1677,9 @@
   <code><a href="dom.html#document">Document</a></code> objects, as IDL attributes:</p>
 
   <table><thead><tr><th><a href="#event-handlers" title="event handlers">Event handler</a> </th><th><a href="#event-handler-event-type">Event handler event type</a>
-   </th></tr></thead><tbody><tr><td><dfn id="handler-onblur" title="handler-onblur"><code>onblur</code></dfn> </td><td> <code title="event-blur">blur</code> 
+   </th></tr></thead><tbody><tr><td><dfn id="handler-onblur" title="handler-onblur"><code>onblur</code></dfn> </td><td> <code title="event-blur">blur</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-onerror" title="handler-onerror"><code>onerror</code></dfn> </td><td> <code title="event-error">error</code>
-    </td></tr><tr><td><dfn id="handler-onfocus" title="handler-onfocus"><code>onfocus</code></dfn> </td><td> <code title="event-focus">focus</code> 
+    </td></tr><tr><td><dfn id="handler-onfocus" title="handler-onfocus"><code>onfocus</code></dfn> </td><td> <code title="event-focus">focus</code> <!-- widely used -->
     </td></tr><tr><td><dfn id="handler-onload" title="handler-onload"><code>onload</code></dfn> </td><td> <code title="event-load">load</code>
     </td></tr><tr><td><dfn id="handler-onscroll" title="handler-onscroll"><code>onscroll</code></dfn> </td><td> <code title="event-scroll">scroll</code>
   </td></tr></tbody></table><hr><p>The following are the <a href="#event-handlers">event handlers</a> (and their
@@ -1656,22 +1697,30 @@
     </td></tr><tr><td><dfn id="handler-window-onblur" title="handler-window-onblur"><code>onblur</code></dfn> </td><td> <code title="event-blur">blur</code>
     </td></tr><tr><td><dfn id="handler-window-onerror" title="handler-window-onerror"><code>onerror</code></dfn> </td><td> <code title="event-error">error</code>
     </td></tr><tr><td><dfn id="handler-window-onfocus" title="handler-window-onfocus"><code>onfocus</code></dfn> </td><td> <code title="event-focus">focus</code>
-    </td></tr><tr><td><dfn id="handler-window-onhashchange" title="handler-window-onhashchange"><code>onhashchange</code></dfn> </td><td> <code title="event-hashchange"><a href="history.html#event-hashchange">hashchange</a></code> 
-    </td></tr><tr><td><dfn id="handler-window-onload" title="handler-window-onload"><code>onload</code></dfn> </td><td> <code title="event-load">load</code> 
-    </td></tr><tr><td><dfn id="handler-window-onmessage" title="handler-window-onmessage"><code>onmessage</code></dfn> </td><td> <code title="event-message">message</code> 
-    </td></tr><tr><td><dfn id="handler-window-onoffline" title="handler-window-onoffline"><code>onoffline</code></dfn> </td><td> <code title="event-offline"><a href="offline.html#event-offline">offline</a></code> 
-    </td></tr><tr><td><dfn id="handler-window-ononline" title="handler-window-ononline"><code>ononline</code></dfn> </td><td> <code title="event-online"><a href="offline.html#event-online">online</a></code> 
-    </td></tr><tr><td><dfn id="handler-window-onpagehide" title="handler-window-onpagehide"><code>onpagehide</code></dfn> </td><td> <code title="event-pagehide"><a href="history.html#event-pagehide">pagehide</a></code> 
-    </td></tr><tr><td><dfn id="handler-window-onpageshow" title="handler-window-onpageshow"><code>onpageshow</code></dfn> </td><td> <code title="event-pageshow"><a href="history.html#event-pageshow">pageshow</a></code> 
-    </td></tr><tr><td><dfn id="handler-window-onpopstate" title="handler-window-onpopstate"><code>onpopstate</code></dfn> </td><td> <code title="event-popstate"><a href="history.html#event-popstate">popstate</a></code> 
-    </td></tr><tr><td><dfn id="handler-window-onresize" title="handler-window-onresize"><code>onresize</code></dfn> </td><td> <code title="event-resize">resize</code>  <!-- [CSSOM] -->
+    </td></tr><tr><td><dfn id="handler-window-onhashchange" title="handler-window-onhashchange"><code>onhashchange</code></dfn> </td><td> <code title="event-hashchange"><a href="history.html#event-hashchange">hashchange</a></code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-onload" title="handler-window-onload"><code>onload</code></dfn> </td><td> <code title="event-load">load</code> <!-- widely used -->
+    </td></tr><tr><td><dfn id="handler-window-onmessage" title="handler-window-onmessage"><code>onmessage</code></dfn> </td><td> <code title="event-message">message</code> <!-- new for postMessage -->
+    </td></tr><tr><td><dfn id="handler-window-onoffline" title="handler-window-onoffline"><code>onoffline</code></dfn> </td><td> <code title="event-offline"><a href="offline.html#event-offline">offline</a></code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-ononline" title="handler-window-ononline"><code>ononline</code></dfn> </td><td> <code title="event-online"><a href="offline.html#event-online">online</a></code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-onpagehide" title="handler-window-onpagehide"><code>onpagehide</code></dfn> </td><td> <code title="event-pagehide"><a href="history.html#event-pagehide">pagehide</a></code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-onpageshow" title="handler-window-onpageshow"><code>onpageshow</code></dfn> </td><td> <code title="event-pageshow"><a href="history.html#event-pageshow">pageshow</a></code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-onpopstate" title="handler-window-onpopstate"><code>onpopstate</code></dfn> </td><td> <code title="event-popstate"><a href="history.html#event-popstate">popstate</a></code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-onresize" title="handler-window-onresize"><code>onresize</code></dfn> </td><td> <code title="event-resize">resize</code> <!-- widely used --> <!-- [CSSOM] -->
     </td></tr><tr><td><dfn id="handler-window-onscroll" title="handler-window-onscroll"><code>onscroll</code></dfn> </td><td> <code title="event-scroll">scroll</code>
-    </td></tr><tr><td><dfn id="handler-window-onstorage" title="handler-window-onstorage"><code>onstorage</code></dfn> </td><td> <code title="event-storage">storage</code> 
-    </td></tr><tr><td><dfn id="handler-window-onunload" title="handler-window-onunload"><code>onunload</code></dfn> </td><td> <code title="event-unload">unload</code> 
+    </td></tr><tr><td><dfn id="handler-window-onstorage" title="handler-window-onstorage"><code>onstorage</code></dfn> </td><td> <code title="event-storage">storage</code> <!-- new -->
+    </td></tr><tr><td><dfn id="handler-window-onunload" title="handler-window-onunload"><code>onunload</code></dfn> </td><td> <code title="event-unload">unload</code> <!-- widely used -->
   </td></tr></tbody></table><p class="note">The <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>
   handler is also used for <a href="#runtime-script-errors">reporting script errors</a>.</p>
 
-  <hr><p>The following are the <a href="#event-handlers">event handlers</a> (and their
+  <hr><!-- this guy is only on Document and not on HTMLElement because
+  otherwise HTMLScriptElement would have it and that causes
+  compatibility issues since IE fires readystatechange events on
+  <script>, not load events, and we can't fire both, and some sites
+  try to decide which to look for based on the presence of
+  script.onreadystatechange on HTMLScriptElement.
+     http://www.w3.org/Bugs/Public/show_bug.cgi?id=13965
+     http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-September/033136.html
+  --><p>The following are the <a href="#event-handlers">event handlers</a> (and their
   corresponding <a href="#event-handler-event-type" title="event handler event type">event handler
   event types</a>) <span class="impl">that must be</span> supported
   on <code><a href="dom.html#document">Document</a></code> objects as IDL attributes:</p>
@@ -1737,7 +1786,7 @@
   <p>The <code title="dom-windowbase64-atob"><a href="#dom-windowbase64-atob">atob()</a></code> and <code title="dom-windowbase64-btoa"><a href="#dom-windowbase64-btoa">btoa()</a></code> methods allow authors to
   transform content to and from the base64 encoding.</p>
 
-  
+  <!-- v2: actual binary support -->
 
   <pre class="idl">[NoInterfaceObject]
 interface <dfn id="windowbase64">WindowBase64</dfn> {
@@ -1793,15 +1842,22 @@
   argument to a sequence of octets whose <var title="">n</var>th octet
   is the eight-bit representation of the code point of the <var title="">n</var>th character of the argument, and then must apply
   the base64 algorithm to that sequence of octets, and return the
-  result. <a href="references.html#refsRFC4648">[RFC4648]</a></p>
-  
+  result. <a href="references.html#refsRFC4648">[RFC4648]</a><!--base64--></p>
+  <!-- Aryeh says: This seems to be what all browsers do as of January
+  2011 (except IE, which doesn't support these functions at all). -->
 
 
   <p>The <dfn id="dom-windowbase64-atob" title="dom-windowbase64-atob"><code>atob()</code></dfn>
   method must run the following steps to parse the string passed in
   the method's first argument:</p>
 
-  <ol><li><p>Let <var title="">input</var> be the string being
+  <ol><!-- Aryeh says: Copies Firefox behavior as of January 2011
+   (4.0b8). WebKit is somewhat laxer, and Opera throws no exceptions
+   at all. gsnedders reports Opera's behavior causes site-compat
+   problems, and I figure most sites depend on Firefox if on anything,
+   so go with that. --><!-- Since updated to drop whitespace, based on the arguments here:
+      http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031613.html
+   --><li><p>Let <var title="">input</var> be the string being
    parsed.</p></li>
 
    <li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
@@ -1828,9 +1884,9 @@
 
     <ul class="brief"><li>"+" (U+002B)
      </li><li>"/" (U+002F)
-     </li><li><a href="common-microsyntaxes.html#ascii-digits">ASCII digits</a>
-     </li><li><a href="common-microsyntaxes.html#uppercase-ascii-letters">uppercase ASCII letters</a>
-     </li><li><a href="common-microsyntaxes.html#lowercase-ascii-letters">lowercase ASCII letters</a>
+     </li><li><a href="#ascii-digits">ASCII digits</a>
+     </li><li><a href="#uppercase-ascii-letters">uppercase ASCII letters</a>
+     </li><li><a href="#lowercase-ascii-letters">lowercase ASCII letters</a>
     </li></ul></li>
 
    <li><p>Let <var title="">output</var> be a string, initially
@@ -1951,7 +2007,10 @@
 
    <li><p>Return <var title="">output</var>.</p></li>
 
-  </ol></div>
+  </ol><!-- Note: this function is defined explicitly here because RFC4648
+  does not specify how to handle erroneous input, and no preexisting
+  browser implementation simply throws an exception on all erroneous
+  input. --></div>
 
   <p class="note">Some base64 encoders add newlines or other
   whitespace to their output. The <code title="dom-windowbase64-atob"><a href="#dom-windowbase64-atob">atob()</a></code> method throws an

Index: attributes-common-to-form-controls.html
===================================================================
RCS file: /sources/public/html5/spec/attributes-common-to-form-controls.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- attributes-common-to-form-controls.html	26 Jun 2012 20:46:32 -0000	1.158
+++ attributes-common-to-form-controls.html	22 Aug 2012 10:52:39 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.10.19 Attributes common to form controls &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.10.19 Attributes common to form controls &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,33 +316,30 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="association-of-controls-and-forms.html" title="4.10.18 Association of controls and forms" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
-  <link href="textFieldSelection.html" title="4.10.20 APIs for the text field selections" rel="next">
+  </script><link href="association-of-controls-and-forms.html" title="4.10.18 Association of controls and forms" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
+  <link href="form-submission.html" title="4.10.19.6 Form submission" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="association-of-controls-and-forms.html">&#8592; 4.10.18 Association of controls and forms</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
-   <a href="textFieldSelection.html">4.10.20 APIs for the text field selections &#8594;</a>
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
+   <a href="form-submission.html">4.10.19.6 Form submission &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="attributes-common-to-form-controls.html#attributes-common-to-form-controls"><span class="secno">4.10.19 </span>Attributes common to form controls</a>
-      <ol><li><a href="attributes-common-to-form-controls.html#naming-form-controls"><span class="secno">4.10.19.1 </span>Naming form controls</a></li><li><a href="attributes-common-to-form-controls.html#enabling-and-disabling-form-controls"><span class="secno">4.10.19.2 </span>Enabling and disabling form controls</a></li><li><a href="attributes-common-to-form-controls.html#a-form-control-s-value"><span class="secno">4.10.19.3 </span>A form control's value</a></li><li><a href="attributes-common-to-form-controls.html#autofocusing-a-form-control"><span class="secno">4.10.19.4 </span>Autofocusing a form control</a></li><li><a href="attributes-common-to-form-controls.html#limiting-user-input-length"><span class="secno">4.10.19.5 </span>Limiting user input length</a></li><li><a href="attributes-common-to-form-controls.html#form-submission-0"><span class="secno">4.10.19.6 </span>Form submission</a></li><li><a href="attributes-common-to-form-controls.html#submitting-element-directionality"><span class="secno">4.10.19.7 </span>Submitting element directionality</a></li></ol></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="attributes-common-to-form-controls.html#naming-form-controls"><span class="secno">4.10.19.1 </span>Naming form controls</a></li><li><a href="attributes-common-to-form-controls.html#enabling-and-disabling-form-controls"><span class="secno">4.10.19.2 </span>Enabling and disabling form controls</a></li><li><a href="attributes-common-to-form-controls.html#a-form-control's-value"><span class="secno">4.10.19.3 </span>A form control's value</a></li><li><a href="attributes-common-to-form-controls.html#autofocusing-a-form-control"><span class="secno">4.10.19.4 </span>Autofocusing a form control</a></li><li><a href="attributes-common-to-form-controls.html#limiting-user-input-length"><span class="secno">4.10.19.5 </span>Limiting user input length</a></li></ol></li></ol></li></ol></li></ol></div>
 
   <h4 id="attributes-common-to-form-controls"><span class="secno">4.10.19 </span><dfn>Attributes common to form controls</dfn></h4>
 
   <h5 id="naming-form-controls"><span class="secno">4.10.19.1 </span>Naming form controls</h5>
 
   <p>The <dfn id="attr-fe-name" title="attr-fe-name"><code>name</code></dfn> content
-  attribute gives the name of the form control, as used in <a href="form-submission.html#form-submission">form
+  attribute gives the name of the form control, as used in <a href="constraints.html#form-submission-0">form
   submission</a> and in the <code><a href="the-form-element.html#the-form-element">form</a></code> element's <code title="dom-form-elements"><a href="the-form-element.html#dom-form-elements">elements</a></code> object. If the attribute
   is specified, its value must not be the empty string.</p>
 
@@ -351,15 +348,15 @@
 
   <dl><dt><dfn id="attr-fe-name-isindex" title="attr-fe-name-isindex"><code>isindex</code></dfn></dt>
    <dd>
-    <p>This value, if used as the name of a <a href="states-of-the-type-attribute.html#text-type-text-state-and-search-state-type-search" title="attr-input-type-text">Text</a> control that is the first
-    control in a form that is submitted using the <code title="attr-fs-enctype-urlencoded"><a href="#attr-fs-enctype-urlencoded">application/x-www-form-urlencoded</a></code>
+    <p>This value, if used as the name of a <a href="states-of-the-type-attribute.html#text-(type=text)-state-and-search-state-(type=search)" title="attr-input-type-text">Text</a> control that is the first
+    control in a form that is submitted using the <code title="attr-fs-enctype-urlencoded"><a href="form-submission.html#attr-fs-enctype-urlencoded">application/x-www-form-urlencoded</a></code>
     mechanism, causes the submission to only include the value of this
     control, with no name.</p>
    </dd>
 
    <dt><dfn id="attr-fe-name-charset" title="attr-fe-name-charset"><code>_charset_</code></dfn></dt>
    <dd>
-    <p>This value, if used as the name of a <a href="states-of-the-type-attribute.html#hidden-state-type-hidden" title="attr-input-type-hidden">Hidden</a> control with no <code title="attr-input-value"><a href="the-input-element.html#attr-input-value">value</a></code> attribute, is automatically
+    <p>This value, if used as the name of a <a href="states-of-the-type-attribute.html#hidden-state-(type=hidden)" title="attr-input-type-hidden">Hidden</a> control with no <code title="attr-input-value"><a href="the-input-element.html#attr-input-value">value</a></code> attribute, is automatically
     given a value during submission consisting of the submission
     character encoding.</p>
    </dd>
@@ -402,7 +399,7 @@
 
   <div class="impl">
 
-  <h5 id="a-form-control-s-value"><span class="secno">4.10.19.3 </span>A form control's value</h5>
+  <h5 id="a-form-control's-value"><span class="secno">4.10.19.3 </span>A form control's value</h5>
 
   <p>Form controls have a <dfn id="concept-fe-value" title="concept-fe-value">value</dfn>
   and a <dfn id="concept-fe-checked" title="concept-fe-checked">checkedness</dfn>. (The latter
@@ -418,7 +415,7 @@
 
   <h5 id="autofocusing-a-form-control"><span class="secno">4.10.19.4 </span>Autofocusing a form control</h5>
 
-  
+  <!-- v2: Apply this to contentEditable elements -->
 
   <p>The <dfn id="attr-fe-autofocus" title="attr-fe-autofocus"><code>autofocus</code></dfn>
   content attribute allows the author to indicate that a control is to
@@ -449,19 +446,19 @@
    it is a <a href="browsers.html#nested-browsing-context">nested browsing context</a> with no <a href="browsers.html#parent-browsing-context">parent
    browsing context</a>), abort these steps.</p></li>
 
-   <li><p>If <var title="">target</var>'s <a href="origin-0.html#active-sandboxing-flag-set">active sandboxing
-   flag set</a> has the <a href="origin-0.html#sandboxed-automatic-features-browsing-context-flag">sandboxed automatic features
+   <li><p>If <var title="">target</var>'s <a href="browsers.html#active-sandboxing-flag-set">active sandboxing
+   flag set</a> has the <a href="browsers.html#sandboxed-automatic-features-browsing-context-flag">sandboxed automatic features
    browsing context flag</a>, abort these steps.</p></li>
 
-   <li><p>If <var title="">target</var>'s <a href="origin-0.html#origin">origin</a> is not
-   the <a href="origin-0.html#same-origin" title="same origin">same</a> as the
-   <a href="origin-0.html#origin">origin</a> of the <code><a href="dom.html#document">Document</a></code> of the currently
+   <li><p>If <var title="">target</var>'s <a href="browsers.html#origin-0">origin</a> is not
+   the <a href="browsers.html#same-origin" title="same origin">same</a> as the
+   <a href="browsers.html#origin-0">origin</a> of the <code><a href="dom.html#document">Document</a></code> of the currently
    focused element in <var title="">target</var>'s <a href="browsers.html#top-level-browsing-context">top-level
    browsing context</a>, abort these steps.</p></li>
 
-   <li><p>If <var title="">target</var>'s <a href="origin-0.html#origin">origin</a> is not
-   the <a href="origin-0.html#same-origin" title="same origin">same</a> as the
-   <a href="origin-0.html#origin">origin</a> of the <a href="browsers.html#active-document">active document</a> of <var title="">target</var>'s <a href="browsers.html#top-level-browsing-context">top-level browsing context</a>,
+   <li><p>If <var title="">target</var>'s <a href="browsers.html#origin-0">origin</a> is not
+   the <a href="browsers.html#same-origin" title="same origin">same</a> as the
+   <a href="browsers.html#origin-0">origin</a> of the <a href="browsers.html#active-document">active document</a> of <var title="">target</var>'s <a href="browsers.html#top-level-browsing-context">top-level browsing context</a>,
    abort these steps.</p></li>
 
    <li><p>If the user agent has already reached the last step of this
@@ -533,167 +530,4 @@
 
 
 
-  <h5 id="form-submission-0"><span class="secno">4.10.19.6 </span>Form submission</h5>
-
-  <p><dfn id="attributes-for-form-submission">Attributes for form submission</dfn> can be specified both
-  on <code><a href="the-form-element.html#the-form-element">form</a></code> elements and on <a href="forms.html#concept-submit-button" title="concept-submit-button">submit buttons</a> (elements that
-  represent buttons that submit forms, e.g. an <code><a href="the-input-element.html#the-input-element">input</a></code>
-  element whose <code title="attr-input-type"><a href="the-input-element.html#attr-input-type">type</a></code> attribute is
-  in the <a href="states-of-the-type-attribute.html#submit-button-state-type-submit" title="attr-input-type-submit">Submit Button</a>
-  state).
-
-  </p><p>The <a href="#attributes-for-form-submission">attributes for form submission</a> that may be
-  specified on <code><a href="the-form-element.html#the-form-element">form</a></code> elements are <code title="attr-fs-action"><a href="#attr-fs-action">action</a></code>, <code title="attr-fs-enctype"><a href="#attr-fs-enctype">enctype</a></code>, <code title="attr-fs-method"><a href="#attr-fs-method">method</a></code>, <code title="attr-fs-novalidate"><a href="#attr-fs-novalidate">novalidate</a></code>, and <code title="attr-fs-target"><a href="#attr-fs-target">target</a></code>.</p>
-
-  <p>The corresponding <a href="#attributes-for-form-submission">attributes for form submission</a>
-  that may be specified on <a href="forms.html#concept-submit-button" title="concept-submit-button">submit
-  buttons</a> are <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code>, <code title="attr-fs-formenctype"><a href="#attr-fs-formenctype">formenctype</a></code>, <code title="attr-fs-formmethod"><a href="#attr-fs-formmethod">formmethod</a></code>, <code title="attr-fs-formnovalidate"><a href="#attr-fs-formnovalidate">formnovalidate</a></code>, and <code title="attr-fs-formtarget"><a href="#attr-fs-formtarget">formtarget</a></code>. When omitted, they
-  default to the values given on the corresponding attributes on the
-  <code><a href="the-form-element.html#the-form-element">form</a></code> element.</p>
-
-  <hr><p>The <dfn id="attr-fs-action" title="attr-fs-action"><code>action</code></dfn> and
-  <dfn id="attr-fs-formaction" title="attr-fs-formaction"><code>formaction</code></dfn>
-  content attributes, if specified, must have a value that is a
-  <a href="urls.html#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by
-  spaces</a>.</p>
-
-  <p>The <dfn id="concept-fs-action" title="concept-fs-action">action</dfn> of an element is
-  the value of the element's <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code> attribute, if the
-  element is a <a href="forms.html#concept-submit-button" title="concept-submit-button">submit
-  button</a> and has such an attribute, or the value of its
-  <a href="association-of-controls-and-forms.html#form-owner">form owner</a>'s <code title="attr-fs-action"><a href="#attr-fs-action">action</a></code>
-  attribute, if <em>it</em> has one, or else the empty string.</p>
-
-  <hr><p>The <dfn id="attr-fs-method" title="attr-fs-method"><code>method</code></dfn> and
-  <dfn id="attr-fs-formmethod" title="attr-fs-formmethod"><code>formmethod</code></dfn>
-  content attributes are <a href="common-microsyntaxes.html#enumerated-attribute" title="enumerated attribute">enumerated
-  attributes</a> with the following keywords and states:</p>
-
-  <ul><li>The keyword <dfn id="attr-fs-method-get-keyword" title="attr-fs-method-GET-keyword"><code>get</code></dfn>, mapping
-   to the state <dfn id="attr-fs-method-get" title="attr-fs-method-GET">GET</dfn>, indicating
-   the HTTP GET method.</li>
-
-   <li>The keyword <dfn id="attr-fs-method-post-keyword" title="attr-fs-method-POST-keyword"><code>post</code></dfn>, mapping
-   to the state <dfn id="attr-fs-method-post" title="attr-fs-method-POST">POST</dfn>, indicating
-   the HTTP POST method.</li>
-
-
-  </ul><p>The <i>missing value default</i> for these attributes is the
-  <a href="#attr-fs-method-get" title="attr-fs-method-GET">GET</a> state.</p>
-
-  <p>The <dfn id="concept-fs-method" title="concept-fs-method">method</dfn> of an element is
-  one of those states. If the element is a <a href="forms.html#concept-submit-button" title="concept-submit-button">submit button</a> and has a <code title="attr-fs-formmethod"><a href="#attr-fs-formmethod">formmethod</a></code> attribute, then the
-  element's <a href="#concept-fs-method" title="concept-fs-method">method</a> is that
-  attribute's state; otherwise, it is the <a href="association-of-controls-and-forms.html#form-owner">form owner</a>'s
-  <code title="attr-fs-method"><a href="#attr-fs-method">method</a></code> attribute's state.</p>
-
-  <hr><p>The <dfn id="attr-fs-enctype" title="attr-fs-enctype"><code>enctype</code></dfn> and
-  <dfn id="attr-fs-formenctype" title="attr-fs-formenctype"><code>formenctype</code></dfn>
-  content attributes are <a href="common-microsyntaxes.html#enumerated-attribute" title="enumerated attribute">enumerated
-  attributes</a> with the following keywords and states:</p>
-
-  <ul><li>The "<dfn id="attr-fs-enctype-urlencoded" title="attr-fs-enctype-urlencoded"><code>application/x-www-form-urlencoded</code></dfn>" keyword and corresponding state.</li>
-   <li>The "<dfn id="attr-fs-enctype-formdata" title="attr-fs-enctype-formdata"><code>multipart/form-data</code></dfn>" keyword and corresponding state.</li>
-   <li>The "<dfn id="attr-fs-enctype-text" title="attr-fs-enctype-text"><code>text/plain</code></dfn>" keyword and corresponding state.</li>
-  </ul><p>The <i>missing value default</i> for these attributes is the
-  <code title="attr-fs-enctype-urlencoded"><a href="#attr-fs-enctype-urlencoded">application/x-www-form-urlencoded</a></code>
-  state.</p>
-
-  <p>The <dfn id="concept-fs-enctype" title="concept-fs-enctype">enctype</dfn> of an element
-  is one of those three states. If the element is a <a href="forms.html#concept-submit-button" title="concept-submit-button">submit button</a> and has a <code title="attr-fs-formenctype"><a href="#attr-fs-formenctype">formenctype</a></code> attribute, then the
-  element's <a href="#concept-fs-enctype" title="concept-fs-enctype">enctype</a> is that
-  attribute's state; otherwise, it is the <a href="association-of-controls-and-forms.html#form-owner">form owner</a>'s
-  <code title="attr-fs-enctype"><a href="#attr-fs-enctype">enctype</a></code> attribute's state.</p>
-
-  <hr><p>The <dfn id="attr-fs-target" title="attr-fs-target"><code>target</code></dfn> and
-  <dfn id="attr-fs-formtarget" title="attr-fs-formtarget"><code>formtarget</code></dfn>
-  content attributes, if specified, must have values that are <a href="browsers.html#valid-browsing-context-name-or-keyword" title="valid browsing context name or keyword">valid browsing
-  context names or keywords</a>.</p>
-
-  <p>The <dfn id="concept-fs-target" title="concept-fs-target">target</dfn> of an element is
-  the value of the element's <code title="attr-fs-formtarget"><a href="#attr-fs-formtarget">formtarget</a></code> attribute, if the
-  element is a <a href="forms.html#concept-submit-button" title="concept-submit-button">submit
-  button</a> and has such an attribute; or the value of its
-  <a href="association-of-controls-and-forms.html#form-owner">form owner</a>'s <code title="attr-fs-target"><a href="#attr-fs-target">target</a></code>
-  attribute, if <em>it</em> has such an attribute; or, if the
-  <code><a href="dom.html#document">Document</a></code> contains a <code><a href="the-base-element.html#the-base-element">base</a></code> element with a
-  <code title="attr-base-target"><a href="the-base-element.html#attr-base-target">target</a></code> attribute, then the
-  value of the <code title="attr-base-target"><a href="the-base-element.html#attr-base-target">target</a></code> attribute
-  of the first such <code><a href="the-base-element.html#the-base-element">base</a></code> element; or, if there is no such
-  element, the empty string.</p> 
-
-  <hr><p>The <dfn id="attr-fs-novalidate" title="attr-fs-novalidate"><code>novalidate</code></dfn>
-  and <dfn id="attr-fs-formnovalidate" title="attr-fs-formnovalidate"><code>formnovalidate</code></dfn>
-  content attributes are <a href="common-microsyntaxes.html#boolean-attribute" title="boolean attribute">boolean
-  attributes</a>. If present, they indicate that the form is not to
-  be validated during submission.</p>
-
-  <p>The <dfn id="concept-fs-novalidate" title="concept-fs-novalidate">no-validate state</dfn> of
-  an element is true if the element is a <a href="forms.html#concept-submit-button" title="concept-submit-button">submit button</a> and the element's
-  <code title="attr-fs-formnovalidate"><a href="#attr-fs-formnovalidate">formnovalidate</a></code> attribute
-  is present, or if the element's <a href="association-of-controls-and-forms.html#form-owner">form owner</a>'s <code title="attr-fs-novalidate"><a href="#attr-fs-novalidate">novalidate</a></code> attribute is present,
-  and false otherwise.</p>
-
-  <div class="example">
-
-   <p>This attribute is useful to include "save" buttons on forms that
-   have validation constraints, to allow users to save their progress
-   even though they haven't fully entered the data in the form. The
-   following example shows a simple form that has two required
-   fields. There are three buttons: one to submit the form, which
-   requires both fields to be filled in; one to save the form so that
-   the user can come back and fill it in later; and one to cancel the
-   form altogether.</p>
-
-   <pre>&lt;form action="editor.cgi" method="post"&gt;
- &lt;p&gt;&lt;label&gt;Name: &lt;input required name=fn&gt;&lt;/label&gt;&lt;/p&gt;
- &lt;p&gt;&lt;label&gt;Essay: &lt;textarea required name=essay&gt;&lt;/textarea&gt;&lt;/label&gt;&lt;/p&gt;
- &lt;p&gt;&lt;input type=submit name=submit value="Submit essay"&gt;&lt;/p&gt;
- &lt;p&gt;&lt;input type=submit formnovalidate name=save value="Save essay"&gt;&lt;/p&gt;
- &lt;p&gt;&lt;input type=submit formnovalidate name=cancel value="Cancel"&gt;&lt;/p&gt;
-&lt;/form&gt;</pre>
-
-  </div>
-
-  <div class="impl">
-
-  <hr><p>The <dfn id="dom-fs-action" title="dom-fs-action"><code>action</code></dfn> IDL
-  attribute must <a href="common-dom-interfaces.html#reflect">reflect</a> the content attribute of the
-  same name, except that on getting, when the content attribute is
-  missing or its value is the empty string, <a href="dom.html#the-document-s-address">the document's
-  address</a> must be returned instead. The <dfn id="dom-fs-target" title="dom-fs-target"><code>target</code></dfn> IDL attribute must
-  <a href="common-dom-interfaces.html#reflect">reflect</a> the content attribute of the same name. The
-  <dfn id="dom-fs-method" title="dom-fs-method"><code>method</code></dfn> and <dfn id="dom-fs-enctype" title="dom-fs-enctype"><code>enctype</code></dfn> IDL attributes
-  must <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content attributes of the
-  same name, <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-encoding" title="dom-fs-encoding"><code>encoding</code></dfn> IDL attribute
-  must <a href="common-dom-interfaces.html#reflect">reflect</a> the <code title="attr-fs-enctype"><a href="#attr-fs-enctype">enctype</a></code> content attribute,
-  <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-novalidate" title="dom-fs-noValidate"><code>noValidate</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-novalidate"><a href="#attr-fs-novalidate">novalidate</a></code> content attribute. The
-  <dfn id="dom-fs-formaction" title="dom-fs-formAction"><code>formAction</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code> content attribute,
-  except that on getting, when the content attribute is missing or its
-  value is the empty string, <a href="dom.html#the-document-s-address">the document's address</a> must
-  be returned instead. The <dfn id="dom-fs-formenctype" title="dom-fs-formEnctype"><code>formEnctype</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-formenctype"><a href="#attr-fs-formenctype">formenctype</a></code> content attribute,
-  <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-formmethod" title="dom-fs-formMethod"><code>formMethod</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-formmethod"><a href="#attr-fs-formmethod">formmethod</a></code> content attribute,
-  <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-formnovalidate" title="dom-fs-formNoValidate"><code>formNoValidate</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-formnovalidate"><a href="#attr-fs-formnovalidate">formnovalidate</a></code> content
-  attribute. The <dfn id="dom-fs-formtarget" title="dom-fs-formTarget"><code>formTarget</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-formtarget"><a href="#attr-fs-formtarget">formtarget</a></code> content attribute.
-
-  </p></div>
-
-
-  <h5 id="submitting-element-directionality"><span class="secno">4.10.19.7 </span>Submitting element directionality</h5>
-
-  <p>A <dfn id="form-control-dirname-attribute">form control <code title="">dirname</code> attribute</dfn>
-  on a form control element enables the submission of <a href="global-attributes.html#the-directionality">the
-  directionality</a> of the element, and gives the name of the
-  field that contains this value during <a href="form-submission.html#form-submission">form submission</a>.
-  If such an attribute is specified, its value must not be the empty
-  string.</p>
-
-
-
   </body></html>
\ No newline at end of file

--- the-h1-h2-h3-h4-h5-and-h6-elements.html DELETED ---

Index: the-abbr-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-abbr-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-abbr-element.html	26 Jun 2012 20:46:53 -0000	1.158
+++ the-abbr-element.html	22 Aug 2012 10:52:47 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.6.9 The abbr element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.6.9 The abbr element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,42 +316,39 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-dfn-element.html" title="4.6.8 The dfn element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-dfn-element.html" title="4.6.8 The dfn element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-time-element.html" title="4.6.10 The time element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-dfn-element.html">&#8592; 4.6.8 The dfn element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-time-element.html">4.6.10 The time element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-abbr-element"><span class="secno">4.6.9 </span>The <dfn><code>abbr</code></dfn> element</h4>
 
   <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
-   <dd><a href="content-models.html#palpable-content">Palpable content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#palpable-content-0">Palpable content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
-   <dd>Where <a href="content-models.html#phrasing-content">phrasing content</a> is expected.</dd>
+   <dd>Where <a href="content-models.html#phrasing-content-1">phrasing content</a> is expected.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#phrasing-content">Phrasing content</a>.</dd>
+   <dd><a href="content-models.html#phrasing-content-1">Phrasing content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd>Also, the <code title="attr-abbr-title"><a href="#attr-abbr-title">title</a></code> attribute has special semantics on this element.</dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>Uses <code><a href="elements.html#htmlelement">HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href="#the-abbr-element">abbr</a></code> element <a href="rendering.html#represents">represents</a> an
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-abbr-element">abbr</a></code> element <a href="rendering.html#represents">represents</a> an
   abbreviation or acronym, optionally with its expansion. The <dfn id="attr-abbr-title" title="attr-abbr-title"><code>title</code></dfn> attribute may be
   used to provide an expansion of the abbreviation. The attribute, if
   specified, must contain an expansion of the abbreviation, and
@@ -451,6 +448,7 @@
 
 
 
+<!--DATA--><!--FORK-->
 
 
 

Index: the-caption-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-caption-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-caption-element.html	26 Jun 2012 20:46:55 -0000	1.158
+++ the-caption-element.html	22 Aug 2012 10:52:48 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.9.2 The caption element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.9.2 The caption element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-table-element.html" title="4.9.1 The table element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-table-element.html" title="4.9.1 The table element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-colgroup-element.html" title="4.9.3 The colgroup element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-table-element.html">&#8592; 4.9.1 The table element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-colgroup-element.html">4.9.3 The colgroup element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-caption-element"><span class="secno">4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4>
 
@@ -343,14 +340,14 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As the first element child of a <code><a href="the-table-element.html#the-table-element">table</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>, but with no descendant <code><a href="the-table-element.html#the-table-element">table</a></code> elements.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>, but with no descendant <code><a href="the-table-element.html#the-table-element">table</a></code> elements.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn id="htmltablecaptionelement">HTMLTableCaptionElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre>
    </dd>
-  </dl><p>The <code><a href="#the-caption-element">caption</a></code> element <a href="rendering.html#represents">represents</a> the title of the
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-caption-element">caption</a></code> element <a href="rendering.html#represents">represents</a> the title of the
   <code><a href="the-table-element.html#the-table-element">table</a></code> that is its parent, if it has a parent and that
   is a <code><a href="the-table-element.html#the-table-element">table</a></code> element.</p>
 
@@ -392,6 +389,7 @@
 the cell that corresponds to the values of the two dice.
 &lt;/caption&gt;</pre>
 
+<!--HTML4POLICE--><!--FORK-->
 
   </div>
 

--- the-h2-element.html DELETED ---

Index: the-tbody-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-tbody-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-tbody-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-tbody-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.9.5 The tbody element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.9.5 The tbody element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-col-element.html" title="4.9.4 The col element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-col-element.html" title="4.9.4 The col element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-thead-element.html" title="4.9.6 The thead element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-col-element.html">&#8592; 4.9.4 The col element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-thead-element.html">4.9.6 The thead element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-tbody-element"><span class="secno">4.9.5 </span>The <dfn><code>tbody</code></dfn> element</h4>
 
@@ -350,7 +347,7 @@
    <dd>Zero or more <code><a href="the-tr-element.html#the-tr-element">tr</a></code> elements</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmltablesectionelement">HTMLTableSectionElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
   readonly attribute <a href="infrastructure.html#htmlcollection">HTMLCollection</a> <a href="#dom-tbody-rows" title="dom-tbody-rows">rows</a>;
@@ -360,7 +357,7 @@
     <p>The <code><a href="#htmltablesectionelement">HTMLTableSectionElement</a></code> interface is also
     used for <code><a href="the-thead-element.html#the-thead-element">thead</a></code> and <code><a href="the-tfoot-element.html#the-tfoot-element">tfoot</a></code> elements.</p>
    </dd>
-  </dl><p>The <code><a href="#the-tbody-element">tbody</a></code> element <a href="rendering.html#represents">represents</a> a <a href="attributes-common-to-td-and-th-elements.html#concept-row-group" title="concept-row-group">block</a> of <a href="attributes-common-to-td-and-th-elements.html#concept-row" title="concept-row">rows</a> that consist of a body of data for
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-tbody-element">tbody</a></code> element <a href="rendering.html#represents">represents</a> a <a href="attributes-common-to-td-and-th-elements.html#concept-row-group" title="concept-row-group">block</a> of <a href="attributes-common-to-td-and-th-elements.html#concept-row" title="concept-row">rows</a> that consist of a body of data for
   the parent <code><a href="the-table-element.html#the-table-element">table</a></code> element, if the <code><a href="#the-tbody-element">tbody</a></code>
   element has a parent and it is a <code><a href="the-table-element.html#the-table-element">table</a></code>.</p>
 
@@ -371,7 +368,7 @@
 
   </div>
 
-
+<!--TOPIC:DOM APIs-->
   <dl class="domintro"><dt><var title="">tbody</var> . <code title="dom-tbody-rows"><a href="#dom-tbody-rows">rows</a></code></dt>
    <dd>
     <p>Returns an <code><a href="infrastructure.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="the-tr-element.html#the-tr-element">tr</a></code> elements of the table section.</p>
@@ -423,7 +420,7 @@
   instead throw an <code><a href="infrastructure.html#indexsizeerror">IndexSizeError</a></code> exception.</p>
 
   </div>
-
+<!--TOPIC:HTML-->
 
 
   </body></html>
\ No newline at end of file

Index: the-td-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-td-element.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- the-td-element.html	26 Jun 2012 20:47:03 -0000	1.158
+++ the-td-element.html	22 Aug 2012 10:52:53 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.9.9 The td element &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.9.9 The td element &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,25 +316,22 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-tr-element.html" title="4.9.8 The tr element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-tr-element.html" title="4.9.8 The tr element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-th-element.html" title="4.9.10 The th element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-tr-element.html">&#8592; 4.9.8 The tr element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-th-element.html">4.9.10 The th element &#8594;</a>
-  </nav>
+  </div>
 
   <h4 id="the-td-element"><span class="secno">4.9.9 </span>The <dfn><code>td</code></dfn> element</h4>
 
@@ -343,18 +340,18 @@
    <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
    <dd>As a child of a <code><a href="the-tr-element.html#the-tr-element">tr</a></code> element.</dd>
    <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
-   <dd><a href="content-models.html#flow-content">Flow content</a>.</dd>
+   <dd><a href="content-models.html#flow-content-1">Flow content</a>.</dd>
    <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
    <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
    <dd><code title="attr-tdth-colspan"><a href="attributes-common-to-td-and-th-elements.html#attr-tdth-colspan">colspan</a></code></dd>
    <dd><code title="attr-tdth-rowspan"><a href="attributes-common-to-td-and-th-elements.html#attr-tdth-rowspan">rowspan</a></code></dd>
    <dd><code title="attr-tdth-headers"><a href="attributes-common-to-td-and-th-elements.html#attr-tdth-headers">headers</a></code></dd>
-   
-   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt>
+   <!-- v2 char, to specify the decimal character used in numeric cells -->
+   <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
     <pre class="idl">interface <dfn id="htmltabledatacellelement">HTMLTableDataCellElement</dfn> : <a href="attributes-common-to-td-and-th-elements.html#htmltablecellelement">HTMLTableCellElement</a> {};</pre>
    </dd>
-  </dl><p>The <code><a href="#the-td-element">td</a></code> element <a href="rendering.html#represents">represents</a> a data <a href="attributes-common-to-td-and-th-elements.html#concept-cell" title="concept-cell">cell</a> in a table.</p>
+  </dl><!--TOPIC:HTML--><p>The <code><a href="#the-td-element">td</a></code> element <a href="rendering.html#represents">represents</a> a data <a href="attributes-common-to-td-and-th-elements.html#concept-cell" title="concept-cell">cell</a> in a table.</p>
 
   <div class="impl">
 

--- the-h5-element.html DELETED ---

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1942
retrieving revision 1.1943
diff -u -d -r1.1942 -r1.1943
--- spec.html	26 Jun 2012 20:46:51 -0000	1.1942
+++ spec.html	22 Aug 2012 10:52:46 -0000	1.1943
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
[...1043 lines suppressed...]
-   <li><a class="no-num" href="section-index.html#attributes-1">Attributes</a></li>
-   <li><a class="no-num" href="section-index.html#interfaces">Interfaces</a></li>
-   <li><a class="no-num" href="section-index.html#events-0">Events</a></li></ol></li>
+  <ol class="toc"><li><a href="iana.html#text/html"><span class="secno">12.1 </span><code>text/html</code></a></li>
+   <li><a href="iana.html#multipart/x-mixed-replace"><span class="secno">12.2 </span><code>multipart/x-mixed-replace</code></a></li>
+   <li><a href="iana.html#application/xhtml+xml"><span class="secno">12.3 </span><code>application/xhtml+xml</code></a></li>
+   <li><a href="iana.html#application/x-www-form-urlencoded"><span class="secno">12.4 </span><code>application/x-www-form-urlencoded</code></a></li>
+   <li><a href="iana.html#text/cache-manifest"><span class="secno">12.5 </span><code>text/cache-manifest</code></a></li>
+   <li><a href="iana.html#web+-scheme-prefix"><span class="secno">12.6 </span><code>web+</code> scheme prefix</a></li></ol></li>
+ <li><a class="no-num" href="index.html#index">Index</a>
+  <ol class="toc"><li><a class="no-num" href="index.html#elements-1">Elements</a></li>
+   <li><a class="no-num" href="index.html#element-content-categories">Element content categories</a></li>
+   <li><a class="no-num" href="index.html#attributes-1">Attributes</a></li>
+   <li><a class="no-num" href="index.html#interfaces">Interfaces</a></li>
+   <li><a class="no-num" href="index.html#events-0">Events</a></li></ol></li>
  <li><a class="no-num" href="references.html#references">References</a></li>
- <li><a class="no-num" href="acknowledgements.html#acknowledgements">Acknowledgements</a></li></ol></body></html>
\ No newline at end of file
+ <li><a class="no-num" href="acknowledgements.html#acknowledgements">Acknowledgements</a></li></ol><!--end-toc--></body></html>
\ No newline at end of file

Index: system-state-and-capabilities.html
===================================================================
RCS file: /sources/public/html5/spec/system-state-and-capabilities.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- system-state-and-capabilities.html	26 Jun 2012 20:46:52 -0000	1.158
+++ system-state-and-capabilities.html	22 Aug 2012 10:52:46 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>6.5 System state and capabilities &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>6.5 System state and capabilities &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,27 +316,24 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="user-prompts.html" title="6.4 User prompts" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="user-prompts.html" title="6.4 User prompts" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="editing.html" title="7 User interaction" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="user-prompts.html">&#8592; 6.4 User prompts</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="editing.html">7 User interaction &#8594;</a>
   <ol class="toc"><li><ol><li><a href="system-state-and-capabilities.html#system-state-and-capabilities"><span class="secno">6.5 </span>System state and capabilities</a>
     <ol><li><a href="system-state-and-capabilities.html#the-navigator-object"><span class="secno">6.5.1 </span>The <code>Navigator</code> object</a>
-      <ol><li><a href="system-state-and-capabilities.html#client-identification"><span class="secno">6.5.1.1 </span>Client identification</a></li><li><a href="system-state-and-capabilities.html#custom-handlers"><span class="secno">6.5.1.2 </span>Custom scheme and content handlers</a></li><li><a href="system-state-and-capabilities.html#security-and-privacy"><span class="secno">6.5.1.3 </span>Security and privacy</a></li><li><a href="system-state-and-capabilities.html#sample-handler-impl"><span class="secno">6.5.1.4 </span>Sample user interface</a></li><li><a href="system-state-and-capabilities.html#manually-releasing-the-storage-mutex"><span class="secno">6.5.1.5 </span>Manually releasing the storage mutex</a></li></ol></li><li><a href="system-state-and-capabilities.html#the-external-interface"><span class="secno">6.5.2 </span>The <code>External</code> interface</a></li></ol></li></ol></li></ol></nav>
+      <ol><li><a href="system-state-and-capabilities.html#client-identification"><span class="secno">6.5.1.1 </span>Client identification</a></li><li><a href="system-state-and-capabilities.html#custom-handlers"><span class="secno">6.5.1.2 </span>Custom scheme and content handlers</a></li><li><a href="system-state-and-capabilities.html#security-and-privacy"><span class="secno">6.5.1.3 </span>Security and privacy</a></li><li><a href="system-state-and-capabilities.html#sample-handler-impl"><span class="secno">6.5.1.4 </span>Sample user interface</a></li><li><a href="system-state-and-capabilities.html#manually-releasing-the-storage-mutex"><span class="secno">6.5.1.5 </span>Manually releasing the storage mutex</a></li></ol></li><li><a href="system-state-and-capabilities.html#the-external-interface"><span class="secno">6.5.2 </span>The <code>External</code> interface</a></li></ol></li></ol></li></ol></div>
 
   <h3 id="system-state-and-capabilities"><span class="secno">6.5 </span>System state and capabilities</h3>
 
@@ -361,7 +358,12 @@
 <a href="#navigator">Navigator</a> implements <a href="#navigatorcontentutils">NavigatorContentUtils</a>;
 <a href="#navigator">Navigator</a> implements <a href="#navigatorstorageutils">NavigatorStorageUtils</a>;</pre>
 
-
+<!-- v2:
+  cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
+  readonly attribute <span>MimeTypeArray</span> <span title="dom-navigator-mimeTypes">mimeTypes</span>;
+  readonly attribute <span>PluginArray</span> <span title="dom-navigator-plugins">plugins</span>;
+  (the latter is used in a <video> element demo now, so we might need to pull this forward from v2!)
+-->
 
   <div class="impl">
 
@@ -369,7 +371,13 @@
   specifications can re-use parts of the <code><a href="#navigator">Navigator</a></code>
   interface.</p>
 
-   
+   <!-- v2: also, could expose languages:
+   <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
+   <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
+   <dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
+   <dt><dfn title="dom-navigator-language"><code>language</code></dfn></dt> <!- - Opera, Safari, and Mozilla only - ->
+   <dd><p>Must return either null or a language tag representing the user's preferred language.</p></dd>
+   -->
 
   </div>
 
@@ -377,7 +385,8 @@
   <h5 id="client-identification"><span class="secno">6.5.1.1 </span>Client identification</h5>
 
   <pre class="idl">[NoInterfaceObject]
-interface <dfn id="navigatorid">NavigatorID</dfn> {
+interface <dfn id="navigatorid">NavigatorID</dfn> {<!--
+  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
   readonly attribute DOMString <a href="#dom-navigator-appname" title="dom-navigator-appName">appName</a>;
   readonly attribute DOMString <a href="#dom-navigator-appversion" title="dom-navigator-appVersion">appVersion</a>;
   readonly attribute DOMString <a href="#dom-navigator-platform" title="dom-navigator-platform">platform</a>;
@@ -418,33 +427,36 @@
 
   </dl><div class="impl">
 
-  <dl><dt><dfn id="dom-navigator-appname" title="dom-navigator-appName"><code>appName</code></dfn></dt>
+  <dl><!-- redundant
+   <dt><dfn title="dom-navigator-appCodeName"><code>appCodeName</code></dfn></dt>
+   <dd><p>Must return the string "<code title="">Mozilla</code>".</p></dd>
+   --><!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) --><dt><dfn id="dom-navigator-appname" title="dom-navigator-appName"><code>appName</code></dfn></dt>
    <dd><p>Must return either the string "<code title="">Netscape</code>" or the full name of the browser, e.g. "<code title="">Mellblom Browsernator</code>".</p></dd>
 
    <dt><dfn id="dom-navigator-appversion" title="dom-navigator-appVersion"><code>appVersion</code></dfn></dt>
    <dd><p>Must return either the string "<code title="">4.0</code>" or a string representing the version of the browser in detail, e.g. "<code title="">1.0 (VMS; en-US) Mellblomenator/9000</code>".</p></dd>
 
-   
+   <!-- buildID: Mozilla only -->
 
-   
+   <!-- oscpu: Mozilla only -->
 
    <dt><dfn id="dom-navigator-platform" title="dom-navigator-platform"><code>platform</code></dfn></dt>
    <dd><p>Must return either the empty string or a string representing the platform on which the browser is executing, e.g. "<code title="">MacIntel</code>", "<code title="">Win32</code>", "<code title="">FreeBSD i386</code>", "<code title="">WebTV OS</code>".</p></dd>
 
-   
+   <!-- product: Mozilla and Safari only; always returns "Gecko" -->
 
-   
+   <!-- productSub: Mozilla and Safari only; returns same as buildID in Mozilla, and returns the fixed string "20030107" in Safari -->
 
-   
+   <!-- securityPolicy: Mozilla only; always returns "" -->
 
-   
+   <!-- taintEnabled(): Opera, IE and Mozilla have this function as one that always returns false -->
 
    <dt><dfn id="dom-navigator-useragent" title="dom-navigator-userAgent"><code>userAgent</code></dfn></dt>
    <dd><p>Must return the string used for the value of the "<code title="">User-Agent</code>" header in HTTP requests, or the empty string if no such header is ever sent.</p></dd>
 
-   
+   <!-- vendor: Mozilla and Safari only; always returns "" in Mozilla, and returns the fixed string "Apple Computer, Inc." in Safari -->
 
-   
+   <!-- vendorSub: Mozilla and Safari only; always returns "" -->
 
   </dl><p class="warning">Any information in this API that varies from user
   to user can be used to profile the user. In fact, if enough such
@@ -543,7 +555,7 @@
     method is invoked with a scheme that is neither a
     <a href="#whitelisted-scheme">whitelisted scheme</a> nor a scheme whose value starts
     with the substring "<code title="">web+</code>" and otherwise
-    contains only characters in the range <a href="common-microsyntaxes.html#lowercase-ascii-letters">lowercase ASCII letters</a>, the user agent must throw a
+    contains only characters in the range <a href="#lowercase-ascii-letters">lowercase ASCII letters</a>, the user agent must throw a
     <code><a href="infrastructure.html#securityerror">SecurityError</a></code> exception.</p>
 
     <p>The following schemes are the <dfn id="whitelisted-scheme" title="whitelisted
@@ -597,17 +609,17 @@
     <p>The following <a href="infrastructure.html#mime-type" title="MIME type">MIME types</a> are in
     the <dfn id="type-blacklist">type blacklist</dfn>:</p>
 
-    <ul class="brief"><li><code><a href="iana.html#application-x-www-form-urlencoded">application/x-www-form-urlencoded</a></code></li>
-     <li><code><a href="iana.html#application-xhtml-xml">application/xhtml+xml</a></code></li>
+    <ul class="brief"><li><code><a href="iana.html#application/x-www-form-urlencoded">application/x-www-form-urlencoded</a></code></li>
+     <li><code><a href="iana.html#application/xhtml+xml">application/xhtml+xml</a></code></li>
      <li><code>application/xml</code></li>
      <li><code>image/gif</code></li>
      <li><code>image/jpeg</code></li>
      <li><code>image/png</code></li>
      <li><code>image/svg+xml</code></li>
-     <li><code><a href="iana.html#multipart-x-mixed-replace">multipart/x-mixed-replace</a></code></li>
-     <li><code><a href="iana.html#text-cache-manifest">text/cache-manifest</a></code></li>
+     <li><code><a href="iana.html#multipart/x-mixed-replace">multipart/x-mixed-replace</a></code></li>
+     <li><code><a href="iana.html#text/cache-manifest">text/cache-manifest</a></code></li>
      <li><code>text/css</code></li>
-     <li><code><a href="iana.html#text-html">text/html</a></code></li>
+     <li><code><a href="iana.html#text/html">text/html</a></code></li>
      <li><code>text/ping</code></li>
      <li><code>text/plain</code></li>
      <li><code>text/xml</code></li>
@@ -629,10 +641,10 @@
     <p>User agents must throw a <code><a href="infrastructure.html#syntaxerror">SyntaxError</a></code> exception if
     the <var title="">url</var> argument passed to one of these
     methods does not contain the exact literal string
-    "<code>%s</code>".</p>
+    "<code><a href="the-s-element.html#the-s-element">%s</a></code>".</p>
 
     <p>User agents must throw a <code><a href="infrastructure.html#syntaxerror">SyntaxError</a></code> if <a href="urls.html#resolve-a-url" title="resolve a url">resolving</a> the <var title="">url</var>
-    argument relative to the <a href="browsers.html#entry-script">entry script</a>'s <a href="webappapis.html#script-s-base-url" title="script's base URL">base URL</a>, is not successful.</p>
+    argument relative to the <a href="browsers.html#entry-script">entry script</a>'s <a href="webappapis.html#script's-base-url" title="script's base URL">base URL</a>, is not successful.</p>
 
     <p class="note">The resulting <a href="urls.html#absolute-url">absolute URL</a> would by
     definition not be a <a href="urls.html#valid-url">valid URL</a> as it would include the
@@ -640,8 +652,8 @@
     in a URL.</p>
 
     <p>User agents must throw a <code><a href="infrastructure.html#securityerror">SecurityError</a></code> exception if
-    the resulting <a href="urls.html#absolute-url">absolute URL</a> has an <a href="origin-0.html#origin">origin</a>
-    that differs from the <a href="origin-0.html#origin">origin</a> of the <a href="browsers.html#entry-script">entry
+    the resulting <a href="urls.html#absolute-url">absolute URL</a> has an <a href="browsers.html#origin-0">origin</a>
+    that differs from the <a href="browsers.html#origin-0">origin</a> of the <a href="browsers.html#entry-script">entry
     script</a>.</p>
 
     <p class="note">This is forcibly the case if the <code title="">%s</code> placeholder is in the scheme, host, or port
@@ -655,10 +667,11 @@
     first occurrence of the exact literal string "<code title="">%s</code>" in the <var title="">url</var> argument with
     an escaped version of the <a href="urls.html#absolute-url">absolute URL</a> of the content
     in question (as defined below), then <a href="urls.html#resolve-a-url" title="resolve a
-    url">resolve</a> the resulting URL, relative to the <a href="webappapis.html#script-s-base-url" title="script's base URL">base URL</a> of the <a href="browsers.html#entry-script">entry
+    url">resolve</a> the resulting URL, relative to the <a href="webappapis.html#script's-base-url" title="script's base URL">base URL</a> of the <a href="browsers.html#entry-script">entry
     script</a> at the time the <code title="dom-navigator-registerContentHandler"><a href="#dom-navigator-registercontenthandler">registerContentHandler()</a></code>
     or <code title="dom-navigator-registerProtocolHandler"><a href="#dom-navigator-registerprotocolhandler">registerProtocolHandler()</a></code>
-    methods were invoked, and then <a href="history.html#navigate">navigate</a> an appropriate <a href="browsers.html#browsing-context">browsing context</a> to the
+    methods were invoked, and then <a href="history.html#navigate">navigate</a><!--DONAV
+    user--> an appropriate <a href="browsers.html#browsing-context">browsing context</a> to the
     resulting URL using the GET method (<a href="urls.html#concept-http-equivalent-get" title="concept-http-equivalent-get">or equivalent</a> for
     non-HTTP URLs).</p>
 
@@ -890,14 +903,14 @@
    handler.</p></li>
 
    <li><p><a href="urls.html#resolve-a-url" title="resolve a URL">Resolve</a> the string
-   relative to the <a href="webappapis.html#script-s-base-url" title="script's base URL">base URL</a> of
+   relative to the <a href="webappapis.html#script's-base-url" title="script's base URL">base URL</a> of
    the <a href="browsers.html#entry-script">entry script</a>.</p></li>
 
    <li><p>If this fails, then throw a <code><a href="infrastructure.html#syntaxerror">SyntaxError</a></code>
    exception, aborting the method.</p></li>
 
    <li><p>If the resoluting <a href="urls.html#absolute-url">absolute URL</a>'s
-   <a href="origin-0.html#origin">origin</a> is not the <a href="origin-0.html#same-origin">same origin</a> as that of
+   <a href="browsers.html#origin-0">origin</a> is not the <a href="browsers.html#same-origin">same origin</a> as that of
    the <a href="browsers.html#entry-script">entry script</a> throw a <a href="infrastructure.html#securityerror">SecurityError</a>
    exception, aborting the method.</p></li>
 
@@ -908,7 +921,7 @@
 
 
 
-
+<!--ADD-TOPIC:Security-->
   <div class="impl">
 
   <h5 id="security-and-privacy"><span class="secno">6.5.1.3 </span>Security and privacy</h5>
@@ -992,7 +1005,7 @@
   decision many users are unable to make or even understand).</p>
 
   </div>
-
+<!--REMOVE-TOPIC:Security-->
 
 
   <div class="impl">
@@ -1000,14 +1013,13 @@
   <h5 id="sample-handler-impl"><span class="secno">6.5.1.4 </span>Sample user interface</h5>
 
   <p><i>This section is non-normative.</i></p>
-
   <p>A simple implementation of this feature for a desktop Web browser
   might work as follows.</p>
 
   <p>The <code title="dom-navigator-registerContentHandler"><a href="#dom-navigator-registercontenthandler">registerContentHandler()</a></code>
   method could display a modal dialog box:</p>
 
-  <p><img alt="The modal dialog box could have the title 'Content Handler Registration', and could say 'This Web page: Kittens at work http://kittens.example.org/ ...would like permission to handle files of type: application/x-meowmeow using the following Web-based application: Kittens-at-work displayer http://kittens.example.org/?show=%s Do you trust the administrators of the &quot;kittens.example.org&quot; domain?' with two buttons, 'Trust kittens.example.org' and 'Cancel'." height="374" src="http://dev.w3.org/html5/spec/images/sample-content-handler-registration.png" width="534"></p>
+  <p><img alt="The modal dialog box could have the title 'Content Handler Registration', and could say 'This Web page: Kittens at work http://kittens.example.org/ ...would like permission to handle files of type: application/x-meowmeow using the following Web-based application: Kittens-at-work displayer http://kittens.example.org/?show=%s Do you trust the administrators of the &quot;kittens.example.org&quot; domain?' with two buttons, 'Trust kittens.example.org' and 'Cancel'." height="374" src="images/sample-content-handler-registration.png" width="534"></p>
 
   <p>In this dialog box, "Kittens at work" is the title of the page
   that invoked the method, "http://kittens.example.org/" is the URL of
@@ -1025,7 +1037,7 @@
   "application/x-meowmeow" <a href="infrastructure.html#mime-type">MIME type</a>, then it might
   display a dialog as follows:</p>
 
-  <p><img alt="The dialog box could have the title 'Unknown File Type' and could say 'You have attempted to access:' followed by a URL, followed by a prompt such as 'How would you like FerretBrowser to handle this resource?' with three radio buttons, one saying 'Contact the FerretBrowser plugin registry to see if there is an official way to handle this resource.', one saying 'Pass this URL to a local application' with an application selector, and one saying 'Pass this URL to the &quot;Kittens-at-work displayer&quot; application at &quot;kittens.example.org&quot;', with a checkbox labeled 'Always do this for resources using the &quot;application/x-meowmeow&quot; type in future.', and with two buttons, 'Ok' and 'Cancel'." height="428" src="http://dev.w3.org/html5/spec/images/sample-content-handler.png" width="577"></p>
+  <p><img alt="The dialog box could have the title 'Unknown File Type' and could say 'You have attempted to access:' followed by a URL, followed by a prompt such as 'How would you like FerretBrowser to handle this resource?' with three radio buttons, one saying 'Contact the FerretBrowser plugin registry to see if there is an official way to handle this resource.', one saying 'Pass this URL to a local application' with an application selector, and one saying 'Pass this URL to the &quot;Kittens-at-work displayer&quot; application at &quot;kittens.example.org&quot;', with a checkbox labeled 'Always do this for resources using the &quot;application/x-meowmeow&quot; type in future.', and with two buttons, 'Ok' and 'Cancel'." height="428" src="images/sample-content-handler.png" width="577"></p>
 
   <p>In this dialog, the third option is the one that was primed by
   the site registering itself earlier.</p>
@@ -1058,10 +1070,8 @@
     <code title="dom-localStorage">localStorage</code> API, the
     browser will block other scripts from accessing cookies or storage
     until the first script finishes.
-    
-    <a href="references.html#refsWEBSTORAGE">[WEBSTORAGE]</a>
-    
-    </p>
+        <a href="references.html#refsWEBSTORAGE">[WEBSTORAGE]</a>
+        </p>
 
     <p>Calling the <code title="dom-navigator-yieldForStorageUpdates"><a href="#dom-navigator-yieldforstorageupdates">navigator.yieldForStorageUpdates()</a></code>
     method tells the user agent to unblock any other scripts that may
@@ -1070,10 +1080,8 @@
     <p>Values of cookies and items in the <code>Storage</code> objects
     of <code title="dom-localStorage">localStorage</code> attributes
     can change after calling this method, whence its name.
-    
-    <a href="references.html#refsWEBSTORAGE">[WEBSTORAGE]</a>
-    
-    </p>
+        <a href="references.html#refsWEBSTORAGE">[WEBSTORAGE]</a>
+        </p>
 
    </dd>
 
@@ -1148,7 +1156,7 @@
 
     <li><p><a href="urls.html#resolve-a-url" title="resolve a url">Resolve</a> the value of the
     method's first argument relative to the <a href="browsers.html#entry-script">entry
-    script</a>'s <a href="webappapis.html#script-s-base-url" title="script's base URL">base
+    script</a>'s <a href="webappapis.html#script's-base-url" title="script's base URL">base
     URL</a>.</p></li>
 
     <li><p>If this fails, abort these steps.</p></li>
@@ -1165,15 +1173,15 @@
     particular arguments for security, privacy, or usability
     reasons.</p></li>
 
-    <li><p>If the <a href="origin-0.html#origin">origin</a> of the <a href="browsers.html#entry-script">entry script</a>
+    <li><p>If the <a href="browsers.html#origin-0">origin</a> of the <a href="browsers.html#entry-script">entry script</a>
     is an opaque identifier (i.e. it has no host component), then
     return 0 and abort these steps.</p></li>
 
     <li><p>Let <var title="">host1</var> be the host component of the
-    <a href="origin-0.html#origin">origin</a> of the <a href="browsers.html#entry-script">entry script</a>.</p></li>
+    <a href="browsers.html#origin-0">origin</a> of the <a href="browsers.html#entry-script">entry script</a>.</p></li>
 
     <li><p><a href="urls.html#resolve-a-url" title="resolve a url">Resolve</a> the <var title="">scriptURL</var> argument relative to the <a href="browsers.html#entry-script">entry
-    script</a>'s <a href="webappapis.html#script-s-base-url" title="script's base URL">base
+    script</a>'s <a href="webappapis.html#script's-base-url" title="script's base URL">base
     URL</a>.</p></li>
 
     <li><p>If this fails, return 0 and abort these steps.</p></li>
@@ -1219,7 +1227,7 @@
     <li><p>Return 1.</p></li>
 
    </ol></div>
-
+<!--TOPIC:HTML-->
 
 
 

--- origin-0.html DELETED ---

Index: media-elements.html
===================================================================
RCS file: /sources/public/html5/spec/media-elements.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- media-elements.html	26 Jun 2012 20:46:47 -0000	1.158
+++ media-elements.html	22 Aug 2012 10:52:43 -0000	1.159
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en-US-x-Hixie"><head><title>4.8.10 Media elements &#8212; HTML5</title><link rel="stylesheet" href="alert.css"><style type="text/css">
+<html lang="en-US-x-Hixie"><head><title>4.8.10 Media elements &#8212; HTML5</title><style type="text/css">
    pre { margin-left: 2em; white-space: pre-wrap; }
    h2 { margin: 3em 0 1em 0; }
    h3 { margin: 2.5em 0 1em 0; }
@@ -193,7 +193,7 @@
    fieldset > :last-child { margin-bottom: 0; }
    fieldset p { margin: 0.5em 0; }
 
-  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><meta content="noindex" name="robots"><style type="text/css">
+  </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><style type="text/css">
 
    .applies thead th > * { display: block; }
    .applies thead code { display: block; }
@@ -298,7 +298,7 @@
      src: url('http://www.whatwg.org/specs/web-apps/current-work/fonts/Essays1743-BoldItalic.ttf');
    }
 
-  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script type="text/javascript">
+  </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><script>
    function getCookie(name) {
      var params = location.search.substr(1).split("&");
      for (var index = 0; index < params.length; index++) {
@@ -316,30 +316,27 @@
      }
      return null;
    }
-  </script>
-  <script src="link-fixup.js"></script>
-  <link href="the-track-element.html" title="4.8.9 The track element" rel="prev">
-  <link href="index.html#contents" title="Table of contents" rel="contents">
+  </script><link href="the-track-element.html" title="4.8.9 The track element" rel="prev">
+  <link href="Overview.html#contents" title="Table of contents" rel="contents">
   <link href="the-canvas-element.html" title="4.8.11 The canvas element" rel="next">
   </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2><p>This is revision 1.5697.</p>
-
-   <h2 class="no-num no-toc" id="editor-s-draft-26-june-2012">Editor's Draft 26 June 2012</h2>
+   <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
+   <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 22 August 2012</h2>
    </div>
 
-  <nav class="prev_next">
+  <div class="prev_next">
    <a href="the-track-element.html">&#8592; 4.8.9 The track element</a> &#8211;
-   <a href="index.html#contents">Table of contents</a> &#8211;
+   <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="the-canvas-element.html">4.8.11 The canvas element &#8594;</a>
   <ol class="toc"><li><ol><li><ol><li><a href="media-elements.html#media-elements"><span class="secno">4.8.10 </span>Media elements</a>
       <ol><li><a href="media-elements.html#error-codes"><span class="secno">4.8.10.1 </span>Error codes</a></li><li><a href="media-elements.html#location-of-the-media-resource"><span class="secno">4.8.10.2 </span>Location of the media resource</a></li><li><a href="media-elements.html#mime-types"><span class="secno">4.8.10.3 </span>MIME types</a></li><li><a href="media-elements.html#network-states"><span class="secno">4.8.10.4 </span>Network states</a></li><li><a href="media-elements.html#loading-the-media-resource"><span class="secno">4.8.10.5 </span>Loading the media resource</a></li><li><a href="media-elements.html#offsets-into-the-media-resource"><span class="secno">4.8.10.6 </span>Offsets into the media resource</a></li><li><a href="media-elements.html#ready-states"><span class="secno">4.8.10.7 </span>Ready states</a></li><li><a href="media-elements.html#playing-the-media-resource"><span class="secno">4.8.10.8 </span>Playing the media resource</a></li><li><a href="media-elements.html#seeking"><span class="secno">4.8.10.9 </span>Seeking</a></li><li><a href="media-elements.html#media-resources-with-multiple-media-tracks"><span class="secno">4.8.10.10 </span>Media resources with multiple media tracks</a>
         <ol><li><a href="media-elements.html#audiotracklist-and-videotracklist-objects"><span class="secno">4.8.10.10.1 </span><code>AudioTrackList</code> and <code>VideoTrackList</code> objects</a></li><li><a href="media-elements.html#selecting-specific-audio-and-video-tracks-declaratively"><span class="secno">4.8.10.10.2 </span>Selecting specific audio and video tracks declaratively</a></li></ol></li><li><a href="media-elements.html#synchronising-multiple-media-elements"><span class="secno">4.8.10.11 </span>Synchronising multiple media elements</a>
         <ol><li><a href="media-elements.html#introduction-0"><span class="secno">4.8.10.11.1 </span>Introduction</a></li><li><a href="media-elements.html#media-controllers"><span class="secno">4.8.10.11.2 </span>Media controllers</a></li><li><a href="media-elements.html#assigning-a-media-controller-declaratively"><span class="secno">4.8.10.11.3 </span>Assigning a media controller declaratively</a></li></ol></li><li><a href="media-elements.html#timed-text-tracks"><span class="secno">4.8.10.12 </span>Timed text tracks</a>
         <ol><li><a href="media-elements.html#text-track-model"><span class="secno">4.8.10.12.1 </span>Text track model</a></li><li><a href="media-elements.html#sourcing-in-band-text-tracks"><span class="secno">4.8.10.12.2 </span>Sourcing in-band text tracks</a></li><li><a href="media-elements.html#sourcing-out-of-band-text-tracks"><span class="secno">4.8.10.12.3 </span>Sourcing out-of-band text tracks</a></li><li><a href="media-elements.html#guidelines-for-exposing-cues-in-various-formats-as-text-track-cues"><span class="secno">4.8.10.12.4 </span>Guidelines for exposing cues in various formats as
-  text track cues</a></li><li><a href="media-elements.html#text-track-api"><span class="secno">4.8.10.12.5 </span>Text track API</a></li><li><a href="media-elements.html#text-tracks-describing-chapters"><span class="secno">4.8.10.12.6 </span>Text tracks describing chapters</a></li><li><a href="media-elements.html#cue-events"><span class="secno">4.8.10.12.7 </span>Event definitions</a></li></ol></li><li><a href="media-elements.html#user-interface"><span class="secno">4.8.10.13 </span>User interface</a></li><li><a href="media-elements.html#time-ranges"><span class="secno">4.8.10.14 </span>Time ranges</a></li><li><a href="media-elements.html#event-definitions"><span class="secno">4.8.10.15 </span>Event definitions</a></li><li><a href="media-elements.html#mediaevents"><span class="secno">4.8.10.16 </span>Event summary</a></li><li><a href="media-elements.html#security-and-privacy-considerations"><span class="secno">4.8.10.17 </span>Security and privacy considerations</a></li><li><a href="media-elements.html#best-practices-for-authors-using-media-elements"><span class="secno">4.8.10.18 </span>Best practices for authors using media elements</a></li><li><a href="media-elements.html#best-practices-for-implementors-of-media-elements"><span class="secno">4.8.10.19 </span>Best practices for implementors of media elements</a></li></ol></li></ol></li></ol></li></ol></nav>
+  <span title="text track cue">text track cues</span></a></li><li><a href="media-elements.html#text-track-api"><span class="secno">4.8.10.12.5 </span>Text track API</a></li><li><a href="media-elements.html#text-tracks-describing-chapters"><span class="secno">4.8.10.12.6 </span>Text tracks describing chapters</a></li><li><a href="media-elements.html#cue-events"><span class="secno">4.8.10.12.7 </span>Event definitions</a></li></ol></li><li><a href="media-elements.html#user-interface"><span class="secno">4.8.10.13 </span>User interface</a></li><li><a href="media-elements.html#time-ranges"><span class="secno">4.8.10.14 </span>Time ranges</a></li><li><a href="media-elements.html#event-definitions"><span class="secno">4.8.10.15 </span>Event definitions</a></li><li><a href="media-elements.html#mediaevents"><span class="secno">4.8.10.16 </span>Event summary</a></li><li><a href="media-elements.html#security-and-privacy-considerations"><span class="secno">4.8.10.17 </span>Security and privacy considerations</a></li><li><a href="media-elements.html#best-practices-for-authors-using-media-elements"><span class="secno">4.8.10.18 </span>Best practices for authors using media elements</a></li><li><a href="media-elements.html#best-practices-for-implementors-of-media-elements"><span class="secno">4.8.10.19 </span>Best practices for implementors of media elements</a></li></ol></li></ol></li></ol></li></ol></div>
 
   <h4 id="media-elements"><span class="secno">4.8.10 </span>Media elements</h4>
 
@@ -362,7 +359,9 @@
   const unsigned short <a href="#dom-media-network_no_source" title="dom-media-NETWORK_NO_SOURCE">NETWORK_NO_SOURCE</a> = 3;
   readonly attribute unsigned short <a href="#dom-media-networkstate" title="dom-media-networkState">networkState</a>;
            attribute DOMString <a href="#dom-media-preload" title="dom-media-preload">preload</a>;
-  readonly attribute <a href="#timeranges">TimeRanges</a> <a href="#dom-media-buffered" title="dom-media-buffered">buffered</a>;
+<!--v3BUF  readonly attribute double <span title="dom-media-bufferingRate">bufferingRate</span>;
+  readonly attribute boolean <span title="dom-media-bufferingThrottled">bufferingThrottled</span>;
+-->  readonly attribute <a href="#timeranges">TimeRanges</a> <a href="#dom-media-buffered" title="dom-media-buffered">buffered</a>;
   void <a href="#dom-media-load" title="dom-media-load">load</a>();
   DOMString <a href="#dom-navigator-canplaytype" title="dom-navigator-canPlayType">canPlayType</a>(DOMString type);
 
@@ -413,9 +412,39 @@
   <code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code>, apply to all <a href="#media-element" title="media element">media elements</a>. They are defined in
   this section.</p>
 
-  
+  <!-- proposed v2 (actually v3!) features:
+    * frame forward / backwards / step(n) while paused
+    * per-frame control: get current frame; set current frame
+    * queue of content
+      - pause current stream and insert content at front of queue to play immediately
+      - pre-download another stream
+      - add stream(s) to play at end of current stream
+      - pause playback upon reaching a certain time
+      - playlists, with the ability to get metadata out of them (e.g. xspf)
+    * general meta data, implemented as getters (don't expose the whole thing)
+      - getMetadata(key: string, language: string) => HTMLImageElement or string
+      - onmetadatachanged (no context info)
+      - general custom metadata store (ratings, etc.)
+    * video: applying CSS filters
+    * an event to notify people of when the video size changes
+      (e.g. for chained Ogg streams of multiple independent videos)
+      (or for when the current video track changes)
+    * balance and 3D position audio
+    * audio filters
+    * audio synthesis (see <audio> section for use cases)
+    * feedback to the script on how well the video is playing
+       - frames per second?
+       - skipped frames per second?
+       - an event that reports playback difficulties?
+       - an arbitrary quality metric?
+    * bufferingRate/bufferingThrottled (see v3BUF)
+    * events for when the user agent's controls get shown or hidden
+      so that the author's controls can get away of the UA's
+  -->
 
-  
+  <!-- v2 features that already have experimental implementations:
+    * webkitPreservesPitch (for when playbackRate != 1.0)
+  -->
 
   <p><a href="#media-element" title="media element">Media elements</a> are used to
   present audio data, or video and audio data, to the user. This is
@@ -532,6 +561,7 @@
   attribute, if present, must contain a <a href="urls.html#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty
   URL potentially surrounded by spaces</a>.</p>
 
+<!--MD-->
 
   <p>The <dfn id="attr-media-crossorigin" title="attr-media-crossorigin"><code>crossorigin</code></dfn>
   content attribute on <a href="#media-element" title="media element">media
@@ -611,16 +641,22 @@
   resource</a>.</p>
 
   <p class="note">
+  <!--FORK-->
   "<code>application/octet-stream</code>"
+  <!--FORK-->
   is special-cased here; if any parameter appears with it, it
+  <!--FORK-->
   should
-  
+  <!--FORK-->
   be treated just like any other <a href="infrastructure.html#mime-type">MIME type</a>.
 
-  This is a deviation from the rule  that unknown <a href="infrastructure.html#mime-type">MIME type</a> parameters
+  This is a deviation from the rule <!-- in RFC 2046, section 1,
+  paragraph 3 --> that unknown <a href="infrastructure.html#mime-type">MIME type</a> parameters
   should be ignored.
 
-  
+  <!-- but not really a "willful violation" since it's not that the
+  types are not being ignored, just that before the type is handled as
+  a type, there's a special case for a particular set of strings -->
 
   </p>
 
@@ -804,13 +840,13 @@
      <li><p>Set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
      <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code>.</p></li>
 
-     <li><p><a href="#forget-the-media-element-s-media-resource-specific-text-tracks">Forget the media element's media-resource-specific
+     <li><p><a href="#forget-the-media-element's-media-resource-specific-text-tracks">Forget the media element's media-resource-specific
      text tracks</a>.</p></li>
 
      <li><p>If <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is
      not set to <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, then set it
      to that state.
-     
+     <!-- this can do the "report the controller state" thing -->
      </p></li>
 
      <li><p>If the <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code>
@@ -880,7 +916,7 @@
   the <a href="webappapis.html#event-loop">event loop</a> algorithm). Steps in such sections are
   marked with &#8987;.</p>
 
-  <ol><li><p>Set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_NO_SOURCE"><a href="#dom-media-network_no_source">NETWORK_NO_SOURCE</a></code>.</p></li>
+  <ol><!-- precondition: networkState == NETWORK_EMPTY at this point --><li><p>Set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_NO_SOURCE"><a href="#dom-media-network_no_source">NETWORK_NO_SOURCE</a></code>.</p></li>
 
    <li><p>Asynchronously <a href="webappapis.html#await-a-stable-state">await a stable state</a>, allowing
    the <a href="webappapis.html#concept-task" title="concept-task">task</a> that invoked this
@@ -929,7 +965,8 @@
      specified by the <code title="attr-media-src"><a href="#attr-media-src">src</a></code>
      attribute's value relative to the <a href="#media-element">media element</a> when
      the <code title="attr-media-src"><a href="#attr-media-src">src</a></code> attribute was last
-     changed.</p> 
+     changed.</p> <!-- i.e. changing xml:base or <base> after src=""
+     has no effect -->
 
      </li><li><p>&#8987; If <var title="">absolute URL</var> was obtained
      successfully, set the <code title="dom-media-currentSrc"><a href="#dom-media-currentsrc">currentSrc</a></code> attribute to <var title="">absolute URL</var>.</p></li>
@@ -954,7 +991,7 @@
        attribute to a new <code><a href="#mediaerror">MediaError</a></code> object whose <code title="dom-MediaError-code"><a href="#dom-mediaerror-code">code</a></code> attribute is set to
        <code title="dom-MediaError-MEDIA_ERR_SRC_NOT_SUPPORTED"><a href="#dom-mediaerror-media_err_src_not_supported">MEDIA_ERR_SRC_NOT_SUPPORTED</a></code>.</p></li>
 
-       <li><p><a href="#forget-the-media-element-s-media-resource-specific-text-tracks">Forget the media element's media-resource-specific
+       <li><p><a href="#forget-the-media-element's-media-resource-specific-text-tracks">Forget the media element's media-resource-specific
        text tracks</a>.</p></li>
 
        <li><p>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
@@ -974,7 +1011,7 @@
      <li><p>Abort these steps. Until the <code title="dom-media-load"><a href="#dom-media-load">load()</a></code> method is invoked or the
      <code title="attr-media-src"><a href="#attr-media-src">src</a></code> attribute is changed, the
      element won't attempt to load another resource.</p></li>
-     
+     <!-- it took its ball and went home, sulking. -->
 
     </ol><p>Otherwise, the <code><a href="the-source-element.html#the-source-element">source</a></code> elements will be used; run
     these substeps:</p>
@@ -1029,7 +1066,8 @@
      <a href="urls.html#absolute-url">absolute URL</a> that would have resulted from <a href="urls.html#resolve-a-url" title="resolve a url">resolving</a> the <a href="urls.html#url">URL</a>
      specified by <var title="">candidate</var>'s <code title="attr-source-src"><a href="the-source-element.html#attr-source-src">src</a></code> attribute's value relative to
      the <var title="">candidate</var> when the <code title="attr-source-src"><a href="the-source-element.html#attr-source-src">src</a></code> attribute was last
-     changed.</p> 
+     changed.</p> <!-- i.e. changing xml:base or <base> after src=""
+     has no effect -->
 
      </li><li><p>&#8987; If <var title="">absolute URL</var> was not
      obtained successfully, then end the <a href="webappapis.html#synchronous-section">synchronous
@@ -1071,7 +1109,7 @@
      <a href="webappapis.html#synchronous-section">synchronous section</a> has ended. (Steps in <a href="webappapis.html#synchronous-section" title="synchronous section">synchronous sections</a> are
      marked with &#8987;.)</p></li>
 
-     <li><p>&#8987; <a href="#forget-the-media-element-s-media-resource-specific-text-tracks">Forget the media element's
+     <li><p>&#8987; <a href="#forget-the-media-element's-media-resource-specific-text-tracks">Forget the media element's
      media-resource-specific text tracks</a>.</p></li>
 
      <li><p>&#8987; <i title="">Find next candidate</i>: Let <var title="">candidate</var> be null.</p></li>
@@ -1163,7 +1201,7 @@
     <var title="">current media resource</var>'s <a href="urls.html#absolute-url">absolute
     URL</a>, with the <i>mode</i> being the state of the
     <a href="#media-element">media element</a>'s <code title="attr-media-crossorigin"><a href="#attr-media-crossorigin">crossorigin</a></code> content
-    attribute, the <i title="">origin</i> being the <a href="origin-0.html#origin">origin</a> of the
+    attribute, the <i title="">origin</i> being the <a href="browsers.html#origin-0">origin</a> of the
     <a href="#media-element">media element</a>'s <code><a href="dom.html#document">Document</a></code>, and the
     <i>default origin behaviour</i> set to <i>taint</i>.</p>
 
@@ -1269,8 +1307,10 @@
       </li></ol></dd>
 
 
-     
-     
+     <!-- insert content sniffing here if we want to define that -->
+     <!-- (in practice I don't think that's necessary since it's not
+     like you can do anything with the resource if you sniff it as the
+     wrong type) -->
 
 
      <dt id="found-another-audio-track">If the <a href="#media-resource">media
@@ -1378,7 +1418,7 @@
         of setting the <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute to a
         new value.</p>
 
-        
+        <!-- this can also do the "report the controller state" thing -->
 
        </li>
 
@@ -1428,8 +1468,16 @@
        <a href="#dom-media-seek" title="dom-media-seek">seek</a> the <a href="#media-element">media
        element</a> to the <a href="#media-controller-position">media controller position</a>,
        relative to the <a href="#media-element">media element</a>'s timeline.</p></li>
-        
-       
+       <!-- i.e. "bring the media element up to speed with its new
+       media controller" --> <!-- we do this because otherwise the
+       fragment identifier initial position is lost. Basically this
+       means that if you are attached to a media controller when you
+       load your resource, and you have a fragment identifier with a
+       start time, you'll jump the media controller to that time if
+       it's not already past it. (So if there are several, you'll jump
+       the media controller to the furthest one in the timeline.) -->
+       <!-- note that this can also trigger "report the controller
+       state" since it can change the element's readyState -->
 
       </ol><p>Once the <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute
       reaches <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>,
@@ -1448,7 +1496,8 @@
 
       <p class="note">The user agent is <em>required</em> to
       determine the duration of the <a href="#media-resource">media resource</a> and
-      go through this step before playing.</p> 
+      go through this step before playing.</p> <!-- actually defined
+      in the 'duration' section -->
 
      </dd>
 
@@ -1471,7 +1520,8 @@
 
       <p class="note">If the user agent can keep the <a href="#media-resource">media
       resource</a> loaded, then the algorithm will continue to its
-      final step below, which aborts the algorithm.</p>
+      final step below, which aborts the algorithm.</p><!-- see FINAL
+      STEP below -->
 
      </dd>
 
@@ -1604,7 +1654,7 @@
       be optimally rendered must cause the user agent to render just
       the bits it can handle, and ignore the rest.</p>
 
-      
+      <!-- v2: fire a 'warning' event and set the 'error' flag to 'MEDIA_ERR_SUBOPTIMAL' or something -->
 
      </dd>
 
@@ -1651,7 +1701,7 @@
 
    </li>
 
-   
+   <!-- this step is mentioned above, search for "FINAL STEP" -->
    <li><p>If the user agent ever reaches this step (which can only
    happen if the entire resource gets loaded and kept available):
    abort the overall <a href="#concept-media-load-algorithm" title="concept-media-load-algorithm">resource selection
@@ -1714,7 +1764,22 @@
   the hint given by the <code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code> attribute). Including
   both is not an error, however.</p>
 
-  <hr><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code></dt>
+  <hr><!--v3BUF (when readding this, also add a domintro block)
+  <p>The <dfn
+  title="dom-media-bufferingRate"><code>bufferingRate</code></dfn>
+  attribute must return the average number of bits received per second
+  for the current download over the past few seconds. If there is no
+  download in progress, the attribute must return 0.</p>
+
+  <p>The <dfn
+  title="dom-media-bufferingThrottled"><code>bufferingThrottled</code></dfn>
+  attribute must return true if the user agent is intentionally
+  throttling the bandwidth used by the download (including when
+  throttling to zero to pause the download altogether), and false
+  otherwise.</p>
+
+  <hr>
+--><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code></dt>
 
    <dd>
 
@@ -1968,8 +2033,9 @@
   known</a>, the <a href="#current-playback-position">current playback position</a> can never be
   less than the <a href="#earliest-possible-position">earliest possible position</a>.</p>
 
-  
-  
+  <!-- see https://www.w3.org/Bugs/Public/show_bug.cgi?id=14492 -->
+  <!-- basically this is to handle very-long-running streams that use
+       different video and audio tracks per TV show -->
   <p>If at any time the user agent learns that an audio or video track
   has ended and all <a href="#media-data">media data</a> relating to that track
   corresponds to parts of the <a href="#media-timeline">media timeline</a> that are
@@ -2171,7 +2237,7 @@
     list:</p>
 
 
-    <dl class="switch"><dt>If the previous ready state was <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, and the new
+    <dl class="switch"><!-- going up to metadata --><dt>If the previous ready state was <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, and the new
      ready state is <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code></dt>
 
      <dd id="fire-loadedmetadata">
@@ -2186,7 +2252,7 @@
 
      </dd>
 
-     
+     <!-- going up to current for the first time -->
 
      <dt id="handling-first-frame-available">If the previous ready state
      was <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code> and
@@ -2206,7 +2272,7 @@
 
      </dd>
 
-     
+     <!-- going down -->
      <dt>If the previous ready state was <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code> or more,
      and the new ready state is <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or
      less</dt>
@@ -2227,7 +2293,7 @@
 
      </dd>
 
-     
+     <!-- going up to future -->
      <dt>If the previous ready state was <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or
      less, and the new ready state is <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code></dt>
 
@@ -2242,7 +2308,7 @@
 
      </dd>
 
-     
+     <!-- going up to enough -->
      <dt>If the new ready state is <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code></dt>
 
      <dd>
@@ -2257,8 +2323,8 @@
       <p>If the <a href="#autoplaying-flag">autoplaying flag</a> is true, and the <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> attribute is true, and
       the <a href="#media-element">media element</a> has an <code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code> attribute specified,
       and the <a href="#media-element">media element</a>'s <code><a href="dom.html#document">Document</a></code>'s
-      <a href="origin-0.html#active-sandboxing-flag-set">active sandboxing flag set</a> does not have the
-      <a href="origin-0.html#sandboxed-automatic-features-browsing-context-flag">sandboxed automatic features browsing context flag</a>
+      <a href="browsers.html#active-sandboxing-flag-set">active sandboxing flag set</a> does not have the
+      <a href="browsers.html#sandboxed-automatic-features-browsing-context-flag">sandboxed automatic features browsing context flag</a>
       set, then the user agent may also set the <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> attribute to false,
       <a href="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple event</a>
       named <code title="event-media-play"><a href="#event-media-play">play</a></code>, and
@@ -2546,7 +2612,12 @@
    and does not have a <a href="#current-media-controller">current media controller</a>,
    then <a href="#dom-media-seek" title="dom-media-seek">seek</a> to the <a href="#earliest-possible-position">earliest
    possible position</a> of the <a href="#media-resource">media resource</a> and
-   abort these steps.<