[html5] r4910 - [e] (0) DOM spec xrefs

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 30 15:47:24 PDT 2010


Author: ianh
Date: 2010-03-30 15:47:22 -0700 (Tue, 30 Mar 2010)
New Revision: 4910

Modified:
   complete.html
   index
   source
Log:
[e] (0) DOM spec xrefs

Modified: complete.html
===================================================================
--- complete.html	2010-03-30 22:23:47 UTC (rev 4909)
+++ complete.html	2010-03-30 22:47:22 UTC (rev 4910)
@@ -521,7 +521,7 @@
          <li><a href=#simple-shapes-(rectangles)><span class=secno>4.8.10.1.7 </span>Simple shapes (rectangles)</a></li>
          <li><a href=#complex-shapes-(paths)><span class=secno>4.8.10.1.8 </span>Complex shapes (paths)</a></li>
          <li><a href=#focus-management-0><span class=secno>4.8.10.1.9 </span>Focus management</a></li>
-         <li><a href=#text><span class=secno>4.8.10.1.10 </span>Text</a></li>
+         <li><a href=#text-0><span class=secno>4.8.10.1.10 </span>Text</a></li>
          <li><a href=#images><span class=secno>4.8.10.1.11 </span>Images</a></li>
          <li><a href=#pixel-manipulation><span class=secno>4.8.10.1.12 </span>Pixel manipulation</a></li>
          <li><a href=#drawing-model><span class=secno>4.8.10.1.13 </span>Drawing model</a></li>
@@ -1072,7 +1072,7 @@
        <li><a href=#optional-tags><span class=secno>12.1.2.4 </span>Optional tags</a></li>
        <li><a href=#element-restrictions><span class=secno>12.1.2.5 </span>Restrictions on content models</a></li>
        <li><a href=#cdata-rcdata-restrictions><span class=secno>12.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</a></ol></li>
-     <li><a href=#text-0><span class=secno>12.1.3 </span>Text</a>
+     <li><a href=#text-1><span class=secno>12.1.3 </span>Text</a>
       <ol>
        <li><a href=#newlines><span class=secno>12.1.3.1 </span>Newlines</a></ol></li>
      <li><a href=#character-references><span class=secno>12.1.4 </span>Character references</a></li>
@@ -2608,26 +2608,25 @@
   <code>Document</code></a>, its <a href=#home-subtree>home subtree</a> is that
   <code><a href=#document>Document</a></code>'s tree.</p>
 
-  <p>The <code><a href=#document>Document</a></code> of a <code>Node</code> (such as an
-  element) is the <code><a href=#document>Document</a></code> that the <code>Node</code>'s
+  <p>The <code><a href=#document>Document</a></code> of a <code><a href=#node>Node</a></code> (such as an
+  element) is the <code><a href=#document>Document</a></code> that the <code><a href=#node>Node</a></code>'s
   <code title="">ownerDocument</code> IDL attribute returns. When a
-  <code>Node</code> is <a href=#in-a-document>in a <code>Document</code></a> then
-  that <code><a href=#document>Document</a></code> is always the <code>Node</code>'s
-  <code><a href=#document>Document</a></code>, and the <code>Node</code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that
+  <code><a href=#node>Node</a></code> is <a href=#in-a-document>in a <code>Document</code></a> then
+  that <code><a href=#document>Document</a></code> is always the <code><a href=#node>Node</a></code>'s
+  <code><a href=#document>Document</a></code>, and the <code><a href=#node>Node</a></code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that
   <code><a href=#document>Document</a></code>.</p>
 
   <p>The term <dfn id=tree-order>tree order</dfn> means a pre-order, depth-first
-  traversal of DOM nodes involved (through the <code title="">parentNode</code>/<code title="">childNodes</code>
-  relationship).</p>
+  traversal of DOM nodes involved (through the <code title=dom-Node-parentNode><a href=#dom-node-parentnode>parentNode</a></code>/<code title=dom-Node-childNodes><a href=#dom-node-childnodes>childNodes</a></code> relationship).</p>
 
   <p>When it is stated that some element or attribute is <dfn id=ignore title=ignore>ignored</dfn>, or treated as some other value, or
   handled as if it was something else, this refers only to the
   processing of the node after it is in the DOM. <span class=impl>A
   user agent must not mutate the DOM in such situations.</span></p>
 
-  <p>The term <dfn id=text-node>text node</dfn> refers to any <code>Text</code>
-  node, including <code>CDATASection</code> nodes; specifically, any
-  <code>Node</code> with node type <code title="">TEXT_NODE</code> (3)
+  <p>The term <dfn id=text-node>text node</dfn> refers to any <code><a href=#text>Text</a></code>
+  node, including <code><a href=#cdatasection>CDATASection</a></code> nodes; specifically, any
+  <code><a href=#node>Node</a></code> with node type <code title="">TEXT_NODE</code> (3)
   or <code title="">CDATA_SECTION_NODE</code> (4). <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   <p>A content attribute is said to <dfn title="">change</dfn> value
@@ -2664,7 +2663,7 @@
   that supports displaying content as part of the user agent's
   rendering of a <code><a href=#document>Document</a></code> object, but that neither acts
   as a <a href=#child-browsing-context>child browsing context</a> of the
-  <code><a href=#document>Document</a></code> nor introduces any <code>Node</code> objects
+  <code><a href=#document>Document</a></code> nor introduces any <code><a href=#node>Node</a></code> objects
   to the <code><a href=#document>Document</a></code>'s DOM.</p>
 
   <p>Typically such content handlers are provided by third parties,
@@ -3062,15 +3061,43 @@
 
     <p>In particular, the following features are defined in the DOM
     Core specification: <a href=#refsDOMCORE>[DOMCORE]</a></p>
-    <ul class=brief><li><dfn id=document><code>Document</code></dfn></li>
-     <li><dfn id=element><code>Element</code></dfn></li>
-     <li><dfn id=nodelist><code>NodeList</code></dfn></li>
-     <li><dfn id=textcontent><code>textContent</code></dfn></li>
-     <li><dfn id=getelementbyid()><code>getElementById()</code></dfn></li>
+
+    <ul class=brief><li><dfn id=attr><code>Attr</code></dfn> interface</li>
+     <li><dfn id=cdatasection><code>CDATASection</code></dfn> interface</li>
+     <li><dfn id=comment-0><code>Comment</code></dfn> interface</li>
+     <li><dfn id=domimplementation><code>DOMImplementation</code></dfn> interface</li>
+     <li><dfn id=document><code>Document</code></dfn> interface</li>
+     <li><dfn id=documentfragment><code>DocumentFragment</code></dfn> interface</li>
+     <li><dfn id=documenttype><code>DocumentType</code></dfn> interface</li>
+     <li><dfn id=domexception><code>DOMException</code></dfn> interface</li>
+     <li><dfn id=element><code>Element</code></dfn> interface</li>
+     <li><dfn id=node><code>Node</code></dfn> interface</li>
+     <li><dfn id=nodelist><code>NodeList</code></dfn> interface</li>
+     <li><dfn id=processinginstruction><code>ProcessingInstruction</code></dfn> interface</li>
+     <li><dfn id=text><code>Text</code></dfn> interface</li>
+
+     <li><dfn id=dom-domimplementation-createdocument title=dom-DOMImplementation-createDocument><code>createDocument()</code></dfn> method</li>
+     <li><dfn id=dom-document-getelementbyid title=dom-Document-getElementById><code>getElementById()</code></dfn> method</li>
+     <li><dfn id=dom-node-insertbefore title=dom-Node-insertBefore><code>insertBefore()</code></dfn> method</li>
+
+     <li><dfn id=dom-node-childnodes title=dom-Node-childNodes><code>childNodes</code></dfn> attribute </li>
+     <li><dfn id=dom-node-localname title=dom-Node-localName><code>localName</code></dfn> attribute </li>
+     <li><dfn id=dom-node-parentnode title=dom-Node-parentNode><code>parentNode</code></dfn> attribute </li>
+     <li><dfn id=dom-element-tagname title=dom-Element-tagName><code>tagName</code></dfn> attribute </li>
+     <li><dfn id=textcontent><code>textContent</code></dfn> attribute </li>
+
     </ul><p>The following features are defined in the DOM Events
     specification: <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
-    <ul class=brief><li><dfn id=event><code>Event</code></dfn></li>
-     <li><dfn id=eventtarget><code>EventTarget</code></dfn></li>
+
+    <ul class=brief><li><dfn id=event><code>Event</code></dfn> interface</li>
+     <li><dfn id=eventtarget><code>EventTarget</code></dfn> interface</li>
+     <li><dfn id=uievent><code>UIEvent</code></dfn> interface</li>
+
+     <li><dfn id=event-click title=event-click><code>click</code></dfn> event</li>
+     <li><dfn id=event-domactivate title=event-DOMActivate><code>DOMActivate</code></dfn> event</li>
+
+     <li><dfn id=dom-event-target title=dom-Event-target><code>target</code></dfn> attribute</li>
+
     </ul></dd>
 
    <dt>Web IDL</dt>
@@ -6217,7 +6244,7 @@
   <ol><li>If the corresponding content attribute is absent, then the
    IDL attribute must return null.</li>
 
-   <li>Let <var title="">candidate</var> be the element that the <code title=getElementById()><a href=#getelementbyid()>document.getElementById()</a></code> method
+   <li>Let <var title="">candidate</var> be the element that the <code title=dom-Document-getElementById><a href=#dom-document-getelementbyid>document.getElementById()</a></code> method
    would find when called on the content attribute's document if it
    was passed as its argument the current value of the corresponding
    content attribute.</li>
@@ -6644,7 +6671,7 @@
   must be appended to the <code><a href=#the-select-element>select</a></code> element on which the
   <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted, where <var title="">n</var> is the difference between the two numbers (new
   value minus old value). Mutation events must be fired as if a
-  <code>DocumentFragment</code> containing the new <code><a href=#the-option-element>option</a></code>
+  <code><a href=#documentfragment>DocumentFragment</a></code> containing the new <code><a href=#the-option-element>option</a></code>
   elements had been inserted.  If the new value is lower, then the
   last <var title="">n</var> nodes in the collection must be removed
   from their parent nodes, where <var title="">n</var> is the
@@ -6705,8 +6732,8 @@
    be the <code><a href=#the-select-element>select</a></code> element on which the
    <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted.</li>
 
-   <li><p>Act as if the DOM Core <code title=dom-insertBefore>insertBefore()</code> method was invoked
-   on the <var title="">parent</var> node, with <var title="">element</var> as the first argument and <var title="">reference</var> as the second argument.</p>
+   <li><p>Act as if the DOM Core <code title=dom-Node-insertBefore><a href=#dom-node-insertbefore>insertBefore()</a></code> method was
+   invoked on the <var title="">parent</var> node, with <var title="">element</var> as the first argument and <var title="">reference</var> as the second argument.</p>
 
   </ol><p>The <dfn id=dom-htmloptionscollection-remove title=dom-HTMLOptionsCollection-remove><code>remove(<var title="">index</var>)</code></dfn> method must act according to
   the following algorithm:</p>
@@ -7260,7 +7287,7 @@
 
   <p>For historical reasons, user agents should return the true value
   when the <dfn id=hasfeature title=hasFeature><code>hasFeature(<var title="">feature</var>, <var title="">version</var>)</code></dfn>
-  method of the <code>DOMImplementation</code> interface is invoked
+  method of the <code><a href=#domimplementation>DOMImplementation</a></code> interface is invoked
   with <var title="">feature</var> set to either "<code title="">HTML</code>" or "<code title="">XHTML</code>" and <var title="">version</var> set to either "<code>1.0</code>" or
   "<code>2.0</code>".</p>
 
@@ -7269,7 +7296,7 @@
 
   <h4 id=exceptions><span class=secno>2.7.8 </span>Exceptions</h4>
 
-  <p>The following are <code>DOMException</code> codes. <a href=#refsDOMCORE>[DOMCORE]</a></p>
+  <p>The following are <code><a href=#domexception>DOMException</a></code> codes. <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   <ol class=brief><li value=1><dfn id=index_size_err><code>INDEX_SIZE_ERR</code></dfn></li>
    <li value=2><dfn id=domstring_size_err><code>DOMSTRING_SIZE_ERR</code></dfn></li>
@@ -7360,7 +7387,7 @@
   <p class=note>Interactive user agents typically expose <a href="#the-document's-current-address">the
   document's current address</a> in their user interface.</p>
 
-  <p>When a <code><a href=#document>Document</a></code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument>createDocument()</code>
+  <p>When a <code><a href=#document>Document</a></code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
   or <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument()</a></code>
   APIs, <a href="#the-document's-address">the document's address</a> is the same as <a href="#the-document's-address">the
   document's address</a> of the <a href="#script's-document">script's document</a>.</p>
@@ -7872,7 +7899,7 @@
    <li>The children of <var title="">element</var> (if any) must all
    be removed.</li>
 
-   <li>A single <code>Text</code> node whose data is the new value
+   <li>A single <code><a href=#text>Text</a></code> node whose data is the new value
    being assigned must be appended to <var title="">element</var>.</li>
 
   </ol><p>The <code title=dom-document-title><a href=#document.title>title</a></code> attribute on
@@ -8187,8 +8214,8 @@
   <h4 id=creating-documents><span class=secno>3.1.5 </span>Creating documents</h4>
 
   <p><a href=#xml-documents>XML documents</a> can be created from script using the
-  <code title=dom-DOMImplementation-createDocument>createDocument()</code>
-  method on the <code>DOMImplementation</code> interface.</p>
+  <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
+  method on the <code><a href=#domimplementation>DOMImplementation</a></code> interface.</p>
 
   <p><a href=#html-documents>HTML documents</a> can be created using the <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument()</a></code>
   method:</p>
@@ -8197,7 +8224,7 @@
 interface <dfn id=domhtmlimplementation>DOMHTMLImplementation</dfn> {
   <a href=#document>Document</a> <a href=#dom-domhtmlimplementation-createhtmldocument title=dom-DOMHTMLImplementation-createHTMLDocument>createHTMLDocument</a>(in DOMString title);
 };
-<span>DOMImplementation</span> implements <a href=#domhtmlimplementation>DOMHTMLImplementation</a>;</pre>
+<a href=#domimplementation>DOMImplementation</a> implements <a href=#domhtmlimplementation>DOMHTMLImplementation</a>;</pre>
 
   <dl class=domintro><dt><var title="">document</var> = <var title="">document</var> . <code title=dom-document-implementation>implementation</code> . <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument</a></code>( <var title="">title</var> )</dt>
    <dd>
@@ -8218,8 +8245,8 @@
    <li><p>Mark <var title="">doc</var> as being an <a href=#html-documents title="HTML
    documents">HTML document</a>.</li>
 
-   <li><p>Create a <code>DocumentType</code> node with the <code title="">name</code> attribute set to the string "<code title="">html</code>", and the other attributes specific to
-   <code>DocumentType</code> objects set to the empty string, null,
+   <li><p>Create a <code><a href=#documenttype>DocumentType</a></code> node with the <code title="">name</code> attribute set to the string "<code title="">html</code>", and the other attributes specific to
+   <code><a href=#documenttype>DocumentType</a></code> objects set to the empty string, null,
    and empty lists, as appropriate. Append the newly created node to
    <var title="">doc</var>.</li>
 
@@ -8231,7 +8258,7 @@
    <li><p>Create a <code><a href=#the-title-element-0>title</a></code> element, and append it to the
    <code><a href=#the-head-element-0>head</a></code> element created in the previous step.</p>
 
-   <li><p>Create a <code>Text</code> node, and set its <code title="">data</code> attribute to the string given by the method's
+   <li><p>Create a <code><a href=#text>Text</a></code> node, and set its <code title="">data</code> attribute to the string given by the method's
    argument (which could be the empty string). Append it to the
    <code><a href=#the-title-element-0>title</a></code> element created in the previous step.</p>
 
@@ -8642,7 +8669,8 @@
   the element with the given value (exactly, including any space
   characters) for the purposes of ID matching within the element's
   <a href=#home-subtree>home subtree</a> (e.g. for selectors in CSS or for the
-  <code><a href=#getelementbyid()>getElementById()</a></code> method in the DOM).</p>
+  <code title=dom-Document-getElementById><a href=#dom-document-getelementbyid>getElementById()</a></code>
+  method in the DOM).</p>
 
   <p>Identifiers are opaque strings. Particular meanings should not be
   derived from the value of the <code title=attr-id><a href=#the-id-attribute>id</a></code>
