- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 29 Aug 2009 23:50:14 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv13112 Modified Files: Overview.html Log Message: Correct the domintro sections for innerHTML and outerHTML to mention the right exceptions. (whatwg r3702) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2880 retrieving revision 1.2881 diff -u -d -r1.2880 -r1.2881 --- Overview.html 29 Aug 2009 23:46:11 -0000 1.2880 +++ Overview.html 29 Aug 2009 23:50:10 -0000 1.2881 @@ -8645,9 +8645,10 @@ <p>Can be set, to replace the <code>Document</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 a - <code><a href="#syntax_err">SYNTAX_ERR</a></code> if the <code>Document</code> cannot be - serialized to XML, or if the given string is not well-formed.</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>Document</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> @@ -8661,9 +8662,10 @@ <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 a - <code><a href="#syntax_err">SYNTAX_ERR</a></code> if the element cannot be serialized to - XML, or if the given string is not well-formed.</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> @@ -8755,9 +8757,14 @@ <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 a - <code><a href="#syntax_err">SYNTAX_ERR</a></code> if the element cannot be serialized to - XML, or if the given string is not well-formed.</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>Document</code> + node.</p> </dd> @@ -17596,7 +17603,7 @@ <a href="#reflect">reflect</a> the respective content attributes of the same name.</p> - </div><h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/7">ISSUE-7</a> (video-codecs), <a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-synchronization) and <a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil) block progress to Last Call</span><dl class="element"><dt>Categories</dt> + </div><h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-synchronization), <a href="http://www.w3.org/html/wg/tracker/issues/7">ISSUE-7</a> (video-codecs) and <a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil) block progress to Last Call</span><dl class="element"><dt>Categories</dt> <dd><a href="#flow-content">Flow content</a>.</dd> <dd><a href="#phrasing-content">Phrasing content</a>.</dd> <dd><a href="#embedded-content">Embedded content</a>.</dd> @@ -48394,7 +48401,7 @@ <a href="#source-browsing-context">source browsing context</a>.</p> - <h5 id="hyperlink-auditing"><span class="secno">6.12.2.1 </span><dfn>Hyperlink auditing</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Controversial Working Draft. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/1">ISSUE-1</a> (PINGPOST), <a href="http://www.w3.org/html/wg/tracker/issues/2">ISSUE-2</a> (PINGUI) and <a href="http://www.w3.org/html/wg/tracker/issues/63">ISSUE-63</a> (origin-req-scope) block progress to Last Call</span></p> + <h5 id="hyperlink-auditing"><span class="secno">6.12.2.1 </span><dfn>Hyperlink auditing</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Controversial Working Draft. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/63">ISSUE-63</a> (origin-req-scope), <a href="http://www.w3.org/html/wg/tracker/issues/1">ISSUE-1</a> (PINGPOST) and <a href="http://www.w3.org/html/wg/tracker/issues/2">ISSUE-2</a> (PINGUI) block progress to Last Call</span></p> <p>If an <code><a href="#the-a-element">a</a></code> or <code><a href="#the-area-element">area</a></code> hyperlink element has a <code title="attr-hyperlink-ping"><a href="#ping">ping</a></code> attribute, and the @@ -63103,7 +63110,7 @@ </ul><p class="note">These are the only ways to make a DOM unserializable. The DOM enforces all the other XML constraints; for example, trying to set an attribute with a name that contains an - equals sign (=) will raised an <code><a href="#invalid_character_err">INVALID_CHARACTER_ERR</a></code> + equals sign (=) will raise an <code><a href="#invalid_character_err">INVALID_CHARACTER_ERR</a></code> exception.</p>
Received on Saturday, 29 August 2009 23:50:24 UTC