- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 24 Mar 2010 08:58:07 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21765
Modified Files:
Overview.html
Log Message:
Make document.write() fire INVALID_STATE_ERR for consistency with similar APIs, rather than INVALID_ACCESS_ERR. Also, fix some xrefs in IDL blocks. (whatwg r4863)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3895
retrieving revision 1.3896
diff -u -d -r1.3895 -r1.3896
--- Overview.html 24 Mar 2010 08:48:11 -0000 1.3895
+++ Overview.html 24 Mar 2010 08:58:03 -0000 1.3896
@@ -8729,7 +8729,7 @@
stream. If necessary, calls the <code title="dom-document-open"><a href="#dom-document-open">open()</a></code> method implicitly
first.</p>
- <p>This method throws an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception
+ <p>This method throws an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception
when invoked on <a href="#xml-documents">XML documents</a>.</p>
<p>Unless called from the body of a <code><a href="#script">script</a></code> element
@@ -8748,7 +8748,7 @@
<ol><li>
<p>If the method was invoked on an <a href="#xml-documents" title="XML documents">XML
- document</a>, throw an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code>
+ document</a>, throw an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code>
exception and abort these steps.</p>
<!--
@@ -8817,7 +8817,7 @@
<code title="dom-document-open"><a href="#dom-document-open">open()</a></code> method implicitly
first.</p>
- <p>This method throws an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception
+ <p>This method throws an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception
when invoked on <a href="#xml-documents">XML documents</a>.</p>
</dd>
@@ -9459,7 +9459,7 @@
attribute boolean <a href="#dom-link-disabled" title="dom-link-disabled">disabled</a>;
attribute DOMString <a href="#dom-link-href" title="dom-link-href">href</a>;
attribute DOMString <a href="#dom-link-rel" title="dom-link-rel">rel</a>;
- readonly attribute DOMTokenList <a href="#dom-link-rellist" title="dom-link-relList">relList</a>;
+ readonly attribute <a href="#domtokenlist">DOMTokenList</a> <a href="#dom-link-rellist" title="dom-link-relList">relList</a>;
attribute DOMString <a href="#dom-link-media" title="dom-link-media">media</a>;
attribute DOMString <a href="#dom-link-hreflang" title="dom-link-hreflang">hreflang</a>;
attribute DOMString <a href="#dom-link-type" title="dom-link-type">type</a>;
@@ -14017,7 +14017,7 @@
stringifier attribute DOMString <a href="#dom-a-href" title="dom-a-href">href</a>;
attribute DOMString <a href="#dom-a-target" title="dom-a-target">target</a>;
attribute DOMString <a href="#dom-a-rel" title="dom-a-rel">rel</a>;
- readonly attribute DOMTokenList <a href="#dom-a-rellist" title="dom-a-relList">relList</a>;
+ readonly attribute <a href="#domtokenlist">DOMTokenList</a> <a href="#dom-a-rellist" title="dom-a-relList">relList</a>;
attribute DOMString <a href="#dom-a-media" title="dom-a-media">media</a>;
attribute DOMString <a href="#dom-a-hreflang" title="dom-a-hreflang">hreflang</a>;
attribute DOMString <a href="#dom-a-type" title="dom-a-type">type</a>;
@@ -21962,7 +21962,7 @@
stringifier attribute DOMString <a href="#dom-area-href" title="dom-area-href">href</a>;
attribute DOMString <a href="#dom-area-target" title="dom-area-target">target</a>;
attribute DOMString <a href="#dom-area-rel" title="dom-area-rel">rel</a>;
- readonly attribute DOMTokenList <a href="#dom-area-rellist" title="dom-area-relList">relList</a>;
+ readonly attribute <a href="#domtokenlist">DOMTokenList</a> <a href="#dom-area-rellist" title="dom-area-relList">relList</a>;
attribute DOMString <a href="#dom-area-media" title="dom-area-media">media</a>;
attribute DOMString <a href="#dom-area-hreflang" title="dom-area-hreflang">hreflang</a>;
attribute DOMString <a href="#dom-area-type" title="dom-area-type">type</a>;
Received on Wednesday, 24 March 2010 08:58:11 UTC