@@ -9656,8 +9684,8 @@
   </ul><p>Certain elements in HTML have an <a href=#activation-behavior>activation
   behavior</a>, which means that the user can activate them. This
   triggers a sequence of events dependent on the activation mechanism,
-  and normally culminating in a <code title=event-click>click</code>
-  event followed by a <code title=event-DOMActivate>DOMActivate</code> event<span class=impl>, as described below</span>.</p>
+  and normally culminating in a <code title=event-click><a href=#event-click>click</a></code>
+  event followed by a <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code> event<span class=impl>, as described below</span>.</p>
 
   <div class=impl>
 
@@ -9672,7 +9700,7 @@
   <p>When a user agent is to <dfn id=run-synthetic-click-activation-steps>run synthetic click activation
   steps</dfn> on an element, the user agent must <a href=#run-pre-click-activation-steps>run pre-click
   activation steps</a> on the element, then <a href=#fire-a-click-event>fire a <code title=event-click>click</code> event</a> at the element. The
-  default action of this <span title=event-click>click</span> event
+  default action of this <a href=#event-click title=event-click>click</a> event
   must be to <a href=#run-post-click-activation-steps>run post-click activation steps</a> on the
   element. If the event is canceled, the user agent must <a href=#run-canceled-activation-steps>run
   canceled activation steps</a> on the element instead.</p>
@@ -9704,11 +9732,11 @@
 
    <li>
 
-    <p>Dispatch the required <code title=event-click>click</code>
+    <p>Dispatch the required <code title=event-click><a href=#event-click>click</a></code>
     event.</p> <!-- interaction event spec point -->
 
     <p>If there is an element <var title="">e</var>, then the default
-    action of the <span title=event-click>click</span> event must be
+    action of the <a href=#event-click title=event-click>click</a> event must be
     to <a href=#run-post-click-activation-steps>run post-click activation steps</a> on element <var title="">e</var>.</p>
 
     <p>If there is an element <var title="">e</var> but the event is
@@ -9727,7 +9755,7 @@
 
   <p>When a user agent is to <dfn id=run-post-click-activation-steps>run post-click activation
   steps</dfn> on an element, the user agent must <a href=#fire-a-simple-event>fire a simple
-  event</a> named <code title=event-DOMActivate>DOMActivate</code> that is cancelable at
+  event</a> named <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code> that is cancelable at
   that element. The default action of this event must be to <a href=#run-final-activation-steps>run
   final activation steps</a> on that element. If the event is
   canceled, the user agent must <a href=#run-canceled-activation-steps>run canceled activation
@@ -9739,7 +9767,7 @@
 
   <p>When a user agent is to <dfn id=run-final-activation-steps>run final activation steps</dfn> on
   an element, it must run the <dfn id=activation-behavior>activation behavior</dfn> defined
-  for that element. Activation behaviors can refer to the <code title=event-click>click</code> and <code title=event-DOMActivate>DOMActivate</code> events that were fired
+  for that element. Activation behaviors can refer to the <code title=event-click><a href=#event-click>click</a></code> and <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code> events that were fired
   by the steps above leading up to this point.</p>
 
   </div>
@@ -10254,7 +10282,7 @@
   that are not in the <a href=#html-namespace-0>HTML namespace</a> despite being in
   <a href=#html-documents>HTML documents</a>.</p>
 
-  <dl><dt><code title="">Element.tagName</code> and <code title="">Node.nodeName</code></dt>
+  <dl><dt><code title=dom-Element-tagName><a href=#dom-element-tagname>Element.tagName</a></code> and <code title=dom-Node-nodeName>Node.nodeName</code></dt>
 
    <dd>
 
@@ -10265,7 +10293,7 @@
    </dd>
 
 
-   <dt><code title="">Document.createElement()</code></dt>
+   <dt><code title=dom-Document-createElement>Document.createElement()</code></dt>
 
    <dd>
 
@@ -10277,16 +10305,16 @@
     <p class=note>This doesn't apply to <code title="">Document.createElementNS()</code>. Thus, it is possible,
     by passing this last method a tag name in the wrong case, to
     create an element that appears to have the same tag name as that
-    of an element defined in this specification when its <code title=dom-tagName>tagName</code> attribute is examined, but that
+    of an element defined in this specification when its <code title=dom-Element-tagName><a href=#dom-element-tagname>tagName</a></code> attribute is examined, but that
     doesn't support the corresponding interfaces. The "real" element
     name (unaffected by case conversions) can be obtained from the
-    <code title=dom-localName>localName</code> attribute.</p>
+    <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> attribute.</p>
 
    </dd>
 
 
-   <dt><code title="">Element.setAttribute()</code></dt>
-   <dt><code title="">Element.setAttributeNode()</code></dt>
+   <dt><code title=dom-Element-setAttribute>Element.setAttribute()</code></dt>
+   <dt><code title=dom-Element-setAttributeNode>Element.setAttributeNode()</code></dt>
 
    <dd>
 
@@ -10297,7 +10325,7 @@
      <p>Specifically: when an attribute is set on an <a href=#html-elements title="HTML
      elements">HTML element</a> using <code title="">Element.setAttribute()</code>, the name argument must be
      <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the element is
-     affected; and when an <code>Attr</code> node is set on an <a href=#html-elements title="HTML elements">HTML element</a> using <code title="">Element.setAttributeNode()</code>, it must have its name
+     affected; and when an <code><a href=#attr>Attr</a></code> node is set on an <a href=#html-elements title="HTML elements">HTML element</a> using <code title="">Element.setAttributeNode()</code>, it must have its name
      <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the element is
      affected.</p>
 
@@ -10308,8 +10336,8 @@
    </dd>
 
 
-   <dt><code title="">Element.getAttribute()</code></dt>
-   <dt><code title="">Element.getAttributeNode()</code></dt>
+   <dt><code title=dom-Element-getAttribute>Element.getAttribute()</code></dt>
+   <dt><code title=dom-Element-getAttributeNode>Element.getAttributeNode()</code></dt>
 
    <dd>
 
@@ -10329,8 +10357,8 @@
    </dd>
 
 
-   <dt><code title="">Document.getElementsByTagName()</code></dt>
-   <dt><code title="">Element.getElementsByTagName()</code></dt>
+   <dt><code title=dom-Document-getElementsByTagName>Document.getElementsByTagName()</code></dt>
+   <dt><code title=dom-Element-getElementsByTagName>Element.getElementsByTagName()</code></dt>
 
    <dd>
 
@@ -10941,7 +10969,7 @@
     <p>Append all the <var title="">new children</var> nodes to the
     node whose <code title=dom-innerHTML><a href=#dom-innerhtml>innerHTML</a></code> attribute
     is being set, preserving their order, and firing mutation events
-    as if a <code>DocumentFragment</code> containing the <var title="">new children</var> had been inserted.</p>
+    as if a <code><a href=#documentfragment>DocumentFragment</a></code> containing the <var title="">new children</var> had been inserted.</p>
 
    </li>
 
@@ -11016,7 +11044,7 @@
    <li>
 
     <p>Let <var title="">parent</var> be <var title="">target</var>'s
-    parent node, unless that is a <code>DocumentFragment</code> node,
+    parent node, unless that is a <code><a href=#documentfragment>DocumentFragment</a></code> node,
     in which case let <var title="">parent</var> be an arbitrary
     <code><a href=#the-body-element-0>body</a></code> element.</p>
 
@@ -11055,7 +11083,7 @@
     mutation events as appropriate, and then insert in its place all
     the <var title="">new children</var> nodes, preserving their
     order, and again firing mutation events as if a
-    <code>DocumentFragment</code> containing the <var title="">new
+    <code><a href=#documentfragment>DocumentFragment</a></code> containing the <var title="">new
     children</var> had been inserted.</p>
 
    </li>
@@ -11230,7 +11258,7 @@
 
     </dl><p>The <var title="">new children</var> nodes must be inserted in
     a manner that preserves their order and fires mutation events as
-    if a <code>DocumentFragment</code> containing the <var title="">new children</var> had been inserted.</p>
+    if a <code><a href=#documentfragment>DocumentFragment</a></code> containing the <var title="">new children</var> had been inserted.</p>
 
    </li>
 
