- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 03 Oct 2011 13:49:43 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom
In directory hutz:/tmp/cvs-serv23472
Modified Files:
Overview.html Overview.src.html cssom-source
Log Message:
consistify
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom/Overview.html,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- Overview.html 3 Oct 2011 13:36:02 -0000 1.160
+++ Overview.html 3 Oct 2011 13:49:41 -0000 1.161
@@ -2224,12 +2224,11 @@
<p>The
<dfn id="dom-cssstyledeclaration-csstext" title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn>
- attribute must, on getting, return the result of
+ attribute must return the result of
<a href="#serialize-a-css-declaration-block" title="serialize a CSS declaration block">serializing</a> the
<a href="#css-declaration-block-declarations">CSS declaration block declarations</a>.</p>
- <p>On setting the <code title="">cssText</code> attribute these steps
- must be run:</p>
+ <p>Setting the <code title="">cssText</code> attribute must run these steps:
<ol>
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is true
@@ -2253,18 +2252,18 @@
<p>The
<dfn id="dom-cssstyledeclaration-item" title="dom-CSSStyleDeclaration-item"><code>item(<var title="">index</var>)</code></dfn>
- method, when invoked, <span class="XXX">...</span>.</p>
+ method must <span class="XXX">...</span>.</p>
<!-- returns the name of property at position index. -->
<p>The
- <dfn id="dom-cssstyledeclaration-getpropertyvalue" title="dom-CSSStyleDeclaration-getPropertyValue"><code>getPropertyValue(<var title="">property</var>)</code></dfn>
- method, when invoked, <span class="XXX">...</span>.</p>
+ <dfn id="dom-cssstyledeclaration-getpropertyvalue" title="dom-CSSStyleDeclaration-getPropertyValue"><code>getPropertyValue(<var>property</var>)</code></dfn>
+ method must <span class="XXX">...</span>.</p>
<!-- Once we have defined how everything will be canonicalized we can start
thinking about this... --><p></p>
<p>The
- <dfn id="dom-cssstyledeclaration-getpropertypriority" title="dom-CSSStyleDeclaration-getPropertyPriority"><code>getPropertyPriority(<var title="">property</var>)</code></dfn>
+ <dfn id="dom-cssstyledeclaration-getpropertypriority" title="dom-CSSStyleDeclaration-getPropertyPriority"><code>getPropertyPriority(<var>property</var>)</code></dfn>
method, when invoked, 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
property that has a priority user agents must return the canonical
@@ -2275,9 +2274,9 @@
the return value would be "<code title="">important</code>".</p>
- <p>When the
+ <p>The
<dfn id="dom-cssstyledeclaration-setproperty" title="dom-CSSStyleDeclaration-setProperty"><code>setProperty(<var>property</var>, <var>value</var>, <var>priority</var>)</code></dfn>
- method is invoked these steps must be run:</p>
+ method must run these steps:
<ol>
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is true
@@ -2314,9 +2313,9 @@
<var title="">property</var> to <var title="">value</var>.</li>
</ol>
- <p>When the
- <dfn id="dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var title="">property</var>)</code></dfn>
- method is invoked these steps must be run:</p>
+ <p>The
+ <dfn id="dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var>property</var>)</code></dfn>
+ method must run these steps:
<ol>
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is true
@@ -2337,24 +2336,24 @@
<p>The
<dfn id="dom-cssstyledeclaration-parentrule" title="dom-CSSStyleDeclaration-parentRule"><code>parentRule</code></dfn>
- attribute must return the
- <code><a href="#cssrule">CSSrule</a></code> object the <code><a href="#cssstyledeclaration">CSSStyleDeclaration</a></code> is object is
- associated with or null if it is not associated with a
- <code><a href="#cssrule">CSSrule</a></code> object.</p>
+ attribute must return the <code><a href="#cssrule">CSSrule</a></code> object the
+ <code><a href="#cssstyledeclaration">CSSStyleDeclaration</a></code> is object is associated with or null if
+ it is not associated with a <code><a href="#cssrule">CSSrule</a></code> object.</p>
<!-- XXX introduce a concept for this instead -->
+ <hr>
<p>For the table below, the IDL attribute in the first column
- must, on getting return the result of invoking
+ must return the result of invoking
<code title="dom-CSSStyleDeclaration-getPropertyValue"><a href="#dom-cssstyledeclaration-getpropertyvalue">getPropertyValue()</a></code>
with as argument the CSS property given in the second column on the same
row.</p>
<p>Similarly for the table below, setting the IDL attribute in the
- first column must invoke
- <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
+ first column must invoke
+ <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>
<table>
Index: cssom-source
===================================================================
RCS file: /sources/public/csswg/cssom/cssom-source,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cssom-source 3 Oct 2011 13:36:02 -0000 1.14
+++ cssom-source 3 Oct 2011 13:49:41 -0000 1.15
@@ -2021,13 +2021,12 @@
};</pre>
<p>The
- <dfn id="dom-cssstyledeclaration-csstext" title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn>
- attribute must, on getting, return the result of
+ <dfn title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn>
+ attribute must return the result of
<span title="serialize a CSS declaration block">serializing</span> the
<span>CSS declaration block declarations</span>.</p>
- <p>On setting the <code title>cssText</code> attribute these steps
- must be run:</p>
+ <p>Setting the <code title>cssText</code> attribute must run these steps:
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is true
@@ -2045,24 +2044,24 @@
<!-- XXX WebIDL work -->
<p>The
- <dfn id="dom-cssstyledeclaration-length" title="dom-CSSStyleDeclaration-length"><code>length</code></dfn>
+ <dfn title="dom-CSSStyleDeclaration-length"><code>length</code></dfn>
attribute must return the number of declarations in
the <span>collection of CSS declarations</span>.</p>
<p>The
- <dfn id="dom-cssstyledeclaration-item" title="dom-CSSStyleDeclaration-item"><code>item(<var title>index</var>)</code></dfn>
- method, when invoked, <span class="XXX">...</span>.</p>
+ <dfn title="dom-CSSStyleDeclaration-item"><code>item(<var title>index</var>)</code></dfn>
+ method must <span class="XXX">...</span>.</p>
<!-- returns the name of property at position index. -->
<p>The
- <dfn id="dom-cssstyledeclaration-getpropertyvalue" title="dom-CSSStyleDeclaration-getPropertyValue"><code>getPropertyValue(<var title>property</var>)</code></dfn>
- method, when invoked, <span class="XXX">...</span>.</p>
+ <dfn title="dom-CSSStyleDeclaration-getPropertyValue"><code>getPropertyValue(<var>property</var>)</code></dfn>
+ method must <span class="XXX">...</span>.</p>
<!-- Once we have defined how everything will be canonicalized we can start
thinking about this... --></p>
<p>The
- <dfn id="dom-cssstyledeclaration-getpropertypriority" title="dom-CSSStyleDeclaration-getPropertyPriority"><code>getPropertyPriority(<var title>property</var>)</code></dfn>
+ <dfn title="dom-CSSStyleDeclaration-getPropertyPriority"><code>getPropertyPriority(<var>property</var>)</code></dfn>
method, when invoked, if <var title>property</var> is an
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for a
property that has a priority user agents must return the canonical
@@ -2073,9 +2072,9 @@
the return value would be "<code title>important</code>".</p>
- <p>When the
+ <p>The
<dfn title="dom-CSSStyleDeclaration-setProperty"><code>setProperty(<var>property</var>, <var>value</var>, <var>priority</var>)</code></dfn>
- method is invoked these steps must be run:</p>
+ method must run these steps:
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is true
@@ -2112,9 +2111,9 @@
<var title>property</var> to <var title>value</var>.</p></li>
</ol>
- <p>When the
- <dfn id="dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var title>property</var>)</code></dfn>
- method is invoked these steps must be run:</p>
+ <p>The
+ <dfn title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var>property</var>)</code></dfn>
+ method must run these steps:
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is true
@@ -2129,30 +2128,30 @@
<p>The
- <dfn id="dom-cssstyledeclaration-values" title="dom-CSSStyleDeclaration-values"><code>values</code></dfn>
+ <dfn title="dom-CSSStyleDeclaration-values"><code>values</code></dfn>
attribute must return <span class="XXX">...</span></p>
<p>The
- <dfn id="dom-cssstyledeclaration-parentrule" title="dom-CSSStyleDeclaration-parentRule"><code>parentRule</code></dfn>
- attribute must return the
- <code>CSSrule</code> object the <code>CSSStyleDeclaration</code> is object is
- associated with or null if it is not associated with a
- <code>CSSrule</code> object.</p>
+ <dfn title="dom-CSSStyleDeclaration-parentRule"><code>parentRule</code></dfn>
+ attribute must return the <code>CSSrule</code> object the
+ <code>CSSStyleDeclaration</code> is object is associated with or null if
+ it is not associated with a <code>CSSrule</code> object.</p>
<!-- XXX introduce a concept for this instead -->
+ <hr>
<p>For the table below, the IDL attribute in the first column
- must, on getting return the result of invoking
+ must return the result of invoking
<code title="dom-CSSStyleDeclaration-getPropertyValue">getPropertyValue()</code>
with as argument the CSS property given in the second column on the same
row.</p>
<p>Similarly for the table below, setting the IDL attribute in the
- first column must invoke
- <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
+ first column must invoke
+ <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>
<table>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom/Overview.src.html,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- Overview.src.html 3 Oct 2011 13:36:02 -0000 1.161
+++ Overview.src.html 3 Oct 2011 13:49:41 -0000 1.162
@@ -2142,13 +2142,12 @@
};</pre>
<p>The
- <dfn id="dom-cssstyledeclaration-csstext" title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn>
- attribute must, on getting, return the result of
+ <dfn title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn>
+ attribute must return the result of
<span title="serialize a CSS declaration block">serializing</span> the
<span>CSS declaration block declarations</span>.</p>
- <p>On setting the <code title>cssText</code> attribute these steps
- must be run:</p>
+ <p>Setting the <code title>cssText</code> attribute must run these steps:
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is true
@@ -2166,24 +2165,24 @@
<!-- XXX WebIDL work -->
<p>The
- <dfn id="dom-cssstyledeclaration-length" title="dom-CSSStyleDeclaration-length"><code>length</code></dfn>
+ <dfn title="dom-CSSStyleDeclaration-length"><code>length</code></dfn>
attribute must return the number of declarations in
the <span>collection of CSS declarations</span>.</p>
<p>The
- <dfn id="dom-cssstyledeclaration-item" title="dom-CSSStyleDeclaration-item"><code>item(<var title>index</var>)</code></dfn>
- method, when invoked, <span class="XXX">...</span>.</p>
+ <dfn title="dom-CSSStyleDeclaration-item"><code>item(<var title>index</var>)</code></dfn>
+ method must <span class="XXX">...</span>.</p>
<!-- returns the name of property at position index. -->
<p>The
- <dfn id="dom-cssstyledeclaration-getpropertyvalue" title="dom-CSSStyleDeclaration-getPropertyValue"><code>getPropertyValue(<var title>property</var>)</code></dfn>
- method, when invoked, <span class="XXX">...</span>.</p>
+ <dfn title="dom-CSSStyleDeclaration-getPropertyValue"><code>getPropertyValue(<var>property</var>)</code></dfn>
+ method must <span class="XXX">...</span>.</p>
<!-- Once we have defined how everything will be canonicalized we can start
thinking about this... --></p>
<p>The
- <dfn id="dom-cssstyledeclaration-getpropertypriority" title="dom-CSSStyleDeclaration-getPropertyPriority"><code>getPropertyPriority(<var title>property</var>)</code></dfn>
+ <dfn title="dom-CSSStyleDeclaration-getPropertyPriority"><code>getPropertyPriority(<var>property</var>)</code></dfn>
method, when invoked, if <var title>property</var> is an
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for a
property that has a priority user agents must return the canonical
@@ -2194,9 +2193,9 @@
the return value would be "<code title>important</code>".</p>
- <p>When the
+ <p>The
<dfn title="dom-CSSStyleDeclaration-setProperty"><code>setProperty(<var>property</var>, <var>value</var>, <var>priority</var>)</code></dfn>
- method is invoked these steps must be run:</p>
+ method must run these steps:
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is true
@@ -2233,9 +2232,9 @@
<var title>property</var> to <var title>value</var>.</p></li>
</ol>
- <p>When the
- <dfn id="dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var title>property</var>)</code></dfn>
- method is invoked these steps must be run:</p>
+ <p>The
+ <dfn title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var>property</var>)</code></dfn>
+ method must run these steps:
<ol>
<li><p>If the <span>CSS declaration block readonly flag</span> is true
@@ -2250,30 +2249,30 @@
<p>The
- <dfn id="dom-cssstyledeclaration-values" title="dom-CSSStyleDeclaration-values"><code>values</code></dfn>
+ <dfn title="dom-CSSStyleDeclaration-values"><code>values</code></dfn>
attribute must return <span class="XXX">...</span></p>
<p>The
- <dfn id="dom-cssstyledeclaration-parentrule" title="dom-CSSStyleDeclaration-parentRule"><code>parentRule</code></dfn>
- attribute must return the
- <code>CSSrule</code> object the <code>CSSStyleDeclaration</code> is object is
- associated with or null if it is not associated with a
- <code>CSSrule</code> object.</p>
+ <dfn title="dom-CSSStyleDeclaration-parentRule"><code>parentRule</code></dfn>
+ attribute must return the <code>CSSrule</code> object the
+ <code>CSSStyleDeclaration</code> is object is associated with or null if
+ it is not associated with a <code>CSSrule</code> object.</p>
<!-- XXX introduce a concept for this instead -->
+ <hr>
<p>For the table below, the IDL attribute in the first column
- must, on getting return the result of invoking
+ must return the result of invoking
<code title="dom-CSSStyleDeclaration-getPropertyValue">getPropertyValue()</code>
with as argument the CSS property given in the second column on the same
row.</p>
<p>Similarly for the table below, setting the IDL attribute in the
- first column must invoke
- <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
+ first column must invoke
+ <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>
<table>
Received on Monday, 3 October 2011 13:49:50 UTC