html5/spec Overview.html,1.5230,1.5231

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20728

Modified Files:
	Overview.html 
Log Message:
Remove bits now specced in DOMPARSING spec. (whatwg r6532)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5230
retrieving revision 1.5231
diff -u -d -r1.5230 -r1.5231
--- Overview.html	29 Aug 2011 07:33:42 -0000	1.5230
+++ Overview.html	4 Sep 2011 17:30:18 -0000	1.5231
@@ -321,7 +321,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-29-august-2011">Editor's Draft 29 August 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-4-september-2011">Editor's Draft 4 September 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -467,7 +467,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 29 August 2011 Editor's Draft.
+  This specification is the 4 September 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -627,10 +627,7 @@
      <li><a href="#opening-the-input-stream"><span class="secno">3.4.1 </span>Opening the input stream</a></li>
      <li><a href="#closing-the-input-stream"><span class="secno">3.4.2 </span>Closing the input stream</a></li>
      <li><a href="#document.write"><span class="secno">3.4.3 </span><code title="dom-document-write">document.write()</code></a></li>
-     <li><a href="#document.writeln"><span class="secno">3.4.4 </span><code title="dom-document-writeln">document.writeln()</code></a></li>
-     <li><a href="#innerhtml"><span class="secno">3.4.5 </span><code title="dom-innerHTML">innerHTML</code></a></li>
-     <li><a href="#outerhtml"><span class="secno">3.4.6 </span><code title="dom-outerHTML">outerHTML</code></a></li>
-     <li><a href="#insertadjacenthtml"><span class="secno">3.4.7 </span><code title="dom-insertAdjacentHTML">insertAdjacentHTML()</code></a></ol></ol></li>
+     <li><a href="#document.writeln"><span class="secno">3.4.4 </span><code title="dom-document-writeln">document.writeln()</code></a></ol></ol></li>
  <li><a href="#semantics"><span class="secno">4 </span>The elements of HTML</a>
   <ol>
    <li><a href="#the-root-element"><span class="secno">4.1 </span>The root element</a>
@@ -3188,7 +3185,17 @@
 
      <li><dfn id="event-click" title="event-click"><code>click</code></dfn> event</li>
 
-    </ul></dd>
+    </ul><p>In addition, user agents must implement the features defined in
+    the DOM Range, DOM Parsing and Serialization, HTML Editing APIs,
+    and UndoManager and DOM Transaction specifications that apply to
+    their conformance class.
+    <a href="#refsDOMRANGE">[DOMRANGE]</a>
+    <a href="#refsDOMPARSING">[DOMPARSING]</a>
+    <a href="#refsEDITING">[EDITING]</a>
+    <a href="#refsUNDO">[UNDO]</a>
+    </p>
+
+   </dd>
 
    <dt>File API</dt>
 
@@ -7679,7 +7686,6 @@
   NodeList <a href="#dom-document-getelementsbyname" title="dom-document-getElementsByName">getElementsByName</a>(DOMString elementName);
 
   // <a href="#dynamic-markup-insertion">dynamic markup insertion</a>
-           attribute DOMString <a href="#dom-innerhtml" title="dom-innerHTML">innerHTML</a>;
   <a href="#htmldocument">HTMLDocument</a> <a href="#dom-document-open" title="dom-document-open">open</a>(optional DOMString type, optional DOMString replace);
   <a href="#windowproxy">WindowProxy</a> <a href="#dom-document-open" title="dom-document-open">open</a>(DOMString url, DOMString name, DOMString features, optional boolean replace);
   void <a href="#dom-document-close" title="dom-document-close">close</a>();