@@ -16897,7 +16925,7 @@
   that represent <a href=#hyperlink title=hyperlink>hyperlinks</a> is to run
   the following steps:</p>
 
-  <ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
+  <ol><li><p>If the <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
    event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
    event being dispatched), and the <code><a href=#the-a-element>a</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
    applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
@@ -16906,13 +16934,13 @@
    browsing context, then raise an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
    exception and abort these steps.</li>
 
-   <li><p>If the target of the <code title=event-click>click</code>
+   <li><p>If the target of the <code title=event-click><a href=#event-click>click</a></code>
    event is an <code><a href=#the-img-element>img</a></code> element with an <code title=attr-img-ismap><a href=#attr-img-ismap>ismap</a></code> attribute specified, then
    server-side image map processing must be performed, as follows:</p>
 
-    <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-DOMActivate>DOMActivate</code>
+    <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-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
      event was dispatched as the result of a real
-     pointing-device-triggered <code title=event-click>click</code>
+     pointing-device-triggered <code title=event-click><a href=#event-click>click</a></code>
      event on the <code><a href=#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 one, or the left edge of
      the image otherwise, to the location of the click, and let <var title="">y</var> be the distance in CSS pixels from the top edge
@@ -27448,7 +27476,7 @@
   </div>
 
 
-  <h6 id=text><span class=secno>4.8.10.1.10 </span>Text</h6> <!-- a v3 feature -->
+  <h6 id=text-0><span class=secno>4.8.10.1.10 </span>Text</h6> <!-- a v3 feature -->
 
   <dl class=domintro><dt><var title="">context</var> . <code title=dom-context-2d-font><a href=#dom-context-2d-font>font</a></code> [ = <var title="">value</var> ]</dt>
 
@@ -28887,7 +28915,7 @@
   <p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-area-element>area</a></code>
   elements is to run the following steps:</p>
 
-  <ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
+  <ol><li><p>If the <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
    event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
    event being dispatched), and the <code><a href=#the-area-element>area</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
    applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
@@ -38439,7 +38467,7 @@
   a <a href=#using-the-option-element-to-define-a-command title=option-command>menu command</a>, or through any
   other mechanism), and before the relevant user interaction event
   <!-- interaction event spec point --> is queued (e.g. before the
-  <span title=event-click>click</span> event), the user agent must
+  <a href=#event-click title=event-click>click</a> event), the user agent must
   set the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> of the
   picked <code><a href=#the-option-element>option</a></code> element to true and then <a href=#queue-a-task>queue a
   task</a> to <a href=#fire-a-simple-event>fire a simple event</a> that bubbles named
@@ -38476,7 +38504,7 @@
   mechanism). Upon the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> of one or
   more <code><a href=#the-option-element>option</a></code> elements being changed by the user, and
   before the relevant user interaction event <!-- interaction event
-  spec point --> is queued (e.g. before a related <span title=event-click>click</span> event), the user agent must
+  spec point --> is queued (e.g. before a related <a href=#event-click title=event-click>click</a> event), the user agent must
   <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> that
   bubbles named <code title=event-change>change</code> at the
   <code><a href=#the-select-element>select</a></code> element, using the <a href=#user-interaction-task-source>user interaction task
@@ -38912,7 +38940,7 @@
 
   <div class=impl>
 
-  <p>An <code><a href=#the-option-element>option</a></code> element that is <a href=#attr-option-disabled title=attr-option-disabled>disabled</a> must prevent any <code title=event-click>click</code> events that are <a href=#queue-a-task title="queue
+  <p>An <code><a href=#the-option-element>option</a></code> element that is <a href=#attr-option-disabled title=attr-option-disabled>disabled</a> must prevent any <code title=event-click><a href=#event-click>click</a></code> events that are <a href=#queue-a-task title="queue
   a task">queued</a> on the <a href=#user-interaction-task-source>user interaction task
   source</a> from being dispatched on the element.</p>
 
@@ -39053,7 +39081,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>Node</code> with node type <code title="">TEXT_NODE</code> (3)
+  <code><a href=#node>Node</a></code> with node type <code title="">TEXT_NODE</code> (3)
   whose data is the value of that argument<!-- we mention TEXT_NODE
   and all that explicitly here because we redefine "text node" in this
   spec to also include CDATA sections -->. If the <var title="">value</var> argument is present, the new object must have a
@@ -40530,7 +40558,7 @@
 
   <div class=impl>
 
-  <p>A form control that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a> must prevent any <code title=event-click>click</code> events that are <a href=#queue-a-task title="queue
+  <p>A form control that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a> must prevent any <code title=event-click><a href=#event-click>click</a></code> events that are <a href=#queue-a-task title="queue
   a task">queued</a> on the <a href=#user-interaction-task-source>user interaction task
   source</a> from being dispatched on the element.</p>
 
@@ -44944,7 +44972,7 @@
 
    <dd><p>The element has no <a href=#activation-behavior>activation behavior</a>.</dd>
 
-  </dl><p class=note>Firing a synthetic <code title=event-click>click</code> event at the element does not cause
+  </dl><p class=note>Firing a synthetic <code title=event-click><a href=#event-click>click</a></code> event at the element does not cause
   any of the actions described above to happen.</p>
 
   <!-- v2COMMAND: the command="" attribute to make a <command> element
@@ -45216,8 +45244,8 @@
   attribute gives the element's <a href=#context-menus title="context menus">context
   menu</a>. The value must be the ID of a <code><a href=#menus>menu</a></code> element
   in the DOM. <span class=impl>If the node that would be obtained by
-  the invoking the <code><a href=#getelementbyid()>getElementById()</a></code> method using the
-  attribute's value as the only argument is null or not a
+  the invoking the <code title=dom-Document-getElementById><a href=#dom-document-getelementbyid>getElementById()</a></code> method
+  using the attribute's value as the only argument is null or not a
   <code><a href=#menus>menu</a></code> element, then the element has no assigned context
   menu. Otherwise, the element's assigned context menu is the element
   so identified.</span></p>
@@ -52950,7 +52978,7 @@
 
   <div class=impl>
 
-  <p>Events that use the <code>UIEvent</code> interface are related to
+  <p>Events that use the <code><a href=#uievent>UIEvent</a></code> interface are related to
   a specific <a href=#view>view</a> (the view in which the event happened);
   when that <a href=#view>view</a> is the <a href=#default-view>default view</a>, the
   event object's <code title="">view</code> attribute's must return
@@ -54353,7 +54381,7 @@
 
      <dt>If a <code><a href=#document>Document</a></code> or image was obtained in some
      other manner (e.g. a <code title="">data:</code> URL typed in by
-     the user, a <code><a href=#document>Document</a></code> created using the <code title=dom-DOMImplementation-createDocument>createDocument()</code>
+     the user, a <code><a href=#document>Document</a></code> created using the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
      API, etc)</dt>
 
      <dd>The <a href=#origin>origin</a> is a globally unique identifier
@@ -56242,7 +56270,7 @@
      <i>specified entry</i>'s <code><a href=#document>Document</a></code> is "complete",
      <a href=#queue-a-task>queue a task</a> to fire a <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> event at the
      <code><a href=#window>Window</a></code> object of that <code><a href=#document>Document</a></code>, but
-     with its <code title=dom-event-target>target</code> set to the
+     with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
      <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
      <code><a href=#window>Window</a></code> object), using the
      <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code>
@@ -56526,7 +56554,7 @@
 
   <ol><li><p>Fire a <code title=event-pagehide><a href=#event-pagehide>pagehide</a></code> event at
    the <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code>, but
-   with its <code title=dom-event-target>target</code> set to the
+   with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
    <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
    <code><a href=#window>Window</a></code> object), using the
    <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code>
@@ -59216,7 +59244,7 @@
     <p>This <a href=#task-source>task source</a> is used for features that react
     to user interaction, for example keyboard or mouse input.</p>
 
-    <p>Asynchronous events sent in response to user input (e.g. <span title=event-click>click</span> events) must be dispatched using
+    <p>Asynchronous events sent in response to user input (e.g. <a href=#event-click title=event-click>click</a> events) must be dispatched using
     <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a
     task">queued</a> with the <a href=#user-interaction-task-source>user interaction task
     source</a>. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
@@ -59640,7 +59668,7 @@
     <tr><td><dfn id=handler-oncanplay title=handler-oncanplay><code>oncanplay</code></dfn> <td> <code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code>
     <tr><td><dfn id=handler-oncanplaythrough title=handler-oncanplaythrough><code>oncanplaythrough</code></dfn> <td> <code title=event-media-canplaythrough><a href=#event-media-canplaythrough>canplaythrough</a></code>
     <tr><td><dfn id=handler-onchange title=handler-onchange><code>onchange</code></dfn> <td> <code title=event-change>change</code> <!-- widely used -->
-    <tr><td><dfn id=handler-onclick title=handler-onclick><code>onclick</code></dfn> <td> <code title=event-click>click</code> <!-- widely used -->
+    <tr><td><dfn id=handler-onclick title=handler-onclick><code>onclick</code></dfn> <td> <code title=event-click><a href=#event-click>click</a></code> <!-- widely used -->
     <tr><td><dfn id=handler-oncontextmenu title=handler-oncontextmenu><code>oncontextmenu</code></dfn> <td> <code title=event-contextmenu>contextmenu</code> <!-- widely used -->
     <tr><td><dfn id=handler-ondblclick title=handler-ondblclick><code>ondblclick</code></dfn> <td> <code title=event-dblclick>dblclick</code> <!-- widely used -->
     <tr><td><dfn id=handler-ondrag title=handler-ondrag><code>ondrag</code></dfn> <td> <code title=event-drag><a href=#event-drag>drag</a></code>
@@ -59745,10 +59773,10 @@
   <p>Certain operations and methods are defined as firing events on
   elements. For example, the <code title=dom-click><a href=#dom-click>click()</a></code>
   method on the <code><a href=#htmlelement>HTMLElement</a></code> interface is defined as
-  firing a <code title=event-click>click</code> event on the
+  firing a <code title=event-click><a href=#event-click>click</a></code> event on the
   element. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
 
-  <p><dfn id=fire-a-click-event title="fire a click event">Firing a <code title=event-click>click</code> event</dfn> means that a <code title=event-click>click</code> event, which bubbles and is
+  <p><dfn id=fire-a-click-event title="fire a click event">Firing a <code title=event-click>click</code> event</dfn> means that a <code title=event-click><a href=#event-click>click</a></code> event, which bubbles and is
   cancelable, and which uses the <code>MouseEvent</code> interface,
   must be dispatched at the given target. The event object must have
   its <code title="">screenX</code>, <code title="">screenY</code>,
@@ -61364,7 +61392,7 @@
 
   <p class=note>This means that an element that is only focusable
   because of its <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute
-  will fire a <code title=event-click>click</code> event in response
+  will fire a <code title=event-click><a href=#event-click>click</a></code> event in response
   to a non-mouse activation (e.g. hitting the "enter" key while the
   element is focused).</p>
 
@@ -64163,8 +64191,7 @@
    node.</li>
 
    <li>Changes to the DOM hierarchy of nodes that are descendants of
-   the <code><a href=#htmldocument>HTMLDocument</a></code> object (<code>parentNode</code>,
-   <code>childNodes</code>).</li>
+   the <code><a href=#htmldocument>HTMLDocument</a></code> object (<code title=dom-Node-parentNode><a href=#dom-node-parentnode>parentNode</a></code>, <code title=dom-Node-childNodes><a href=#dom-node-childnodes>childNodes</a></code>).</li>
 
    <li>Changes to internal state, such as a form control's <a href=#concept-fe-value title=concept-fe-value>value</a> or <a href=#concept-input-checked-dirty-flag title=concept-input-checked-dirty-flag>dirty checkedness
    flag</a>.</li>
@@ -66888,7 +66915,7 @@
 };
 <a href=#workerutils>WorkerUtils</a> implements <a href=#windowtimers>WindowTimers</a>;</pre>
 
