- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 03 Oct 2011 14:08:14 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom
In directory hutz:/tmp/cvs-serv27538
Modified Files:
Overview.html Overview.src.html cssom-source
Log Message:
update exceptions for DOM4
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom/Overview.html,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -d -r1.162 -r1.163
--- Overview.html 3 Oct 2011 14:02:27 -0000 1.162
+++ Overview.html 3 Oct 2011 14:08:12 -0000 1.163
@@ -1712,8 +1712,10 @@
<ol>
<li><p>If <var title="">index</var> is negative or greater than the
- length of the <var title="">list</var> raise an
- <code>INDEX_SIZE_ERR</code> exception and terminate these steps.</li>
+ length of the <var title="">list</var>,
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> an
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#indexsizeerror">IndexSizeError</a></code>" exception and
+ terminate these steps.
<li><p><a href="#parse-a-css-rule" title="Parse a CSS rule">Parse</a>
<var title="">rule</var>.</li>
@@ -1722,9 +1724,10 @@
<li><p>If the new object can not be inserted within the
<var title="">list</var> at the given <var title="">index</var> due to
- limitations of the CSS specification raise a
- <code>HIERARCHY_REQUEST_ERR</code> exception and terminate these
- steps.</li>
+ limitations of the CSS specification,
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> an
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#hierarchyrequesterror">HierarchyRequestError</a></code>" exception and
+ terminate these steps.
<li><p>Insert the new object at the given <var title="">index</var>
within the <var title="">list</var>.</li>
@@ -1736,8 +1739,9 @@
<ol>
<li><p>If <var title="">index</var> is negative or greater than the
- length of the <var title="">list</var> raise an
- <code>INDEX_SIZE_ERR</code> exception and terminate these steps.</li>
+ length of the <var title="">list</var>
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> an
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#indexsizeerror">IndexSizeError</a></code>" exception and terminate these steps.</li>
<li><p>Remove the object at <var title="">index</var> from
<var title="">list</var>.</li>
@@ -1819,8 +1823,9 @@
<li><p>If the <code title="dom-CSSRule-type"><a href="#dom-cssrule-type">type</a></code> of the new
object does not match the <code title="dom-CSSRule-type"><a href="#dom-cssrule-type">type</a></code> of
- the current object raise an <code>INVALID_MODIFICATION_ERR</code>
- exception.</li>
+ the current object
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> an
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidmodificationerror">InvalidModificationError</a></code>" exception.
<li><p>Replace the current object with the new object.</li>
</ol>
@@ -2232,11 +2237,11 @@
<ol>
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</li>
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> a
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#nomodificationallowederror">NoModificationAllowedError</a></code>" exception
+ and terminate these steps.
- <li><p>Empty the
- <a href="#css-declaration-block-declarations">CSS declaration block declarations</a>.</li>
+ <li><p>Empty the <a href="#css-declaration-block-declarations">CSS declaration block declarations</a>.
<li><p><a href="#parse-a-css-declaration-block" title="Parse a CSS declaration block">Parse</a> the given
value and, if the return value is not null, insert it into the
@@ -2280,8 +2285,9 @@
<ol>
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</li>
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> an
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#nomodificationallowederror">NoModificationAllowedError</a></code>" and
+ terminate these steps.
<li><p>If <var title="">property</var> is not an
<a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#ascii-case-insensitive">ASCII case-insensitive</a> match for a
@@ -2319,8 +2325,9 @@
<ol>
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</li>
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw" title="concept-throw">throw</a> a
+ "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#nomodificationallowederror">NoModificationAllowedError</a></code>" and
+ terminate these steps.
<li><p>If <var title="">property</var> is an
<a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#ascii-case-insensitive">ASCII case-insensitive</a> match for a
@@ -2354,7 +2361,7 @@
<code title="dom-CSSStyleDeclaration-setProperty"><a href="#dom-cssstyledeclaration-setproperty">setProperty()</a></code>
with as first argument the CSS property given in the second column on the
same row, as second argument the given value, and no third argument. Any
- exceptions raised must be re-raised.</p>
+ exceptions thrown must be re-thrown.</p>
<table>
<thead>
Index: cssom-source
===================================================================
RCS file: /sources/public/csswg/cssom/cssom-source,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- cssom-source 3 Oct 2011 14:02:28 -0000 1.16
+++ cssom-source 3 Oct 2011 14:08:12 -0000 1.17
@@ -1631,8 +1631,10 @@
<ol>
<li><p>If <var title>index</var> is negative or greater than the
- length of the <var title>list</var> raise an
- <code>INDEX_SIZE_ERR</code> exception and terminate these steps.</p></li>
+ length of the <var title>list</var>,
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>IndexSizeError</code>" exception and
+ terminate these steps.
<li><p><span title="Parse a CSS rule">Parse</span>
<var title>rule</var>.</p></li>
@@ -1641,9 +1643,10 @@
<li><p>If the new object can not be inserted within the
<var title>list</var> at the given <var title>index</var> due to
- limitations of the CSS specification raise a
- <code>HIERARCHY_REQUEST_ERR</code> exception and terminate these
- steps.</p></li>
+ limitations of the CSS specification,
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>HierarchyRequestError</code>" exception and
+ terminate these steps.
<li><p>Insert the new object at the given <var title>index</var>
within the <var title>list</var>.</p></li>
@@ -1655,8 +1658,9 @@
<ol>
<li><p>If <var title>index</var> is negative or greater than the
- length of the <var title>list</var> raise an
- <code>INDEX_SIZE_ERR</code> exception and terminate these steps.</p></li>
+ length of the <var title>list</var>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>IndexSizeError</code>" exception and terminate these steps.</p></li>
<li><p>Remove the object at <var title>index</var> from
<var title>list</var>.</p></li>
@@ -1738,8 +1742,9 @@
<li><p>If the <code title="dom-CSSRule-type">type</code> of the new
object does not match the <code title="dom-CSSRule-type">type</code> of
- the current object raise an <code>INVALID_MODIFICATION_ERR</code>
- exception.</p></li>
+ the current object
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>InvalidModificationError</code>" exception.
<li><p>Replace the current object with the new object.</p></li>
</ol>
@@ -2030,11 +2035,11 @@
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</p></li>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> a
+ "<code data-anolis-spec=dom>NoModificationAllowedError</code>" exception
+ and terminate these steps.
- <li><p>Empty the
- <span>CSS declaration block declarations</span>.</p></li>
+ <li><p>Empty the <span>CSS declaration block declarations</span>.
<li><p><span title="Parse a CSS declaration block">Parse</span> the given
value and, if the return value is not null, insert it into the
@@ -2078,8 +2083,9 @@
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</p></li>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>NoModificationAllowedError</code>" and
+ terminate these steps.
<li><p>If <var title>property</var> is not an
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for a
@@ -2117,8 +2123,9 @@
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</p></li>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> a
+ "<code data-anolis-spec=dom>NoModificationAllowedError</code>" and
+ terminate these steps.
<li><p>If <var title>property</var> is an
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for a
@@ -2152,7 +2159,7 @@
<code title="dom-CSSStyleDeclaration-setProperty">setProperty()</code>
with as first argument the CSS property given in the second column on the
same row, as second argument the given value, and no third argument. Any
- exceptions raised must be re-raised.</p>
+ exceptions thrown must be re-thrown.</p>
<table>
<thead>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom/Overview.src.html,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- Overview.src.html 3 Oct 2011 14:02:27 -0000 1.163
+++ Overview.src.html 3 Oct 2011 14:08:12 -0000 1.164
@@ -1631,8 +1631,10 @@
<ol>
<li><p>If <var title>index</var> is negative or greater than the
- length of the <var title>list</var> raise an
- <code>INDEX_SIZE_ERR</code> exception and terminate these steps.</p></li>
+ length of the <var title>list</var>,
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>IndexSizeError</code>" exception and
+ terminate these steps.
<li><p><span title="Parse a CSS rule">Parse</span>
<var title>rule</var>.</p></li>
@@ -1641,9 +1643,10 @@
<li><p>If the new object can not be inserted within the
<var title>list</var> at the given <var title>index</var> due to
- limitations of the CSS specification raise a
- <code>HIERARCHY_REQUEST_ERR</code> exception and terminate these
- steps.</p></li>
+ limitations of the CSS specification,
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>HierarchyRequestError</code>" exception and
+ terminate these steps.
<li><p>Insert the new object at the given <var title>index</var>
within the <var title>list</var>.</p></li>
@@ -1655,8 +1658,9 @@
<ol>
<li><p>If <var title>index</var> is negative or greater than the
- length of the <var title>list</var> raise an
- <code>INDEX_SIZE_ERR</code> exception and terminate these steps.</p></li>
+ length of the <var title>list</var>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>IndexSizeError</code>" exception and terminate these steps.</p></li>
<li><p>Remove the object at <var title>index</var> from
<var title>list</var>.</p></li>
@@ -1738,8 +1742,9 @@
<li><p>If the <code title="dom-CSSRule-type">type</code> of the new
object does not match the <code title="dom-CSSRule-type">type</code> of
- the current object raise an <code>INVALID_MODIFICATION_ERR</code>
- exception.</p></li>
+ the current object
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>InvalidModificationError</code>" exception.
<li><p>Replace the current object with the new object.</p></li>
</ol>
@@ -2151,11 +2156,11 @@
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</p></li>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> a
+ "<code data-anolis-spec=dom>NoModificationAllowedError</code>" exception
+ and terminate these steps.
- <li><p>Empty the
- <span>CSS declaration block declarations</span>.</p></li>
+ <li><p>Empty the <span>CSS declaration block declarations</span>.
<li><p><span title="Parse a CSS declaration block">Parse</span> the given
value and, if the return value is not null, insert it into the
@@ -2199,8 +2204,9 @@
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</p></li>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> an
+ "<code data-anolis-spec=dom>NoModificationAllowedError</code>" and
+ terminate these steps.
<li><p>If <var title>property</var> is not an
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for a
@@ -2238,8 +2244,9 @@
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is set,
- raise a <code>NO_MODIFICATION_ALLOWED_ERR</code> and terminate this
- algorithm.</p></li>
+ <span data-anolis-spec=dom title=concept-throw>throw</span> a
+ "<code data-anolis-spec=dom>NoModificationAllowedError</code>" and
+ terminate these steps.
<li><p>If <var title>property</var> is an
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for a
@@ -2273,7 +2280,7 @@
<code title="dom-CSSStyleDeclaration-setProperty">setProperty()</code>
with as first argument the CSS property given in the second column on the
same row, as second argument the given value, and no third argument. Any
- exceptions raised must be re-raised.</p>
+ exceptions thrown must be re-thrown.</p>
<table>
<thead>
Received on Monday, 3 October 2011 14:08:20 UTC