@@ -8456,11 +8462,6 @@
   elements</a>' interfaces inherit, <span class="impl">and which
   must be used by elements that have no additional
   requirements,</span> is the <code><a href="#htmlelement">HTMLElement</a></code> interface.<pre class="idl">interface <dfn id="htmlelement">HTMLElement</dfn> : <a href="#element">Element</a> {
-  // <a href="#dynamic-markup-insertion">dynamic markup insertion</a>
-           attribute DOMString <a href="#dom-innerhtml" title="dom-innerHTML">innerHTML</a>;
-           attribute DOMString <a href="#dom-outerhtml" title="dom-outerHTML">outerHTML</a>;
-  void <a href="#dom-insertadjacenthtml" title="dom-insertAdjacentHTML">insertAdjacentHTML</a>(DOMString position, DOMString text);
-
   // <span>metadata attributes</span>
            attribute DOMString <a href="#dom-id" title="dom-id">id</a>;
            attribute DOMString <a href="#dom-title" title="dom-title">title</a>;
@@ -10844,390 +10845,7 @@
   invoked with the same argument(s), plus an extra argument consisting
   of a string containing a single line feed character (U+000A).</p>
 
-  </div><h4 id="innerhtml"><span class="secno">3.4.5 </span><code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code></h4><p>The <dfn id="dom-innerhtml" title="dom-innerHTML"><code>innerHTML</code></dfn> IDL
-  attribute represents the markup of the node's contents.<dl class="domintro"><dt><var title="">document</var> . <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> [ = <var title="">value</var> ]</dt>
-
-   <dd>
-
-    <p>Returns a fragment of HTML or XML that represents the
-    <code><a href="#document">Document</a></code>.</p>
-
-    <p>Can be set, to replace the <code><a href="#document">Document</a></code>'s contents
-    with the result of parsing the given string.</p>
-
-    <p>In the case of <a href="#xml-documents">XML documents</a>, will throw an
-    <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> if the <code><a href="#document">Document</a></code> cannot
-    be serialized to XML, and a <code><a href="#syntax_err">SYNTAX_ERR</a></code> if the given
-    string is not well-formed.</p>
-
-   </dd>
-
-   <dt><var title="">element</var> . <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> [ = <var title="">value</var> ]</dt>
-
-   <dd>
-
-    <p>Returns a fragment of HTML or XML that represents the element's
-    contents.</p>
-
-    <p>Can be set, to replace the contents of the element with nodes
-    parsed from the given string.</p>
-
-    <p>In the case of <a href="#xml-documents">XML documents</a>, will throw an
-    <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> if the element cannot be serialized
-    to XML, and a <code><a href="#syntax_err">SYNTAX_ERR</a></code> if the given string is not
-    well-formed.</p>
-
-   </dd>
-
-  </dl><div class="impl">
-
-  <p>On getting, if the node's document is an <a href="#html-documents" title="HTML
-  documents">HTML document</a>, then the attribute must return the
-  result of running the <a href="#html-fragment-serialization-algorithm">HTML fragment serialization
-  algorithm</a> on the node; otherwise, the node's document is an
-  <a href="#xml-documents" title="XML documents">XML document</a>, and the attribute
-  must return the result of running the <a href="#xml-fragment-serialization-algorithm">XML fragment
-  serialization algorithm</a> on the node instead (this might raise
-  an exception instead of returning a string).</p>
-
-  <p>On setting, the following steps must be run:</p>
-
-  <ol><li>
-
-    <p>If the node's document is an <a href="#html-documents" title="HTML documents">HTML
-    document</a>: Invoke the <a href="#html-fragment-parsing-algorithm">HTML fragment parsing
-    algorithm</a>.</p>
-
-    <p>If the node's document is an <a href="#xml-documents" title="XML documents">XML
-    document</a>: Invoke the <a href="#xml-fragment-parsing-algorithm">XML fragment parsing
-    algorithm</a>.</p>
-
-    <p>In either case, the algorithm must be invoked with the string
-    being assigned into the <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> attribute as the <var title="">input</var>. If the node is an <code><a href="#element">Element</a></code>
-    node, then, in addition, that element must be passed as the <var title="concept-frag-parse-context"><a href="#concept-frag-parse-context">context</a></var> element.</p>
-
-    <p>If this raises an exception, then abort these steps.</p>
-
-    <p>Otherwise, let <var title="">new children</var> be the nodes
-    returned.</p>
-
-   </li>
-
-   <li>
-
-    <p>If the attribute is being set on a <code><a href="#document">Document</a></code> node,
-    and that document has an <a href="#active-parser">active parser</a>, then abort
-    that parser.</p>
-
-   </li>
-
-   <li>
-
-    <p>Remove the child nodes of the node whose <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> attribute is being set,
-    firing appropriate mutation events.</p>
-
-   </li>
-
-   <li>
-
-    <p>If the attribute is being set on a <code><a href="#document">Document</a></code> node,
-    let <var title="">target document</var> be that
-    <code><a href="#document">Document</a></code> node. Otherwise, the attribute is being set
-    on an <code><a href="#element">Element</a></code> node; let <var title="">target
-    document</var> be the <code title="dom-Node-ownerDocument"><a href="#dom-node-ownerdocument">ownerDocument</a></code> of that
-    <code><a href="#element">Element</a></code>.</p>
-
-   </li>
-
-   <li>
-
-    <p>Set the <code title="dom-Node-ownerDocument"><a href="#dom-node-ownerdocument">ownerDocument</a></code> of all the
-    nodes in <var title="">new children</var> to the <var title="">target document</var>.</p>
-
-   </li>
-
-   <li>
-
-    <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><a href="#documentfragment">DocumentFragment</a></code> containing the <var title="">new children</var> had been inserted.</p>
-
-   </li>
-
-  </ol></div><h4 id="outerhtml"><span class="secno">3.4.6 </span><code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code></h4><p>The <dfn id="dom-outerhtml" title="dom-outerHTML"><code>outerHTML</code></dfn> IDL
-  attribute represents the markup of the element and its contents.<dl class="domintro"><dt><var title="">element</var> . <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> [ = <var title="">value</var> ]</dt>
-
-   <dd>
-
-    <p>Returns a fragment of HTML or XML that represents the element
-    and its contents.</p>
-
-    <p>Can be set, to replace the element with nodes parsed from the
-    given string.</p>
-
-    <p>In the case of <a href="#xml-documents">XML documents</a>, will throw an
-    <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> if the element cannot be serialized
-    to XML, and a <code><a href="#syntax_err">SYNTAX_ERR</a></code> if the given string is not
-    well-formed.</p>
-
-    <p>Throws a <code><a href="#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception if
-    the parent of the element is the <code><a href="#document">Document</a></code>
-    node.</p>
-
-   </dd>
-
-  </dl><div class="impl">
-
-  <p>On getting, if the node's document is an <a href="#html-documents" title="HTML
-  documents">HTML document</a>, then the attribute must return the
-  result of running the <a href="#html-fragment-serialization-algorithm">HTML fragment serialization
-  algorithm</a> on a fictional node whose only child is the node on
-  which the attribute was invoked; otherwise, the node's document is
-  an <a href="#xml-documents" title="XML documents">XML document</a>, and the
-  attribute must return the result of running the <a href="#xml-fragment-serialization-algorithm">XML fragment
-  serialization algorithm</a> on that fictional node instead (this
-  might raise an exception instead of returning a string).</p>
-
-  <p>On setting, the following steps must be run:</p>
-
-  <ol><li>
-
-    <p>Let <var title="">target</var> be the element whose <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> attribute is being
-    set.</p>
-
-   </li>
-
-   <li>
-
-    <p>If <var title="">target</var> has no parent node, then abort
-    these steps. There would be no way to obtain a reference to the
-    nodes created even if the remaining steps were run.</p>
-
-   </li>
-
-   <li>
-
-    <p>If <var title="">target</var>'s parent node is a
-    <code><a href="#document">Document</a></code> object, throw a
-    <code><a href="#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception and abort these
-    steps.</p>
-
-   </li>
-
-   <li>
-
-    <p>Let <var title="">parent</var> be <var title="">target</var>'s
-    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">body</a></code> element.</p>
-
-   </li>
-
-   <li>
-
-    <p>If <var title="">target</var>'s document is an <a href="#html-documents" title="HTML documents">HTML document</a>: Invoke the <a href="#html-fragment-parsing-algorithm">HTML
-    fragment parsing algorithm</a>.</p>
-
-    <p>If <var title="">target</var>'s document is an <a href="#xml-documents" title="XML
-    documents">XML document</a>: Invoke the <a href="#xml-fragment-parsing-algorithm">XML fragment
-    parsing algorithm</a>.</p>
-
-    <p>In either case, the algorithm must be invoked with the string
-    being assigned into the <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> attribute as the <var title="">input</var>, and <var title="">parent</var> as the <var title="concept-frag-parse-context"><a href="#concept-frag-parse-context">context</a></var> element.</p>
-
-    <p>If this raises an exception, then abort these steps.</p>
-
-    <p>Otherwise, let <var title="">new children</var> be the nodes
-    returned.</p>
-
-   </li>
-
-   <li>
-
-    <p>Set the <code title="dom-Node-ownerDocument"><a href="#dom-node-ownerdocument">ownerDocument</a></code> of all the
-    nodes in <var title="">new children</var> to <var title="">target</var>'s document.</p>
-
-   </li>
-
-   <li>
-
-    <p>Remove <var title="">target</var> from its parent node, firing
-    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><a href="#documentfragment">DocumentFragment</a></code> containing the <var title="">new
-    children</var> had been inserted.</p>
-
-   </li>
-
-  </ol></div><h4 id="insertadjacenthtml"><span class="secno">3.4.7 </span><code title="dom-insertAdjacentHTML"><a href="#dom-insertadjacenthtml">insertAdjacentHTML()</a></code></h4><dl class="domintro"><dt><var title="">element</var> . <code title="dom-insertAdjacentHTML"><a href="#dom-insertadjacenthtml">insertAdjacentHTML</a></code>(<var title="">position</var>, <var title="">text</var>)</dt>
-
-   <dd>
-
-    <p>Parses the given string <var title="">text</var> as HTML or XML
-    and inserts the resulting nodes into the tree in the position
-    given by the <var title="">position</var> argument, as
-    follows:</p>
-
-    <dl><dt>"beforebegin"</dt>
-     <dd>Before the element itself.</dd>
-     <dt>"afterbegin"</dt>
-     <dd>Just inside the element, before its first child.</dd>
-     <dt>"beforeend"</dt>
-     <dd>Just inside the element, after its last child.</dd>
-     <dt>"afterend"</dt>
-     <dd>After the element itself.</dd>
-    </dl><p>Throws a <code><a href="#syntax_err">SYNTAX_ERR</a></code> exception if the arguments
-    have invalid values (e.g., in the case of <a href="#xml-documents">XML
-    documents</a>, if the given string is not well-formed).</p>
-
-    <p>Throws a <code><a href="#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception if
-    the given position isn't possible (e.g. inserting elements after
-    the root element of a <code><a href="#document">Document</a></code>).</p>
-
-   </dd>
-
-  </dl><div class="impl">
-
-  <p>The <dfn id="dom-insertadjacenthtml" title="dom-insertAdjacentHTML"><code>insertAdjacentHTML(<var title="">position</var>, <var title="">text</var>)</code></dfn>
-  method, when invoked, must run the following algorithm:</p>
-
-  <ol><li>
-
-    <p>Let <var title="">position</var> and <var title="">text</var>
-    be the method's first and second arguments, respectively.</p>
-
-   </li>
-
-   <li>
-
-    <p>Let <var title="">target</var> be the element on which the
-    method was invoked.</p>
-
-   </li>
-
-   <li>
-
-    <p>Use the first matching item from this list:</p>
-
-    <dl><dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "beforebegin"</dt>
-     <dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "afterend"</dt>
-
-     <dd>
-
-      <p>If <var title="">target</var> has no parent node, then abort
-      these steps.</p>
-
-      <p>If <var title="">target</var>'s parent node is a
-      <code><a href="#document">Document</a></code> object, then throw a
-      <code><a href="#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception and abort
-      these steps.
-
-      <p>Otherwise, let <var title="">destination</var> be the parent node
-      of <var title="">target</var>.</p>
-
-     </dd>
-
-     <dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "afterbegin"</dt>
-     <dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "beforeend"</dt>
-
-     <dd>
-
-      <p>Let <var title="">destination</var> be the same as <var title="">target</var>.</p>
-
-     </dd>
-
-     <dt>Otherwise</dt>
-
-     <dd>
-
-      <p>Throw a <code><a href="#syntax_err">SYNTAX_ERR</a></code> exception.</p>
-
-     </dd>
-
-    </dl></li>
-
-   <li>
-
-    <p>If <var title="">target</var>'s document is an <a href="#html-documents" title="HTML documents">HTML document</a>: Invoke the <a href="#html-fragment-parsing-algorithm">HTML
-    fragment parsing algorithm</a>.</p>
-
-    <p>If <var title="">target</var>'s document is an <a href="#xml-documents" title="XML
-    documents">XML document</a>: Invoke the <a href="#xml-fragment-parsing-algorithm">XML fragment
-    parsing algorithm</a>.</p>
-
-    <p>In either case, the algorithm must be invoked with <var title="">text</var> as the <var title="">input</var>, and <var title="">destination</var> as the <var title="concept-frag-parse-context"><a href="#concept-frag-parse-context">context</a></var> element.</p>
-
-    <p>If this raises an exception, then abort these steps.</p>
-
-    <p>Otherwise, let <var title="">new children</var> be the nodes
-    returned.</p>
-
-   </li>
-
-   <li>
-
-    <p>Set the <code title="dom-Node-ownerDocument"><a href="#dom-node-ownerdocument">ownerDocument</a></code> of all the
-    nodes in <var title="">new children</var> to <var title="">target</var>'s document.</p>
-
-   </li>
-
-   <li>
-
-    <p>Use the first matching item from this list:</p>
-
-    <dl><dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "beforebegin"</dt>
-
-     <dd>
-
-      <p>Insert all the <var title="">new children</var> nodes
-      immediately before <var title="">target</var>.</p>
-
-     </dd>
-
-     <dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "afterbegin"</dt>
-
-     <dd>
-
-      <p>Insert all the <var title="">new children</var> nodes before
-      the first child of <var title="">target</var>, if there is
-      one. If there is no such child, append them all to <var title="">target</var>.</p>
-
-     </dd>
-
-     <dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "beforeend"</dt>
-
-     <dd>
-
-      <p>Append all the <var title="">new children</var> nodes to <var title="">target</var>.</p>
-
-     </dd>
-
-     <dt>If <var title="">position</var> is an <a href="#ascii-case-insensitive">ASCII
-     case-insensitive</a> match for the string "afterend"</dt>
-
-     <dd>
-
-      <p>Insert all the <var title="">new children</var> nodes
-      immediately after <var title="">target</var>.</p>
-
-     </dd>
-
-    </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><a href="#documentfragment">DocumentFragment</a></code> containing the <var title="">new children</var> had been inserted.</p>
-
-   </li>
-
-  </ol></div><h2 id="semantics"><span class="secno">4 </span>The elements of HTML</h2><h3 id="the-root-element"><span class="secno">4.1 </span>The root element</h3><h4 id="the-html-element"><span class="secno">4.1.1 </span>The <dfn><code>html</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
+  </div><h2 id="semantics"><span class="secno">4 </span>The elements of HTML</h2><h3 id="the-root-element"><span class="secno">4.1 </span>The root element</h3><h4 id="the-html-element"><span class="secno">4.1.1 </span>The <dfn><code>html</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd>None.</dd>
    <dt>Contexts in which this element can be used:</dt>
    <dd>As the root element of a document.</dd>