-  <p>The DOM APIs (<code>Node</code> objects, <code><a href=#document>Document</a></code>
+  <p>The DOM APIs (<code><a href=#node>Node</a></code> objects, <code><a href=#document>Document</a></code>
   objects, etc) are not available to workers in this version of this
   specification.</p>
 
@@ -73237,7 +73264,7 @@
   GREATER-THAN SIGN (>), or U+002F SOLIDUS (/).</p>
 
 
-  <h4 id=text-0><span class=secno>12.1.3 </span>Text</h4>
+  <h4 id=text-1><span class=secno>12.1.3 </span>Text</h4>
 
   <p><dfn id=syntax-text title=syntax-text>Text</dfn> is allowed inside elements,
   attributes, and comments. Text must consist of Unicode characters.
@@ -76767,10 +76794,10 @@
   <p>When the steps below require the UA to <dfn id=insert-a-character>insert a
   character</dfn> into a node, if that node has a child immediately
   before where the character is to be inserted, and that child is a
-  <code>Text</code> node, and that <code>Text</code> node was the last
+  <code><a href=#text>Text</a></code> node, and that <code><a href=#text>Text</a></code> node was the last
   node that the parser inserted into the document, then the character
-  must be appended to that <code>Text</code> node; otherwise, a new
-  <code>Text</code> node whose data is just that character must be
+  must be appended to that <code><a href=#text>Text</a></code> node; otherwise, a new
+  <code><a href=#text>Text</a></code> node whose data is just that character must be
   inserted in the appropriate place.</p>
 
   <div class=example>
@@ -77065,7 +77092,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -77118,7 +77145,7 @@
     HTML4-era document, and defer to an HTML4 conformance
     checker.)</p>
 
-    <p>Append a <code>DocumentType</code> node to the
+    <p>Append a <code><a href=#documenttype>DocumentType</a></code> node to the
     <code><a href=#document>Document</a></code> node, with the <code title="">name</code>
     attribute set to the name given in the DOCTYPE token, or the empty
     string if the name was missing; the <code title="">publicId</code>
@@ -77127,8 +77154,8 @@
     <code title="">systemId</code> attribute set to the system
     identifier given in the DOCTYPE token, or the empty string if the
     system identifier was missing; and the other attributes specific
-    to <code>DocumentType</code> objects set to null and empty lists
-    as appropriate. Associate the <code>DocumentType</code> node with
+    to <code><a href=#documenttype>DocumentType</a></code> objects set to null and empty lists
+    as appropriate. Associate the <code><a href=#documenttype>DocumentType</a></code> node with
     the <code><a href=#document>Document</a></code> object so that it is returned as the
     value of the <code title="">doctype</code> attribute of the
     <code><a href=#document>Document</a></code> object.</p>
@@ -77257,7 +77284,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -77343,7 +77370,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -77410,7 +77437,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -77632,7 +77659,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -77730,7 +77757,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -79080,7 +79107,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -79369,7 +79396,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -79729,7 +79756,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -79915,7 +79942,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -80136,7 +80163,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the first element in
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the first element in
     the <a href=#stack-of-open-elements>stack of open elements</a> (the <code><a href=#the-html-element-0>html</a></code>
     element), with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
@@ -80194,7 +80221,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -80288,7 +80315,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -80333,7 +80360,7 @@
 
   <dl class=switch><dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -80367,7 +80394,7 @@
 
   <dl class=switch><dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -80464,14 +80491,14 @@
    context</a>, then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a
    simple event</a> named <code title=event-load>load</code> at
    the <code><a href=#document>Document</a></code>'s <code><a href=#window>Window</a></code> object, but with
-   its <code title=dom-event-target>target</code> set to the
+   its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
    <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
    <code><a href=#window>Window</a></code> object).</li>
 
    <li><p>If the <code><a href=#document>Document</a></code> is in a <a href=#browsing-context>browsing
    context</a>, then <a href=#queue-a-task>queue a task</a> to fire a <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> event at the
    <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code>, but with
-   its <code title=dom-event-target>target</code> set to the
+   its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
    <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
    <code><a href=#window>Window</a></code> object), using the
    <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code>
@@ -83540,7 +83567,7 @@
   regular text, character references, and CDATA sections to represent
   <a href=#text-node title="text node">text nodes</a> in the DOM (and indeed
   might be forced to use representations that don't match the DOM's,
-  e.g. if a <code>CDATASection</code> node contains the string "<code title="">]]></code>").</p>
+  e.g. if a <code><a href=#cdatasection>CDATASection</a></code> node contains the string "<code title="">]]></code>").</p>
 
   <p>For <code><a href=#element>Element</a></code>s, if any of the elements in the
   serialization are in no namespace, the default namespace in scope
@@ -83562,11 +83589,11 @@
 
   <ul><li>A <code><a href=#document>Document</a></code> node with no child element nodes.</li>
 
-   <li>A <code>DocumentType</code> node that has an external subset
+   <li>A <code><a href=#documenttype>DocumentType</a></code> node that has an external subset
    public identifier that contains characters that are not matched by
    the XML <code title="">PubidChar</code> production. <a href=#refsXML>[XML]</a></li>
 
-   <li>A <code>DocumentType</code> node that has an external subset
+   <li>A <code><a href=#documenttype>DocumentType</a></code> node that has an external subset
    system identifier that contains both a U+0022 QUOTATION MARK (")
    and a U+0027 APOSTROPHE (') or that contains characters that are
    not matched by the XML <code title="">Char</code> production. <a href=#refsXML>[XML]</a></li>
@@ -83579,31 +83606,31 @@
    the XML <code title="">Name</code> production. <a href=#refsXML>[XML]</a></li> <!--(again, prefixes can get
    adjusted, so this isn't an excuse) -->
 
-   <li>An <code>Attr</code> node with no namespace whose local name is
+   <li>An <code><a href=#attr>Attr</a></code> node with no namespace whose local name is
    the lowercase string "<code title="">xmlns</code>". <a href=#refsXMLNS>[XMLNS]</a></li>
 
    <li>An <code><a href=#element>Element</a></code> node with two or more attributes with
    the same local name and namespace.</li>
 
-   <li>An <code>Attr</code> node, <code>Text</code> node,
-   <code>CDATASection</code> node, <code>Comment</code> node, or
-   <code>ProcessingInstruction</code> node whose data contains
+   <li>An <code><a href=#attr>Attr</a></code> node, <code><a href=#text>Text</a></code> node,
+   <code><a href=#cdatasection>CDATASection</a></code> node, <code><a href=#comment-0>Comment</a></code> node, or
+   <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose data contains
    characters that are not matched by the XML <code title="">Char</code> production. <a href=#refsXML>[XML]</a></li>
 
    <!--<li>A <code>CDATASection</code> node whose data contains the
    string "<code title="">]]></code>".</li> (these can be split)-->
 
-   <li>A <code>Comment</code> node whose data contains two adjacent
+   <li>A <code><a href=#comment-0>Comment</a></code> node whose data contains two adjacent
    U+002D HYPHEN-MINUS characters (-) or ends with such a
    character.</li>
 
-   <li>A <code>ProcessingInstruction</code> node whose target name is
+   <li>A <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose target name is
    an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">xml</code>".</li>
 
-   <li>A <code>ProcessingInstruction</code> node whose target name
+   <li>A <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose target name
    contains a U+003A COLON (:).</li>
 
-   <li>A <code>ProcessingInstruction</code> node whose data contains
+   <li>A <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose data contains
    the string "<code title="">?></code>".</li>
 
   </ul><p class=note>These are the only ways to make a DOM
@@ -85957,7 +85984,7 @@
   ':visited' pseudo-classes, will react to clicks if visible, and so
   forth, this does not extend to any browser interface constructs that
   expose those same links. Activating a link through the browser's
-  interface, rather than in the page itself, does not trigger <code title=event-click>click</code> events and the like.</p>
+  interface, rather than in the page itself, does not trigger <code title=event-click><a href=#event-click>click</a></code> events and the like.</p>
 
 
 
@@ -90190,7 +90217,7 @@
 
     <tr><th> <code title="">onclick</code>
      <td> <a href=#handler-onclick title=handler-onclick>HTML elements</a>
-     <td> <code title=event-click>click</code> event handler
+     <td> <code title=event-click><a href=#event-click>click</a></code> event handler
      <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
 
     <tr><th> <code title="">oncontextmenu</code>

Modified: index
===================================================================
--- index	2010-03-30 22:23:47 UTC (rev 4909)
+++ index	2010-03-30 22:47:22 UTC (rev 4910)
@@ -530,7 +530,7 @@
          <li><a href=#simple-shapes-(rectangles)><span class=secno>4.8.10.1.7 </span>Simple shapes (rectangles)</a></li>
          <li><a href=#complex-shapes-(paths)><span class=secno>4.8.10.1.8 </span>Complex shapes (paths)</a></li>
          <li><a href=#focus-management-0><span class=secno>4.8.10.1.9 </span>Focus management</a></li>
-         <li><a href=#text><span class=secno>4.8.10.1.10 </span>Text</a></li>
+         <li><a href=#text-0><span class=secno>4.8.10.1.10 </span>Text</a></li>
          <li><a href=#images><span class=secno>4.8.10.1.11 </span>Images</a></li>
          <li><a href=#pixel-manipulation><span class=secno>4.8.10.1.12 </span>Pixel manipulation</a></li>
          <li><a href=#drawing-model><span class=secno>4.8.10.1.13 </span>Drawing model</a></li>
@@ -944,7 +944,7 @@
        <li><a href=#optional-tags><span class=secno>10.1.2.4 </span>Optional tags</a></li>
        <li><a href=#element-restrictions><span class=secno>10.1.2.5 </span>Restrictions on content models</a></li>
        <li><a href=#cdata-rcdata-restrictions><span class=secno>10.1.2.6 </span>Restrictions on the contents of raw text and RCDATA elements</a></ol></li>
-     <li><a href=#text-0><span class=secno>10.1.3 </span>Text</a>
+     <li><a href=#text-1><span class=secno>10.1.3 </span>Text</a>
       <ol>
        <li><a href=#newlines><span class=secno>10.1.3.1 </span>Newlines</a></ol></li>
      <li><a href=#character-references><span class=secno>10.1.4 </span>Character references</a></li>
@@ -2506,26 +2506,25 @@
   <code>Document</code></a>, its <a href=#home-subtree>home subtree</a> is that
   <code><a href=#document>Document</a></code>'s tree.</p>
 
-  <p>The <code><a href=#document>Document</a></code> of a <code>Node</code> (such as an
-  element) is the <code><a href=#document>Document</a></code> that the <code>Node</code>'s
+  <p>The <code><a href=#document>Document</a></code> of a <code><a href=#node>Node</a></code> (such as an
+  element) is the <code><a href=#document>Document</a></code> that the <code><a href=#node>Node</a></code>'s
   <code title="">ownerDocument</code> IDL attribute returns. When a
-  <code>Node</code> is <a href=#in-a-document>in a <code>Document</code></a> then
-  that <code><a href=#document>Document</a></code> is always the <code>Node</code>'s
-  <code><a href=#document>Document</a></code>, and the <code>Node</code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that
+  <code><a href=#node>Node</a></code> is <a href=#in-a-document>in a <code>Document</code></a> then
+  that <code><a href=#document>Document</a></code> is always the <code><a href=#node>Node</a></code>'s
+  <code><a href=#document>Document</a></code>, and the <code><a href=#node>Node</a></code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that
   <code><a href=#document>Document</a></code>.</p>
 
   <p>The term <dfn id=tree-order>tree order</dfn> means a pre-order, depth-first
-  traversal of DOM nodes involved (through the <code title="">parentNode</code>/<code title="">childNodes</code>
-  relationship).</p>
+  traversal of DOM nodes involved (through the <code title=dom-Node-parentNode><a href=#dom-node-parentnode>parentNode</a></code>/<code title=dom-Node-childNodes><a href=#dom-node-childnodes>childNodes</a></code> relationship).</p>
 
   <p>When it is stated that some element or attribute is <dfn id=ignore title=ignore>ignored</dfn>, or treated as some other value, or
   handled as if it was something else, this refers only to the
   processing of the node after it is in the DOM. <span class=impl>A
   user agent must not mutate the DOM in such situations.</span></p>
 
-  <p>The term <dfn id=text-node>text node</dfn> refers to any <code>Text</code>
-  node, including <code>CDATASection</code> nodes; specifically, any
-  <code>Node</code> with node type <code title="">TEXT_NODE</code> (3)
+  <p>The term <dfn id=text-node>text node</dfn> refers to any <code><a href=#text>Text</a></code>
+  node, including <code><a href=#cdatasection>CDATASection</a></code> nodes; specifically, any
+  <code><a href=#node>Node</a></code> with node type <code title="">TEXT_NODE</code> (3)
   or <code title="">CDATA_SECTION_NODE</code> (4). <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   <p>A content attribute is said to <dfn title="">change</dfn> value
@@ -2562,7 +2561,7 @@
   that supports displaying content as part of the user agent's
   rendering of a <code><a href=#document>Document</a></code> object, but that neither acts
   as a <a href=#child-browsing-context>child browsing context</a> of the
-  <code><a href=#document>Document</a></code> nor introduces any <code>Node</code> objects
+  <code><a href=#document>Document</a></code> nor introduces any <code><a href=#node>Node</a></code> objects
   to the <code><a href=#document>Document</a></code>'s DOM.</p>
 
   <p>Typically such content handlers are provided by third parties,
@@ -2960,15 +2959,43 @@
 
     <p>In particular, the following features are defined in the DOM
     Core specification: <a href=#refsDOMCORE>[DOMCORE]</a></p>
-    <ul class=brief><li><dfn id=document><code>Document</code></dfn></li>
-     <li><dfn id=element><code>Element</code></dfn></li>
-     <li><dfn id=nodelist><code>NodeList</code></dfn></li>
-     <li><dfn id=textcontent><code>textContent</code></dfn></li>
-     <li><dfn id=getelementbyid()><code>getElementById()</code></dfn></li>
+
+    <ul class=brief><li><dfn id=attr><code>Attr</code></dfn> interface</li>
+     <li><dfn id=cdatasection><code>CDATASection</code></dfn> interface</li>
+     <li><dfn id=comment-0><code>Comment</code></dfn> interface</li>
+     <li><dfn id=domimplementation><code>DOMImplementation</code></dfn> interface</li>
+     <li><dfn id=document><code>Document</code></dfn> interface</li>
+     <li><dfn id=documentfragment><code>DocumentFragment</code></dfn> interface</li>
+     <li><dfn id=documenttype><code>DocumentType</code></dfn> interface</li>
+     <li><dfn id=domexception><code>DOMException</code></dfn> interface</li>
+     <li><dfn id=element><code>Element</code></dfn> interface</li>
+     <li><dfn id=node><code>Node</code></dfn> interface</li>
+     <li><dfn id=nodelist><code>NodeList</code></dfn> interface</li>
+     <li><dfn id=processinginstruction><code>ProcessingInstruction</code></dfn> interface</li>
+     <li><dfn id=text><code>Text</code></dfn> interface</li>
+
+     <li><dfn id=dom-domimplementation-createdocument title=dom-DOMImplementation-createDocument><code>createDocument()</code></dfn> method</li>
+     <li><dfn id=dom-document-getelementbyid title=dom-Document-getElementById><code>getElementById()</code></dfn> method</li>
+     <li><dfn id=dom-node-insertbefore title=dom-Node-insertBefore><code>insertBefore()</code></dfn> method</li>
+
+     <li><dfn id=dom-node-childnodes title=dom-Node-childNodes><code>childNodes</code></dfn> attribute </li>
+     <li><dfn id=dom-node-localname title=dom-Node-localName><code>localName</code></dfn> attribute </li>
+     <li><dfn id=dom-node-parentnode title=dom-Node-parentNode><code>parentNode</code></dfn> attribute </li>
+     <li><dfn id=dom-element-tagname title=dom-Element-tagName><code>tagName</code></dfn> attribute </li>
+     <li><dfn id=textcontent><code>textContent</code></dfn> attribute </li>
+
     </ul><p>The following features are defined in the DOM Events
     specification: <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
-    <ul class=brief><li><dfn id=event><code>Event</code></dfn></li>
-     <li><dfn id=eventtarget><code>EventTarget</code></dfn></li>
+
+    <ul class=brief><li><dfn id=event><code>Event</code></dfn> interface</li>
+     <li><dfn id=eventtarget><code>EventTarget</code></dfn> interface</li>
+     <li><dfn id=uievent><code>UIEvent</code></dfn> interface</li>
+
+     <li><dfn id=event-click title=event-click><code>click</code></dfn> event</li>
+     <li><dfn id=event-domactivate title=event-DOMActivate><code>DOMActivate</code></dfn> event</li>
+
+     <li><dfn id=dom-event-target title=dom-Event-target><code>target</code></dfn> attribute</li>
+
     </ul></dd>
 
    <dt>Web IDL</dt>
@@ -6115,7 +6142,7 @@
   <ol><li>If the corresponding content attribute is absent, then the
    IDL attribute must return null.</li>
 
-   <li>Let <var title="">candidate</var> be the element that the <code title=getElementById()><a href=#getelementbyid()>document.getElementById()</a></code> method
+   <li>Let <var title="">candidate</var> be the element that the <code title=dom-Document-getElementById><a href=#dom-document-getelementbyid>document.getElementById()</a></code> method
    would find when called on the content attribute's document if it
    was passed as its argument the current value of the corresponding
    content attribute.</li>
@@ -6542,7 +6569,7 @@
   must be appended to the <code><a href=#the-select-element>select</a></code> element on which the
   <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted, where <var title="">n</var> is the difference between the two numbers (new
   value minus old value). Mutation events must be fired as if a
-  <code>DocumentFragment</code> containing the new <code><a href=#the-option-element>option</a></code>
+  <code><a href=#documentfragment>DocumentFragment</a></code> containing the new <code><a href=#the-option-element>option</a></code>
   elements had been inserted.  If the new value is lower, then the
   last <var title="">n</var> nodes in the collection must be removed
   from their parent nodes, where <var title="">n</var> is the
@@ -6603,8 +6630,8 @@
    be the <code><a href=#the-select-element>select</a></code> element on which the
    <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted.</li>
 
-   <li><p>Act as if the DOM Core <code title=dom-insertBefore>insertBefore()</code> method was invoked
-   on the <var title="">parent</var> node, with <var title="">element</var> as the first argument and <var title="">reference</var> as the second argument.</p>
+   <li><p>Act as if the DOM Core <code title=dom-Node-insertBefore><a href=#dom-node-insertbefore>insertBefore()</a></code> method was
+   invoked on the <var title="">parent</var> node, with <var title="">element</var> as the first argument and <var title="">reference</var> as the second argument.</p>
 
   </ol><p>The <dfn id=dom-htmloptionscollection-remove title=dom-HTMLOptionsCollection-remove><code>remove(<var title="">index</var>)</code></dfn> method must act according to
   the following algorithm:</p>
@@ -7158,7 +7185,7 @@
 
   <p>For historical reasons, user agents should return the true value
   when the <dfn id=hasfeature title=hasFeature><code>hasFeature(<var title="">feature</var>, <var title="">version</var>)</code></dfn>
-  method of the <code>DOMImplementation</code> interface is invoked
+  method of the <code><a href=#domimplementation>DOMImplementation</a></code> interface is invoked
   with <var title="">feature</var> set to either "<code title="">HTML</code>" or "<code title="">XHTML</code>" and <var title="">version</var> set to either "<code>1.0</code>" or
   "<code>2.0</code>".</p>
 
@@ -7167,7 +7194,7 @@
 
   <h4 id=exceptions><span class=secno>2.7.8 </span>Exceptions</h4>
 
-  <p>The following are <code>DOMException</code> codes. <a href=#refsDOMCORE>[DOMCORE]</a></p>
+  <p>The following are <code><a href=#domexception>DOMException</a></code> codes. <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   <ol class=brief><li value=1><dfn id=index_size_err><code>INDEX_SIZE_ERR</code></dfn></li>
    <li value=2><dfn id=domstring_size_err><code>DOMSTRING_SIZE_ERR</code></dfn></li>
@@ -7258,7 +7285,7 @@
   <p class=note>Interactive user agents typically expose <a href="#the-document's-current-address">the
   document's current address</a> in their user interface.</p>
 
-  <p>When a <code><a href=#document>Document</a></code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument>createDocument()</code>
+  <p>When a <code><a href=#document>Document</a></code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
   or <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument()</a></code>
   APIs, <a href="#the-document's-address">the document's address</a> is the same as <a href="#the-document's-address">the
   document's address</a> of the <a href="#script's-document">script's document</a>.</p>
@@ -7770,7 +7797,7 @@
    <li>The children of <var title="">element</var> (if any) must all
    be removed.</li>
 
-   <li>A single <code>Text</code> node whose data is the new value
+   <li>A single <code><a href=#text>Text</a></code> node whose data is the new value
    being assigned must be appended to <var title="">element</var>.</li>
 
   </ol><p>The <code title=dom-document-title><a href=#document.title>title</a></code> attribute on
@@ -8085,8 +8112,8 @@
   <h4 id=creating-documents><span class=secno>3.1.5 </span>Creating documents</h4>
 
   <p><a href=#xml-documents>XML documents</a> can be created from script using the
-  <code title=dom-DOMImplementation-createDocument>createDocument()</code>
-  method on the <code>DOMImplementation</code> interface.</p>
+  <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
+  method on the <code><a href=#domimplementation>DOMImplementation</a></code> interface.</p>
 
   <p><a href=#html-documents>HTML documents</a> can be created using the <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument()</a></code>
   method:</p>
@@ -8095,7 +8122,7 @@
 interface <dfn id=domhtmlimplementation>DOMHTMLImplementation</dfn> {
   <a href=#document>Document</a> <a href=#dom-domhtmlimplementation-createhtmldocument title=dom-DOMHTMLImplementation-createHTMLDocument>createHTMLDocument</a>(in DOMString title);
 };
-<span>DOMImplementation</span> implements <a href=#domhtmlimplementation>DOMHTMLImplementation</a>;</pre>
+<a href=#domimplementation>DOMImplementation</a> implements <a href=#domhtmlimplementation>DOMHTMLImplementation</a>;</pre>
 
   <dl class=domintro><dt><var title="">document</var> = <var title="">document</var> . <code title=dom-document-implementation>implementation</code> . <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument</a></code>( <var title="">title</var> )</dt>
    <dd>
@@ -8116,8 +8143,8 @@
    <li><p>Mark <var title="">doc</var> as being an <a href=#html-documents title="HTML
    documents">HTML document</a>.</li>
 
-   <li><p>Create a <code>DocumentType</code> node with the <code title="">name</code> attribute set to the string "<code title="">html</code>", and the other attributes specific to
-   <code>DocumentType</code> objects set to the empty string, null,
+   <li><p>Create a <code><a href=#documenttype>DocumentType</a></code> node with the <code title="">name</code> attribute set to the string "<code title="">html</code>", and the other attributes specific to
+   <code><a href=#documenttype>DocumentType</a></code> objects set to the empty string, null,
    and empty lists, as appropriate. Append the newly created node to
    <var title="">doc</var>.</li>
 
@@ -8129,7 +8156,7 @@
    <li><p>Create a <code><a href=#the-title-element-0>title</a></code> element, and append it to the
    <code><a href=#the-head-element-0>head</a></code> element created in the previous step.</p>
 
-   <li><p>Create a <code>Text</code> node, and set its <code title="">data</code> attribute to the string given by the method's
+   <li><p>Create a <code><a href=#text>Text</a></code> node, and set its <code title="">data</code> attribute to the string given by the method's
    argument (which could be the empty string). Append it to the
    <code><a href=#the-title-element-0>title</a></code> element created in the previous step.</p>
 
@@ -8540,7 +8567,8 @@
   the element with the given value (exactly, including any space
   characters) for the purposes of ID matching within the element's
   <a href=#home-subtree>home subtree</a> (e.g. for selectors in CSS or for the
-  <code><a href=#getelementbyid()>getElementById()</a></code> method in the DOM).</p>
+  <code title=dom-Document-getElementById><a href=#dom-document-getelementbyid>getElementById()</a></code>
+  method in the DOM).</p>
 
   <p>Identifiers are opaque strings. Particular meanings should not be
   derived from the value of the <code title=attr-id><a href=#the-id-attribute>id</a></code>
@@ -9554,8 +9582,8 @@
   </ul><p>Certain elements in HTML have an <a href=#activation-behavior>activation
   behavior</a>, which means that the user can activate them. This
   triggers a sequence of events dependent on the activation mechanism,
-  and normally culminating in a <code title=event-click>click</code>
-  event followed by a <code title=event-DOMActivate>DOMActivate</code> event<span class=impl>, as described below</span>.</p>
+  and normally culminating in a <code title=event-click><a href=#event-click>click</a></code>
+  event followed by a <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code> event<span class=impl>, as described below</span>.</p>
 
   <div class=impl>
 