@@ -13138,7 +12756,7 @@
     scripts in documents created by <code>XSLTProcessor</code>'s <code title="dom-XSLTProcessor-transformToDocument">transformToDocument</code>
     feature, and scripts that are first inserted by a script into a
     <code><a href="#document">Document</a></code> that was created using the <code title="dom-DOMImplementation-createDocument"><a href="#dom-domimplementation-createdocument">createDocument()</a></code>
-    API. <a href="#refsXHR">[XHR]</a> <a href="#refsDOMPARSER">[DOMPARSER]</a>  <a href="#refsDOMCORE">[DOMCORE]</a></p>
+    API. <a href="#refsXHR">[XHR]</a> <a href="#refsDOMPARSING">[DOMPARSING]</a>  <a href="#refsDOMCORE">[DOMCORE]</a></p>
 
 
    </li>
@@ -13590,7 +13208,7 @@
 
   </div><p class="note">When inserted using the <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> method,
   <code><a href="#the-script-element">script</a></code> elements execute (typically synchronously), but
-  when inserted using <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> and <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> attributes, they do not
+  when inserted using <code title="dom-innerHTML">innerHTML</code> and <code title="dom-outerHTML">outerHTML</code> attributes, they do not
   execute at all.<div class="example">
 
    <p>In this example, two <code><a href="#the-script-element">script</a></code> elements are used. One