@@ -9570,7 +9598,7 @@
   <p>When a user agent is to <dfn id=run-synthetic-click-activation-steps>run synthetic click activation
   steps</dfn> on an element, the user agent must <a href=#run-pre-click-activation-steps>run pre-click
   activation steps</a> on the element, then <a href=#fire-a-click-event>fire a <code title=event-click>click</code> event</a> at the element. The
-  default action of this <span title=event-click>click</span> event
+  default action of this <a href=#event-click title=event-click>click</a> event
   must be to <a href=#run-post-click-activation-steps>run post-click activation steps</a> on the
   element. If the event is canceled, the user agent must <a href=#run-canceled-activation-steps>run
   canceled activation steps</a> on the element instead.</p>
@@ -9602,11 +9630,11 @@
 
    <li>
 
-    <p>Dispatch the required <code title=event-click>click</code>
+    <p>Dispatch the required <code title=event-click><a href=#event-click>click</a></code>
     event.</p> <!-- interaction event spec point -->
 
     <p>If there is an element <var title="">e</var>, then the default
-    action of the <span title=event-click>click</span> event must be
+    action of the <a href=#event-click title=event-click>click</a> event must be
     to <a href=#run-post-click-activation-steps>run post-click activation steps</a> on element <var title="">e</var>.</p>
 
     <p>If there is an element <var title="">e</var> but the event is
@@ -9625,7 +9653,7 @@
 
   <p>When a user agent is to <dfn id=run-post-click-activation-steps>run post-click activation
   steps</dfn> on an element, the user agent must <a href=#fire-a-simple-event>fire a simple
-  event</a> named <code title=event-DOMActivate>DOMActivate</code> that is cancelable at
+  event</a> named <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code> that is cancelable at
   that element. The default action of this event must be to <a href=#run-final-activation-steps>run
   final activation steps</a> on that element. If the event is
   canceled, the user agent must <a href=#run-canceled-activation-steps>run canceled activation
@@ -9637,7 +9665,7 @@
 
   <p>When a user agent is to <dfn id=run-final-activation-steps>run final activation steps</dfn> on
   an element, it must run the <dfn id=activation-behavior>activation behavior</dfn> defined
-  for that element. Activation behaviors can refer to the <code title=event-click>click</code> and <code title=event-DOMActivate>DOMActivate</code> events that were fired
+  for that element. Activation behaviors can refer to the <code title=event-click><a href=#event-click>click</a></code> and <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code> events that were fired
   by the steps above leading up to this point.</p>
 
   </div>
@@ -10152,7 +10180,7 @@
   that are not in the <a href=#html-namespace-0>HTML namespace</a> despite being in
   <a href=#html-documents>HTML documents</a>.</p>
 
-  <dl><dt><code title="">Element.tagName</code> and <code title="">Node.nodeName</code></dt>
+  <dl><dt><code title=dom-Element-tagName><a href=#dom-element-tagname>Element.tagName</a></code> and <code title=dom-Node-nodeName>Node.nodeName</code></dt>
 
    <dd>
 
@@ -10163,7 +10191,7 @@
    </dd>
 
 
-   <dt><code title="">Document.createElement()</code></dt>
+   <dt><code title=dom-Document-createElement>Document.createElement()</code></dt>
 
    <dd>
 
@@ -10175,16 +10203,16 @@
     <p class=note>This doesn't apply to <code title="">Document.createElementNS()</code>. Thus, it is possible,
     by passing this last method a tag name in the wrong case, to
     create an element that appears to have the same tag name as that
-    of an element defined in this specification when its <code title=dom-tagName>tagName</code> attribute is examined, but that
+    of an element defined in this specification when its <code title=dom-Element-tagName><a href=#dom-element-tagname>tagName</a></code> attribute is examined, but that
     doesn't support the corresponding interfaces. The "real" element
     name (unaffected by case conversions) can be obtained from the
-    <code title=dom-localName>localName</code> attribute.</p>
+    <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> attribute.</p>
 
    </dd>
 
 
-   <dt><code title="">Element.setAttribute()</code></dt>
-   <dt><code title="">Element.setAttributeNode()</code></dt>
+   <dt><code title=dom-Element-setAttribute>Element.setAttribute()</code></dt>
+   <dt><code title=dom-Element-setAttributeNode>Element.setAttributeNode()</code></dt>
 
    <dd>
 
@@ -10195,7 +10223,7 @@
      <p>Specifically: when an attribute is set on an <a href=#html-elements title="HTML
      elements">HTML element</a> using <code title="">Element.setAttribute()</code>, the name argument must be
      <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the element is
-     affected; and when an <code>Attr</code> node is set on an <a href=#html-elements title="HTML elements">HTML element</a> using <code title="">Element.setAttributeNode()</code>, it must have its name
+     affected; and when an <code><a href=#attr>Attr</a></code> node is set on an <a href=#html-elements title="HTML elements">HTML element</a> using <code title="">Element.setAttributeNode()</code>, it must have its name
      <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the element is
      affected.</p>
 
@@ -10206,8 +10234,8 @@
    </dd>
 
 
-   <dt><code title="">Element.getAttribute()</code></dt>
-   <dt><code title="">Element.getAttributeNode()</code></dt>
+   <dt><code title=dom-Element-getAttribute>Element.getAttribute()</code></dt>
+   <dt><code title=dom-Element-getAttributeNode>Element.getAttributeNode()</code></dt>
 
    <dd>
 
@@ -10227,8 +10255,8 @@
    </dd>
 
 
-   <dt><code title="">Document.getElementsByTagName()</code></dt>
-   <dt><code title="">Element.getElementsByTagName()</code></dt>
+   <dt><code title=dom-Document-getElementsByTagName>Document.getElementsByTagName()</code></dt>
+   <dt><code title=dom-Element-getElementsByTagName>Element.getElementsByTagName()</code></dt>
 
    <dd>
 
@@ -10839,7 +10867,7 @@
     <p>Append all the <var title="">new children</var> nodes to the
     node whose <code title=dom-innerHTML><a href=#dom-innerhtml>innerHTML</a></code> attribute
     is being set, preserving their order, and firing mutation events
-    as if a <code>DocumentFragment</code> containing the <var title="">new children</var> had been inserted.</p>
+    as if a <code><a href=#documentfragment>DocumentFragment</a></code> containing the <var title="">new children</var> had been inserted.</p>
 
    </li>
 
@@ -10914,7 +10942,7 @@
    <li>
 
     <p>Let <var title="">parent</var> be <var title="">target</var>'s
-    parent node, unless that is a <code>DocumentFragment</code> node,
+    parent node, unless that is a <code><a href=#documentfragment>DocumentFragment</a></code> node,
     in which case let <var title="">parent</var> be an arbitrary
     <code><a href=#the-body-element-0>body</a></code> element.</p>
 
@@ -10953,7 +10981,7 @@
     mutation events as appropriate, and then insert in its place all
     the <var title="">new children</var> nodes, preserving their
     order, and again firing mutation events as if a
-    <code>DocumentFragment</code> containing the <var title="">new
+    <code><a href=#documentfragment>DocumentFragment</a></code> containing the <var title="">new
     children</var> had been inserted.</p>
 
    </li>
@@ -11128,7 +11156,7 @@
 
     </dl><p>The <var title="">new children</var> nodes must be inserted in
     a manner that preserves their order and fires mutation events as
-    if a <code>DocumentFragment</code> containing the <var title="">new children</var> had been inserted.</p>
+    if a <code><a href=#documentfragment>DocumentFragment</a></code> containing the <var title="">new children</var> had been inserted.</p>
 
    </li>
 
@@ -16795,7 +16823,7 @@
   that represent <a href=#hyperlink title=hyperlink>hyperlinks</a> is to run
   the following steps:</p>
 
-  <ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
+  <ol><li><p>If the <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
    event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
    event being dispatched), and the <code><a href=#the-a-element>a</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
    applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
@@ -16804,13 +16832,13 @@
    browsing context, then raise an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
    exception and abort these steps.</li>
 
-   <li><p>If the target of the <code title=event-click>click</code>
+   <li><p>If the target of the <code title=event-click><a href=#event-click>click</a></code>
    event is an <code><a href=#the-img-element>img</a></code> element with an <code title=attr-img-ismap><a href=#attr-img-ismap>ismap</a></code> attribute specified, then
    server-side image map processing must be performed, as follows:</p>
 
-    <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-DOMActivate>DOMActivate</code>
+    <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-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
      event was dispatched as the result of a real
-     pointing-device-triggered <code title=event-click>click</code>
+     pointing-device-triggered <code title=event-click><a href=#event-click>click</a></code>
      event on the <code><a href=#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 one, or the left edge of
      the image otherwise, to the location of the click, and let <var title="">y</var> be the distance in CSS pixels from the top edge
@@ -27349,7 +27377,7 @@
   </div>
 
 
-  <h6 id=text><span class=secno>4.8.10.1.10 </span>Text</h6> <!-- a v3 feature -->
+  <h6 id=text-0><span class=secno>4.8.10.1.10 </span>Text</h6> <!-- a v3 feature -->
 
   <dl class=domintro><dt><var title="">context</var> . <code title=dom-context-2d-font><a href=#dom-context-2d-font>font</a></code> [ = <var title="">value</var> ]</dt>
 
@@ -28788,7 +28816,7 @@
   <p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-area-element>area</a></code>
   elements is to run the following steps:</p>
 
-  <ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
+  <ol><li><p>If the <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
    event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
    event being dispatched), and the <code><a href=#the-area-element>area</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
    applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
@@ -38340,7 +38368,7 @@
   a <a href=#using-the-option-element-to-define-a-command title=option-command>menu command</a>, or through any
   other mechanism), and before the relevant user interaction event
   <!-- interaction event spec point --> is queued (e.g. before the
-  <span title=event-click>click</span> event), the user agent must
+  <a href=#event-click title=event-click>click</a> event), the user agent must
   set the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> of the
   picked <code><a href=#the-option-element>option</a></code> element to true and then <a href=#queue-a-task>queue a
   task</a> to <a href=#fire-a-simple-event>fire a simple event</a> that bubbles named
@@ -38377,7 +38405,7 @@
   mechanism). Upon the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> of one or
   more <code><a href=#the-option-element>option</a></code> elements being changed by the user, and
   before the relevant user interaction event <!-- interaction event
-  spec point --> is queued (e.g. before a related <span title=event-click>click</span> event), the user agent must
+  spec point --> is queued (e.g. before a related <a href=#event-click title=event-click>click</a> event), the user agent must
   <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> that
   bubbles named <code title=event-change>change</code> at the
   <code><a href=#the-select-element>select</a></code> element, using the <a href=#user-interaction-task-source>user interaction task
@@ -38813,7 +38841,7 @@
 
   <div class=impl>
 
-  <p>An <code><a href=#the-option-element>option</a></code> element that is <a href=#attr-option-disabled title=attr-option-disabled>disabled</a> must prevent any <code title=event-click>click</code> events that are <a href=#queue-a-task title="queue
+  <p>An <code><a href=#the-option-element>option</a></code> element that is <a href=#attr-option-disabled title=attr-option-disabled>disabled</a> must prevent any <code title=event-click><a href=#event-click>click</a></code> events that are <a href=#queue-a-task title="queue
   a task">queued</a> on the <a href=#user-interaction-task-source>user interaction task
   source</a> from being dispatched on the element.</p>
 
@@ -38954,7 +38982,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>Node</code> with node type <code title="">TEXT_NODE</code> (3)
+  <code><a href=#node>Node</a></code> with node type <code title="">TEXT_NODE</code> (3)
   whose data is the value of that argument<!-- we mention TEXT_NODE
   and all that explicitly here because we redefine "text node" in this
   spec to also include CDATA sections -->. If the <var title="">value</var> argument is present, the new object must have a
@@ -40431,7 +40459,7 @@
 
   <div class=impl>
 
-  <p>A form control that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a> must prevent any <code title=event-click>click</code> events that are <a href=#queue-a-task title="queue
+  <p>A form control that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a> must prevent any <code title=event-click><a href=#event-click>click</a></code> events that are <a href=#queue-a-task title="queue
   a task">queued</a> on the <a href=#user-interaction-task-source>user interaction task
   source</a> from being dispatched on the element.</p>
 
@@ -44845,7 +44873,7 @@
 
    <dd><p>The element has no <a href=#activation-behavior>activation behavior</a>.</dd>
 
-  </dl><p class=note>Firing a synthetic <code title=event-click>click</code> event at the element does not cause
+  </dl><p class=note>Firing a synthetic <code title=event-click><a href=#event-click>click</a></code> event at the element does not cause
   any of the actions described above to happen.</p>
 
   <!-- v2COMMAND: the command="" attribute to make a <command> element
@@ -45117,8 +45145,8 @@
   attribute gives the element's <a href=#context-menus title="context menus">context
   menu</a>. The value must be the ID of a <code><a href=#menus>menu</a></code> element
   in the DOM. <span class=impl>If the node that would be obtained by
-  the invoking the <code><a href=#getelementbyid()>getElementById()</a></code> method using the
-  attribute's value as the only argument is null or not a
+  the invoking the <code title=dom-Document-getElementById><a href=#dom-document-getelementbyid>getElementById()</a></code> method
+  using the attribute's value as the only argument is null or not a
   <code><a href=#menus>menu</a></code> element, then the element has no assigned context
   menu. Otherwise, the element's assigned context menu is the element
   so identified.</span></p>
@@ -52851,7 +52879,7 @@
 
   <div class=impl>
 
-  <p>Events that use the <code>UIEvent</code> interface are related to
+  <p>Events that use the <code><a href=#uievent>UIEvent</a></code> interface are related to
   a specific <a href=#view>view</a> (the view in which the event happened);
   when that <a href=#view>view</a> is the <a href=#default-view>default view</a>, the
   event object's <code title="">view</code> attribute's must return
@@ -54254,7 +54282,7 @@
 
      <dt>If a <code><a href=#document>Document</a></code> or image was obtained in some
      other manner (e.g. a <code title="">data:</code> URL typed in by
-     the user, a <code><a href=#document>Document</a></code> created using the <code title=dom-DOMImplementation-createDocument>createDocument()</code>
+     the user, a <code><a href=#document>Document</a></code> created using the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
      API, etc)</dt>
 
      <dd>The <a href=#origin>origin</a> is a globally unique identifier
@@ -56143,7 +56171,7 @@
      <i>specified entry</i>'s <code><a href=#document>Document</a></code> is "complete",
      <a href=#queue-a-task>queue a task</a> to fire a <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> event at the
      <code><a href=#window>Window</a></code> object of that <code><a href=#document>Document</a></code>, but
-     with its <code title=dom-event-target>target</code> set to the
+     with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
      <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
      <code><a href=#window>Window</a></code> object), using the
      <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code>
@@ -56427,7 +56455,7 @@
 
   <ol><li><p>Fire a <code title=event-pagehide><a href=#event-pagehide>pagehide</a></code> event at
    the <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code>, but
-   with its <code title=dom-event-target>target</code> set to the
+   with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
    <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
    <code><a href=#window>Window</a></code> object), using the
    <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code>
@@ -59137,7 +59165,7 @@
     <p>This <a href=#task-source>task source</a> is used for features that react
     to user interaction, for example keyboard or mouse input.</p>
 
-    <p>Asynchronous events sent in response to user input (e.g. <span title=event-click>click</span> events) must be dispatched using
+    <p>Asynchronous events sent in response to user input (e.g. <a href=#event-click title=event-click>click</a> events) must be dispatched using
     <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a
     task">queued</a> with the <a href=#user-interaction-task-source>user interaction task
     source</a>. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
@@ -59561,7 +59589,7 @@
     <tr><td><dfn id=handler-oncanplay title=handler-oncanplay><code>oncanplay</code></dfn> <td> <code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code>
     <tr><td><dfn id=handler-oncanplaythrough title=handler-oncanplaythrough><code>oncanplaythrough</code></dfn> <td> <code title=event-media-canplaythrough><a href=#event-media-canplaythrough>canplaythrough</a></code>
     <tr><td><dfn id=handler-onchange title=handler-onchange><code>onchange</code></dfn> <td> <code title=event-change>change</code> <!-- widely used -->
-    <tr><td><dfn id=handler-onclick title=handler-onclick><code>onclick</code></dfn> <td> <code title=event-click>click</code> <!-- widely used -->
+    <tr><td><dfn id=handler-onclick title=handler-onclick><code>onclick</code></dfn> <td> <code title=event-click><a href=#event-click>click</a></code> <!-- widely used -->
     <tr><td><dfn id=handler-oncontextmenu title=handler-oncontextmenu><code>oncontextmenu</code></dfn> <td> <code title=event-contextmenu>contextmenu</code> <!-- widely used -->
     <tr><td><dfn id=handler-ondblclick title=handler-ondblclick><code>ondblclick</code></dfn> <td> <code title=event-dblclick>dblclick</code> <!-- widely used -->
     <tr><td><dfn id=handler-ondrag title=handler-ondrag><code>ondrag</code></dfn> <td> <code title=event-drag><a href=#event-drag>drag</a></code>
@@ -59666,10 +59694,10 @@
   <p>Certain operations and methods are defined as firing events on
   elements. For example, the <code title=dom-click><a href=#dom-click>click()</a></code>
   method on the <code><a href=#htmlelement>HTMLElement</a></code> interface is defined as
-  firing a <code title=event-click>click</code> event on the
+  firing a <code title=event-click><a href=#event-click>click</a></code> event on the
   element. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
 
-  <p><dfn id=fire-a-click-event title="fire a click event">Firing a <code title=event-click>click</code> event</dfn> means that a <code title=event-click>click</code> event, which bubbles and is
+  <p><dfn id=fire-a-click-event title="fire a click event">Firing a <code title=event-click>click</code> event</dfn> means that a <code title=event-click><a href=#event-click>click</a></code> event, which bubbles and is
   cancelable, and which uses the <code>MouseEvent</code> interface,
   must be dispatched at the given target. The event object must have
   its <code title="">screenX</code>, <code title="">screenY</code>,
@@ -61291,7 +61319,7 @@
 
   <p class=note>This means that an element that is only focusable
   because of its <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute
-  will fire a <code title=event-click>click</code> event in response
+  will fire a <code title=event-click><a href=#event-click>click</a></code> event in response
   to a non-mouse activation (e.g. hitting the "enter" key while the
   element is focused).</p>
 
@@ -64090,8 +64118,7 @@
    node.</li>
 
    <li>Changes to the DOM hierarchy of nodes that are descendants of
-   the <code><a href=#htmldocument>HTMLDocument</a></code> object (<code>parentNode</code>,
-   <code>childNodes</code>).</li>
+   the <code><a href=#htmldocument>HTMLDocument</a></code> object (<code title=dom-Node-parentNode><a href=#dom-node-parentnode>parentNode</a></code>, <code title=dom-Node-childNodes><a href=#dom-node-childnodes>childNodes</a></code>).</li>
 
    <li>Changes to internal state, such as a form control's <a href=#concept-fe-value title=concept-fe-value>value</a> or <a href=#concept-input-checked-dirty-flag title=concept-input-checked-dirty-flag>dirty checkedness
    flag</a>.</li>
@@ -66509,7 +66536,7 @@
   GREATER-THAN SIGN (>), or U+002F SOLIDUS (/).</p>
 
 
-  <h4 id=text-0><span class=secno>10.1.3 </span>Text</h4>
+  <h4 id=text-1><span class=secno>10.1.3 </span>Text</h4>
 
   <p><dfn id=syntax-text title=syntax-text>Text</dfn> is allowed inside elements,
   attributes, and comments. Text must consist of Unicode characters.
@@ -70039,10 +70066,10 @@
   <p>When the steps below require the UA to <dfn id=insert-a-character>insert a
   character</dfn> into a node, if that node has a child immediately
   before where the character is to be inserted, and that child is a
-  <code>Text</code> node, and that <code>Text</code> node was the last
+  <code><a href=#text>Text</a></code> node, and that <code><a href=#text>Text</a></code> node was the last
   node that the parser inserted into the document, then the character
-  must be appended to that <code>Text</code> node; otherwise, a new
-  <code>Text</code> node whose data is just that character must be
+  must be appended to that <code><a href=#text>Text</a></code> node; otherwise, a new
+  <code><a href=#text>Text</a></code> node whose data is just that character must be
   inserted in the appropriate place.</p>
 
   <div class=example>
@@ -70337,7 +70364,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -70390,7 +70417,7 @@
     HTML4-era document, and defer to an HTML4 conformance
     checker.)</p>
 
-    <p>Append a <code>DocumentType</code> node to the
+    <p>Append a <code><a href=#documenttype>DocumentType</a></code> node to the
     <code><a href=#document>Document</a></code> node, with the <code title="">name</code>
     attribute set to the name given in the DOCTYPE token, or the empty
     string if the name was missing; the <code title="">publicId</code>
@@ -70399,8 +70426,8 @@
     <code title="">systemId</code> attribute set to the system
     identifier given in the DOCTYPE token, or the empty string if the
     system identifier was missing; and the other attributes specific
-    to <code>DocumentType</code> objects set to null and empty lists
-    as appropriate. Associate the <code>DocumentType</code> node with
+    to <code><a href=#documenttype>DocumentType</a></code> objects set to null and empty lists
+    as appropriate. Associate the <code><a href=#documenttype>DocumentType</a></code> node with
     the <code><a href=#document>Document</a></code> object so that it is returned as the
     value of the <code title="">doctype</code> attribute of the
     <code><a href=#document>Document</a></code> object.</p>
@@ -70529,7 +70556,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -70615,7 +70642,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -70682,7 +70709,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -70904,7 +70931,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -71002,7 +71029,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -72352,7 +72379,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -72641,7 +72668,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -73001,7 +73028,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -73187,7 +73214,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -73408,7 +73435,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the first element in
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the first element in
     the <a href=#stack-of-open-elements>stack of open elements</a> (the <code><a href=#the-html-element-0>html</a></code>
     element), with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
@@ -73466,7 +73493,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -73560,7 +73587,7 @@
 
    <dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <a href=#current-node>current
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <a href=#current-node>current
     node</a> with the <code title="">data</code> attribute set to
     the data given in the comment token.</p>
    </dd>
@@ -73605,7 +73632,7 @@
 
   <dl class=switch><dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -73639,7 +73666,7 @@
 
   <dl class=switch><dt>A comment token</dt>
    <dd>
-    <p>Append a <code>Comment</code> node to the <code><a href=#document>Document</a></code>
+    <p>Append a <code><a href=#comment-0>Comment</a></code> node to the <code><a href=#document>Document</a></code>
     object with the <code title="">data</code> attribute set to the
     data given in the comment token.</p>
    </dd>
@@ -73736,14 +73763,14 @@
    context</a>, then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a
    simple event</a> named <code title=event-load>load</code> at
    the <code><a href=#document>Document</a></code>'s <code><a href=#window>Window</a></code> object, but with
-   its <code title=dom-event-target>target</code> set to the
+   its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
    <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
    <code><a href=#window>Window</a></code> object).</li>
 
    <li><p>If the <code><a href=#document>Document</a></code> is in a <a href=#browsing-context>browsing
    context</a>, then <a href=#queue-a-task>queue a task</a> to fire a <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> event at the
    <code><a href=#window>Window</a></code> object of the <code><a href=#document>Document</a></code>, but with
-   its <code title=dom-event-target>target</code> set to the
+   its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
    <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the
    <code><a href=#window>Window</a></code> object), using the
    <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code>
@@ -76812,7 +76839,7 @@
   regular text, character references, and CDATA sections to represent
   <a href=#text-node title="text node">text nodes</a> in the DOM (and indeed
   might be forced to use representations that don't match the DOM's,
-  e.g. if a <code>CDATASection</code> node contains the string "<code title="">]]></code>").</p>
+  e.g. if a <code><a href=#cdatasection>CDATASection</a></code> node contains the string "<code title="">]]></code>").</p>
 
   <p>For <code><a href=#element>Element</a></code>s, if any of the elements in the
   serialization are in no namespace, the default namespace in scope
@@ -76834,11 +76861,11 @@
 
   <ul><li>A <code><a href=#document>Document</a></code> node with no child element nodes.</li>
 
-   <li>A <code>DocumentType</code> node that has an external subset
+   <li>A <code><a href=#documenttype>DocumentType</a></code> node that has an external subset
    public identifier that contains characters that are not matched by
    the XML <code title="">PubidChar</code> production. <a href=#refsXML>[XML]</a></li>
 