@@ -13917,7 +13535,7 @@
        <a href="#text-node">text node</a> children of the <code><a href="#the-noscript-element">noscript</a></code>
        element.</li>
 
-       <li>Set the <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code>
+       <li>Set the <code title="dom-innerHTML">innerHTML</code>
        attribute of the <var title="">parent element</var> to the value
        of <var title="">s</var>. (This, as a side-effect, causes the
        <code><a href="#the-noscript-element">noscript</a></code> element to be removed from the
@@ -38977,7 +38595,7 @@
    outer form "a".</p>
 
    <p>This happens as follows: First, the "e" node gets associated
-   with "c" in the <a href="#html-parser">HTML parser</a>. Then, the <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> algorithm moves the nodes
+   with "c" in the <a href="#html-parser">HTML parser</a>. Then, the <code title="dom-innerHTML">innerHTML</code> algorithm moves the nodes
    from the temporary document to the "b" element. At this point, the
    nodes see their ancestor chain change, and thus all the "magic"
    associations done by the parser are reset to normal ancestor
@@ -63613,11 +63231,11 @@
    <p>This can enable cross-site scripting attacks. An example of this
    would be a page that lets the user enter some font names that are
    then inserted into a CSS <code><a href="#the-style-element">style</a></code> block via the DOM and
-   which then uses the <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code>
+   which then uses the <code title="dom-innerHTML">innerHTML</code>
    IDL attribute to get the HTML serialization of that
    <code><a href="#the-style-element">style</a></code> element: if the user enters
    "<code>&lt;/style&gt;&lt;script&gt;attack&lt;/script&gt;</code>" as a font
-   name, <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> will return
+   name, <code title="dom-innerHTML">innerHTML</code> will return
    markup that, if parsed in a different context, would contain a
    <code><a href="#the-script-element">script</a></code> node, even though no <code><a href="#the-script-element">script</a></code> node
    existed in the original DOM.</p>
@@ -72295,11 +71913,11 @@
    Object Model (DOM) Level 3 Events Specification</a></cite>,
    D. Schepers. W3C.</dd>
 
-   <dt id="refsDOMPARSER">[DOMPARSER]</dt>
-   <dd>(Non-normative) <cite><a href="http://html5.org/specs/dom-parsing.html">DOM Parsing and Serialization</a></cite>, Ms2ger. html5.org.</dd>
+   <dt id="refsDOMPARSING">[DOMPARSING]</dt>
+   <dd><cite><a href="http://html5.org/specs/dom-parsing.html">DOM Parsing and Serialization</a></cite>, Ms2ger. html5.org.</dd>
 
    <dt id="refsDOMRANGE">[DOMRANGE]</dt>
-   <dd><cite><a href="http://html5.org/specs/dom-range.html">DOM Range</a></cite>, Ms2ger. html5.org.</dd>
+   <dd><cite><a href="http://html5.org/specs/dom-range.html">DOM Range</a></cite>, A. Gregor, Ms2ger. html5.org.</dd>
 
    <dt id="refsECMA262">[ECMA262]</dt>
    <dd><cite><a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">ECMAScript

Received on Sunday, 4 September 2011 17:30:26 UTC