-   <li>A <code>DocumentType</code> node that has an external subset
+   <li>A <code><a href=#documenttype>DocumentType</a></code> node that has an external subset
    system identifier that contains both a U+0022 QUOTATION MARK (")
    and a U+0027 APOSTROPHE (') or that contains characters that are
    not matched by the XML <code title="">Char</code> production. <a href=#refsXML>[XML]</a></li>
@@ -76851,31 +76878,31 @@
    the XML <code title="">Name</code> production. <a href=#refsXML>[XML]</a></li> <!--(again, prefixes can get
    adjusted, so this isn't an excuse) -->
 
-   <li>An <code>Attr</code> node with no namespace whose local name is
+   <li>An <code><a href=#attr>Attr</a></code> node with no namespace whose local name is
    the lowercase string "<code title="">xmlns</code>". <a href=#refsXMLNS>[XMLNS]</a></li>
 
    <li>An <code><a href=#element>Element</a></code> node with two or more attributes with
    the same local name and namespace.</li>
 
-   <li>An <code>Attr</code> node, <code>Text</code> node,
-   <code>CDATASection</code> node, <code>Comment</code> node, or
-   <code>ProcessingInstruction</code> node whose data contains
+   <li>An <code><a href=#attr>Attr</a></code> node, <code><a href=#text>Text</a></code> node,
+   <code><a href=#cdatasection>CDATASection</a></code> node, <code><a href=#comment-0>Comment</a></code> node, or
+   <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose data contains
    characters that are not matched by the XML <code title="">Char</code> production. <a href=#refsXML>[XML]</a></li>
 
    <!--<li>A <code>CDATASection</code> node whose data contains the
    string "<code title="">]]></code>".</li> (these can be split)-->
 
-   <li>A <code>Comment</code> node whose data contains two adjacent
+   <li>A <code><a href=#comment-0>Comment</a></code> node whose data contains two adjacent
    U+002D HYPHEN-MINUS characters (-) or ends with such a
    character.</li>
 
-   <li>A <code>ProcessingInstruction</code> node whose target name is
+   <li>A <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose target name is
    an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">xml</code>".</li>
 
-   <li>A <code>ProcessingInstruction</code> node whose target name
+   <li>A <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose target name
    contains a U+003A COLON (:).</li>
 
-   <li>A <code>ProcessingInstruction</code> node whose data contains
+   <li>A <code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose data contains
    the string "<code title="">?></code>".</li>
 
   </ul><p class=note>These are the only ways to make a DOM
@@ -79229,7 +79256,7 @@
   ':visited' pseudo-classes, will react to clicks if visible, and so
   forth, this does not extend to any browser interface constructs that
   expose those same links. Activating a link through the browser's
-  interface, rather than in the page itself, does not trigger <code title=event-click>click</code> events and the like.</p>
+  interface, rather than in the page itself, does not trigger <code title=event-click><a href=#event-click>click</a></code> events and the like.</p>
 
 
 
@@ -83462,7 +83489,7 @@
 
     <tr><th> <code title="">onclick</code>
      <td> <a href=#handler-onclick title=handler-onclick>HTML elements</a>
-     <td> <code title=event-click>click</code> event handler
+     <td> <code title=event-click><a href=#event-click>click</a></code> event handler
      <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
 
     <tr><th> <code title="">oncontextmenu</code>
@@ -84110,7 +84137,7 @@
    <thead><tr><th> Event
      <th> Interface
      <th> Description
-   <tbody><tr><td> <code title=event-DOMActivate>DOMActivate</code>
+   <tbody><tr><td> <code title=event-DOMActivate><a href=#event-domactivate>DOMActivate</a></code>
      <td> <code><a href=#event>Event</a></code>
      <td> Fired at an element before its <a href=#activation-behavior>activation behavior</a> is run
 

Modified: source
===================================================================
--- source	2010-03-30 22:23:47 UTC (rev 4909)
+++ source	2010-03-30 22:47:22 UTC (rev 4910)
@@ -1492,8 +1492,8 @@
 
   <p>The term <dfn>tree order</dfn> means a pre-order, depth-first
   traversal of DOM nodes involved (through the <code
-  title="">parentNode</code>/<code title="">childNodes</code>
-  relationship).</p>
+  title="dom-Node-parentNode">parentNode</code>/<code
+  title="dom-Node-childNodes">childNodes</code> relationship).</p>
 
   <p>When it is stated that some element or attribute is <dfn
   title="ignore">ignored</dfn>, or treated as some other value, or
@@ -1974,19 +1974,49 @@
 
     <p>In particular, the following features are defined in the DOM
     Core specification: <a href="#refsDOMCORE">[DOMCORE]</a></p>
+
     <ul class="brief">
-     <li><dfn><code>Document</code></dfn></li>
-     <li><dfn><code>Element</code></dfn></li>
-     <li><dfn><code>NodeList</code></dfn></li>
-     <li><dfn><code>textContent</code></dfn></li>
-     <li><dfn><code>getElementById()</code></dfn></li>
+
+     <li><dfn><code>Attr</code></dfn> interface</li>
+     <li><dfn><code>CDATASection</code></dfn> interface</li>
+     <li><dfn><code>Comment</code></dfn> interface</li>
+     <li><dfn><code>DOMImplementation</code></dfn> interface</li>
+     <li><dfn><code>Document</code></dfn> interface</li>
+     <li><dfn><code>DocumentFragment</code></dfn> interface</li>
+     <li><dfn><code>DocumentType</code></dfn> interface</li>
+     <li><dfn><code>DOMException</code></dfn> interface</li>
+     <li><dfn><code>Element</code></dfn> interface</li>
+     <li><dfn><code>Node</code></dfn> interface</li>
+     <li><dfn><code>NodeList</code></dfn> interface</li>
+     <li><dfn><code>ProcessingInstruction</code></dfn> interface</li>
+     <li><dfn><code>Text</code></dfn> interface</li>
+
+     <li><dfn title="dom-DOMImplementation-createDocument"><code>createDocument()</code></dfn> method</li>
+     <li><dfn title="dom-Document-getElementById"><code>getElementById()</code></dfn> method</li>
+     <li><dfn title="dom-Node-insertBefore"><code>insertBefore()</code></dfn> method</li>
+
+     <li><dfn title="dom-Node-childNodes"><code>childNodes</code></dfn> attribute </li>
+     <li><dfn title="dom-Node-localName"><code>localName</code></dfn> attribute </li>
+     <li><dfn title="dom-Node-parentNode"><code>parentNode</code></dfn> attribute </li>
+     <li><dfn title="dom-Element-tagName"><code>tagName</code></dfn> attribute </li>
+     <li><dfn><code>textContent</code></dfn> attribute </li>
+
     </ul>
 
     <p>The following features are defined in the DOM Events
     specification: <a href="#refsDOMEVENTS">[DOMEVENTS]</a></p>
+
     <ul class="brief">
-     <li><dfn><code>Event</code></dfn></li>
-     <li><dfn><code>EventTarget</code></dfn></li>
+
+     <li><dfn><code>Event</code></dfn> interface</li>
+     <li><dfn><code>EventTarget</code></dfn> interface</li>
+     <li><dfn><code>UIEvent</code></dfn> interface</li>
+
+     <li><dfn title="event-click"><code>click</code></dfn> event</li>
+     <li><dfn title="event-DOMActivate"><code>DOMActivate</code></dfn> event</li>
+
+     <li><dfn title="dom-Event-target"><code>target</code></dfn> attribute</li>
+
     </ul>
 
    </dd>
@@ -5777,7 +5807,7 @@
    IDL attribute must return null.</li>
 
    <li>Let <var title="">candidate</var> be the element that the <code
-   title="getElementById()">document.getElementById()</code> method
+   title="dom-Document-getElementById">document.getElementById()</code> method
    would find when called on the content attribute's document if it
    was passed as its argument the current value of the corresponding
    content attribute.</li>
@@ -6369,8 +6399,8 @@
    <code>HTMLOptionsCollection</code> is rooted.</p></li>
 
    <li><p>Act as if the DOM Core <code
-   title="dom-insertBefore">insertBefore()</code> method was invoked
-   on the <var title="">parent</var> node, with <var
+   title="dom-Node-insertBefore">insertBefore()</code> method was
+   invoked on the <var title="">parent</var> node, with <var
    title="">element</var> as the first argument and <var
    title="">reference</var> as the second argument.</p>
 
@@ -8604,7 +8634,8 @@
   the element with the given value (exactly, including any space
   characters) for the purposes of ID matching within the element's
   <span>home subtree</span> (e.g. for selectors in CSS or for the
-  <code>getElementById()</code> method in the DOM).</p>
+  <code title="dom-Document-getElementById">getElementById()</code>
+  method in the DOM).</p>
 
   <p>Identifiers are opaque strings. Particular meanings should not be
   derived from the value of the <code title="attr-id">id</code>
@@ -10458,8 +10489,8 @@
 
   <dl>
 
-   <dt><code title="">Element.tagName</code> and <code
-   title="">Node.nodeName</code></dt>
+   <dt><code title="dom-Element-tagName">Element.tagName</code> and <code
+   title="dom-Node-nodeName">Node.nodeName</code></dt>
 
    <dd>
 
@@ -10470,7 +10501,7 @@
    </dd>
 
 
-   <dt><code title="">Document.createElement()</code></dt>
+   <dt><code title="dom-Document-createElement">Document.createElement()</code></dt>
 
    <dd>
 
@@ -10485,16 +10516,16 @@
     by passing this last method a tag name in the wrong case, to
     create an element that appears to have the same tag name as that
     of an element defined in this specification when its <code
-    title="dom-tagName">tagName</code> attribute is examined, but that
+    title="dom-Element-tagName">tagName</code> attribute is examined, but that
     doesn't support the corresponding interfaces. The "real" element
     name (unaffected by case conversions) can be obtained from the
-    <code title="dom-localName">localName</code> attribute.</p>
+    <code title="dom-Node-localName">localName</code> attribute.</p>
 
    </dd>
 
 
-   <dt><code title="">Element.setAttribute()</code></dt>
-   <dt><code title="">Element.setAttributeNode()</code></dt>
+   <dt><code title="dom-Element-setAttribute">Element.setAttribute()</code></dt>
+   <dt><code title="dom-Element-setAttributeNode">Element.setAttributeNode()</code></dt>
 
    <dd>
 
@@ -10521,8 +10552,8 @@
    </dd>
 
 
-   <dt><code title="">Element.getAttribute()</code></dt>
-   <dt><code title="">Element.getAttributeNode()</code></dt>
+   <dt><code title="dom-Element-getAttribute">Element.getAttribute()</code></dt>
+   <dt><code title="dom-Element-getAttributeNode">Element.getAttributeNode()</code></dt>
 
    <dd>
 
@@ -10546,8 +10577,8 @@
    </dd>
 
 
-   <dt><code title="">Document.getElementsByTagName()</code></dt>
-   <dt><code title="">Element.getElementsByTagName()</code></dt>
+   <dt><code title="dom-Document-getElementsByTagName">Document.getElementsByTagName()</code></dt>
+   <dt><code title="dom-Element-getElementsByTagName">Element.getElementsByTagName()</code></dt>
 
    <dd>
 
@@ -50218,8 +50249,9 @@
   attribute gives the element's <span title="context menus">context
   menu</span>. The value must be the ID of a <code>menu</code> element
   in the DOM. <span class="impl">If the node that would be obtained by
-  the invoking the <code>getElementById()</code> method using the
-  attribute's value as the only argument is null or not a
+  the invoking the <code
+  title="dom-Document-getElementById">getElementById()</code> method
+  using the attribute's value as the only argument is null or not a
   <code>menu</code> element, then the element has no assigned context
   menu. Otherwise, the element's assigned context menu is the element
   so identified.</span></p>
@@ -72640,8 +72672,9 @@
    node.</li>
 
    <li>Changes to the DOM hierarchy of nodes that are descendants of
-   the <code>HTMLDocument</code> object (<code>parentNode</code>,
-   <code>childNodes</code>).</li>
+   the <code>HTMLDocument</code> object (<code
+   title="dom-Node-parentNode">parentNode</code>, <code
+   title="dom-Node-childNodes">childNodes</code>).</li>
 
    <li>Changes to internal state, such as a form control's <span
    title="concept-fe-value">value</span> or <span




More information about the Commit-Watchers mailing list