W3C home > Mailing lists > Public > public-css-commits@w3.org > October 2011

csswg/cssom Overview.html,1.161,1.162 Overview.src.html,1.162,1.163 cssom-source,1.15,1.16

From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 03 Oct 2011 14:02:30 +0000
To: public-css-commits@w3.org
Message-Id: <E1RAj6E-0006pO-6D@lionel-hutz.w3.org>
Update of /sources/public/csswg/cssom
In directory hutz:/tmp/cvs-serv26220

Modified Files:
	Overview.html Overview.src.html cssom-source 
Log Message:
turn flags into flags rather than booleans

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom/Overview.html,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- Overview.html	3 Oct 2011 13:49:41 -0000	1.161
+++ Overview.html	3 Oct 2011 14:02:27 -0000	1.162
@@ -536,12 +536,12 @@
 
   <p>The
   <dfn id="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn>
-  attribute, on getting, must return a
+  attribute must return a
   <a href="#serialize-a-media-query-list" title="serialize a media query list">serialization</a> of
   the <a href="#collection-of-media-queries">collection of media queries</a>.</p>
 
-  <p>On setting the <code title="dom-MediaList-mediaText"><a href="#dom-medialist-mediatext">mediaText</a></code>
-  attribute these steps must be run:</p>
+  <p>Setting the <code title="dom-MediaList-mediaText"><a href="#dom-medialist-mediatext">mediaText</a></code>
+  attribute must run these steps:
 
   <ol>
    <li><p>Empty the <a href="#collection-of-media-queries">collection of media queries</a>.</li>
@@ -610,7 +610,7 @@
 
   <p>To
   <dfn id="create-a-medialist-object">create a <code>MediaList</code> object</dfn>
-  from <var title="">s</var> run these steps:</p>
+  from a string <var title="">s</var>, run these steps:</p>
 
   <ol>
    <li><p>Create a new <code><a href="#medialist">MediaList</a></code> object.</li>
@@ -895,7 +895,7 @@
 
    <dt><dfn id="style-sheet-alternate-flag">style sheet alternate flag</dfn></dt>
    <dd>
-    <p>Either true or false. False by default.</p>
+    <p>Either set or unset. Unset by default.</p>
 
     <div class="example">
      <p>The following <a href="#style-sheet" title="style sheet">style sheets</a> have
@@ -909,10 +909,10 @@
 
    <dt><dfn id="style-sheet-disabled-flag">style sheet disabled flag</dfn></dt>
    <dd>
-    <p>Either true or false. False by default.</p>
+    <p>Either set or unset. Unset by default.</p>
 
-    <p class="note">Even when false it does not necessarily mean that the
-    <a href="#style-sheet">style sheet</a> is actually rendered.</p>
+    <p class="note">Even when unset it does not necessarily mean that the
+    <a href="#style-sheet">style sheet</a> is actually used for rendering.</p>
    </dd>
 
 
@@ -976,10 +976,13 @@
 
   <p>The
   <dfn id="dom-stylesheet-disabled" title="dom-StyleSheet-disabled"><code>disabled</code></dfn>
-  attribute must, on getting, return the
-  <a href="#style-sheet-disabled-flag">style sheet disabled flag</a>. On setting, it
-  must set the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> to
-  the given value.</p>
+  attribute must return true if the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a>
+  is set, or false otherwise.
+
+  <p>Setting the <code title="dom-StyleSheet-disabled"><a href="#dom-stylesheet-disabled">disabled</a></code>
+  attribute must set the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> if the new
+  value is true, or unset the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a>
+  otherwise.
 
 
   <h4 id="the-cssstylesheet-interface"><span class="secno">6.1.2 </span>The <code title="">CSSStyleSheet</code> Interface</h4>
@@ -1065,19 +1068,18 @@
    remainder of these steps deal with the
    <a href="#style-sheet-disabled-flag">style sheet disabled flag</a>.</li>
 
-   <li><p>If the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> is true terminate
+   <li><p>If the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> is set, terminate
    these steps.</li>
 
    <li><p>If the <a href="#style-sheet-title">style sheet title</a> is non-empty, the
-   <a href="#style-sheet-alternate-flag">style sheet alternate flag</a> is false, and
+   <a href="#style-sheet-alternate-flag">style sheet alternate flag</a> is unset, and
    <a href="#preferred-style-sheet-set-name">preferred style sheet set name</a> is the empty string
    <a href="#change-the-preferred-style-sheet-set-name">change the preferred style sheet set name</a> to the
    <a href="#style-sheet-title">style sheet title</a>.</li>
 
    <li>
-    <p>If any of the following is true set the
-    <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> to false and terminate these
-    steps:</p>
+    <p>If any of the following is true unset the
+    <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> and terminate these steps:
 
     <ul>
      <li><p>The <a href="#style-sheet-title">style sheet title</a> is empty.</li>
@@ -1091,13 +1093,13 @@
     </ul>
    </li>
 
-   <li><p>Set the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> to true.</li>
+   <li><p>Set the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a>.
   </ol>
 
   <p>A <dfn id="persistent-style-sheet">persistent style sheet</dfn> is a
   <a href="#style-sheet">style sheet</a> from the <a href="#document-style-sheets">document style sheets</a>
   whose <a href="#style-sheet-title">style sheet title</a> is the empty string and whose
-  <a href="#style-sheet-alternate-flag">style sheet alternate flag</a> is false.</p>
+  <a href="#style-sheet-alternate-flag">style sheet alternate flag</a> is unset.</p>
 
   <p>A <dfn id="style-sheet-set">style sheet set</dfn> is an ordered
   collection of one or more <a href="#style-sheet" title="style sheet">style sheets</a>
@@ -1110,22 +1112,21 @@
 
   <p>An <dfn id="enabled-style-sheet-set">enabled style sheet set</dfn> is a
   <a href="#style-sheet-set">style sheet set</a> of which each <a href="#style-sheet">style sheet</a> has
-  its <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> set to false.</p>
+  its <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> unset.</p>
 
   <p>To <dfn id="enable-a-style-sheet-set">enable a style sheet set</dfn>
   with name <var title="">name</var>, run these steps:</p>
 
   <ol>
-   <li><p>If <var title="">name</var> is the empty string set the
+   <li><p>If <var title="">name</var> is the empty string, set the
    <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> for each <a href="#style-sheet">style sheet</a>
-   that is in a <a href="#style-sheet-set">style sheet set</a> to true and terminate these
-   steps.</li>
+   that is in a <a href="#style-sheet-set">style sheet set</a> and terminate these steps.
 
-   <li><p>Set the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> for each
+   <li><p>Unset the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> for each
    <a href="#style-sheet">style sheet</a> in a <a href="#style-sheet-set">style sheet set</a> whose
    <a href="#style-sheet-set-name">style sheet set name</a> is a
    <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#case-sensitive">case-sensitive</a> match for
-   <var title="">name</var> to false and set it to true for all other
+   <var title="">name</var> and set it for all other
    <a href="#style-sheet" title="style sheet">style sheets</a> in a
    <a href="#style-sheet-set">style sheet set</a>.</li>
   </ol>
@@ -1150,7 +1151,7 @@
   <dfn id="preferred-style-sheet-set-name">preferred style sheet set name</dfn>
   is a concept to determine which
   <span style="style sheet">style sheets</span> need to have their
-  <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> set to false. Initially its value
+  <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> unset. Initially its value
   is the empty string.
 
   <p>To
@@ -1250,15 +1251,14 @@
    <li><p>If there is a single <a href="#enabled-style-sheet-set">enabled style sheet set</a> and no
    other <a href="#document-style-sheets">document style sheets</a> with a non-empty
    <a href="#style-sheet-title">style sheet title</a> have the
-   <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> set to false return the
+   <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> unset, return the
    <a href="#style-sheet-set-name">style sheet set name</a> of the
-   <a href="#enabled-style-sheet-set">enabled style sheet set</a> and terminate this set of
-   steps.</li>
+   <a href="#enabled-style-sheet-set">enabled style sheet set</a> and terminate these steps.
 
    <li><p>Otherwise, if <a href="#style-sheet" title="style sheet">style sheets</a> from
    different <a href="#style-sheet-set" title="style sheet set">style sheet sets</a> have
-   their <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> set to false return
-   null and terminate this set of steps.</li>
+   their <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> unset, return
+   null and terminate these steps.
 
    <li>
     <p>Otherwise, return the empty string.</p>
@@ -1266,7 +1266,7 @@
     <p class="note">At this point either all
     <a href="#style-sheet" title="style sheet">style sheets</a> with a non-empty
     <a href="#style-sheet-title">style sheet title</a> have the
-    <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> set to true or there are no such
+    <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> set, or there are no such
     <a href="#style-sheet" title="style sheet">style sheets</a>.</p>
    </li>
   </ol>
@@ -1576,9 +1576,9 @@
      <dd><p><var title="">title</var></dd>
 
      <dt><a href="#style-sheet-alternate-flag">style sheet alternate flag</a></dt>
-     <dd><p>True if the <code title="">alternate</code> <a class="external" href="http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute">pseudo-attribute</a>
+     <dd><p>Set if the <code title="">alternate</code> <a class="external" href="http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute">pseudo-attribute</a>
      value is a <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#case-sensitive">case-sensitive</a> match for
-     "<code>yes</code>", and false otherwise.</dd>
+     "<code>yes</code>", or unset otherwise.
     </dl>
    </li>
   </ol>
@@ -1650,10 +1650,10 @@
      <dd><p><var title="">title</var></dd>
 
      <dt><a href="#style-sheet-alternate-flag">style sheet alternate flag</a></dt>
-     <dd><p>True if one of the specified link relation type for this HTTP
+     <dd><p>Set if one of the specified link relation type for this HTTP
      <code title="http-link">Link</code> header 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
-     "<code title="">alternate</code>". Otherwise, false.</dd>
+     "<code title="">alternate</code>", or false otherwise.
     </dl>
    </li>
   </ol>
@@ -2058,8 +2058,8 @@
 
   <dl>
    <dt><dfn id="css-declaration-block-readonly-flag">CSS declaration block readonly flag</dfn></dt>
-   <dd><p>False if the object can be manipulated. True if it can not be
-   manipulated. If not explicitly set its value is false.</dd>
+   <dd><p>Unset if the object can be manipulated. Set if it can not be
+   manipulated. Unless otherwise stated it is unset.</dd>
 
    <dt><dfn id="css-declaration-block-declarations">CSS declaration block declarations</dfn></dt>
    <dd><p>The CSS declarations associated with the object.</dd>
@@ -2231,7 +2231,7 @@
   <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
+   <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>
 
@@ -2279,7 +2279,7 @@
   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
+   <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>
 
@@ -2318,7 +2318,7 @@
   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
+   <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>
 
@@ -3152,7 +3152,7 @@
 
    <li>
     <p>Return a <a href="#css-declaration-block">CSS declaration block</a> with the
-    <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> set to true and the
+    <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> set and the
     <a href="#css-declaration-block-declarations">CSS declaration block declarations</a> set to all properties
     the user agent supports with as value the <a href="#resolved-value">resolved value</a>
     computed for <var title="">obj</var> using the style rules associated

Index: cssom-source
===================================================================
RCS file: /sources/public/csswg/cssom/cssom-source,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cssom-source	3 Oct 2011 13:49:41 -0000	1.15
+++ cssom-source	3 Oct 2011 14:02:28 -0000	1.16
@@ -455,12 +455,12 @@
 
   <p>The
   <dfn title="dom-MediaList-mediaText"><code>mediaText</code></dfn>
-  attribute, on getting, must return a
+  attribute must return a
   <span title="serialize a media query list">serialization</span> of
   the <span>collection of media queries</span>.</p>
 
-  <p>On setting the <code title="dom-MediaList-mediaText">mediaText</code>
-  attribute these steps must be run:</p>
+  <p>Setting the <code title="dom-MediaList-mediaText">mediaText</code>
+  attribute must run these steps:
 
   <ol>
    <li><p>Empty the <span>collection of media queries</span>.</p></li>
@@ -529,7 +529,7 @@
 
   <p>To
   <dfn id="create-a-medialist-object">create a <code>MediaList</code> object</dfn>
-  from <var title>s</var> run these steps:</p>
+  from a string <var title>s</var>, run these steps:</p>
 
   <ol>
    <li><p>Create a new <code>MediaList</code> object.</p></li>
@@ -814,7 +814,7 @@
 
    <dt><dfn id="style-sheet-alternate-flag">style sheet alternate flag</dfn></dt>
    <dd>
-    <p>Either true or false. False by default.</p>
+    <p>Either set or unset. Unset by default.</p>
 
     <div class="example">
      <p>The following <span title="style sheet">style sheets</span> have
@@ -828,10 +828,10 @@
 
    <dt><dfn id="style-sheet-disabled-flag">style sheet disabled flag</dfn></dt>
    <dd>
-    <p>Either true or false. False by default.</p>
+    <p>Either set or unset. Unset by default.</p>
 
-    <p class="note">Even when false it does not necessarily mean that the
-    <span>style sheet</span> is actually rendered.</p>
+    <p class="note">Even when unset it does not necessarily mean that the
+    <span>style sheet</span> is actually used for rendering.</p>
    </dd>
 
 
@@ -895,10 +895,13 @@
 
   <p>The
   <dfn title="dom-StyleSheet-disabled"><code>disabled</code></dfn>
-  attribute must, on getting, return the
-  <span>style sheet disabled flag</span>. On setting, it
-  must set the <span>style sheet disabled flag</span> to
-  the given value.</p>
+  attribute must return true if the <span>style sheet disabled flag</span>
+  is set, or false otherwise.
+
+  <p>Setting the <code title="dom-StyleSheet-disabled">disabled</code>
+  attribute must set the <span>style sheet disabled flag</span> if the new
+  value is true, or unset the <span>style sheet disabled flag</span>
+  otherwise.
 
 
   <h4>The <code title>CSSStyleSheet</code> Interface</h4>
@@ -984,19 +987,18 @@
    remainder of these steps deal with the
    <span>style sheet disabled flag</span>.</p></li>
 
-   <li><p>If the <span>style sheet disabled flag</span> is true terminate
+   <li><p>If the <span>style sheet disabled flag</span> is set, terminate
    these steps.</p></li>
 
    <li><p>If the <span>style sheet title</span> is non-empty, the
-   <span>style sheet alternate flag</span> is false, and
+   <span>style sheet alternate flag</span> is unset, and
    <span>preferred style sheet set name</span> is the empty string
    <span>change the preferred style sheet set name</span> to the
    <span>style sheet title</span>.</p></li>
 
    <li>
-    <p>If any of the following is true set the
-    <span>style sheet disabled flag</span> to false and terminate these
-    steps:</p>
+    <p>If any of the following is true unset the
+    <span>style sheet disabled flag</span> and terminate these steps:
 
     <ul>
      <li><p>The <span>style sheet title</span> is empty.</p></li>
@@ -1010,13 +1012,13 @@
     </ul>
    </li>
 
-   <li><p>Set the <span>style sheet disabled flag</span> to true.</p></li>
+   <li><p>Set the <span>style sheet disabled flag</span>.
   </ol>
 
   <p>A <dfn id="persistent-style-sheet">persistent style sheet</dfn> is a
   <span>style sheet</span> from the <span>document style sheets</span>
   whose <span>style sheet title</span> is the empty string and whose
-  <span>style sheet alternate flag</span> is false.</p>
+  <span>style sheet alternate flag</span> is unset.</p>
 
   <p>A <dfn id="style-sheet-set">style sheet set</dfn> is an ordered
   collection of one or more <span title="style sheet">style sheets</span>
@@ -1029,22 +1031,21 @@
 
   <p>An <dfn id="enabled-style-sheet-set">enabled style sheet set</dfn> is a
   <span>style sheet set</span> of which each <span>style sheet</span> has
-  its <span>style sheet disabled flag</span> set to false.</p>
+  its <span>style sheet disabled flag</span> unset.</p>
 
   <p>To <dfn id="enable-a-style-sheet-set">enable a style sheet set</dfn>
   with name <var title>name</var>, run these steps:</p>
 
   <ol>
-   <li><p>If <var title>name</var> is the empty string set the
+   <li><p>If <var title>name</var> is the empty string, set the
    <span>style sheet disabled flag</span> for each <span>style sheet</span>
-   that is in a <span>style sheet set</span> to true and terminate these
-   steps.</p></li>
+   that is in a <span>style sheet set</span> and terminate these steps.
 
-   <li><p>Set the <span>style sheet disabled flag</span> for each
+   <li><p>Unset the <span>style sheet disabled flag</span> for each
    <span>style sheet</span> in a <span>style sheet set</span> whose
    <span>style sheet set name</span> is a
    <span data-anolis-spec=dom>case-sensitive</span> match for
-   <var title>name</var> to false and set it to true for all other
+   <var title>name</var> and set it for all other
    <span title="style sheet">style sheets</span> in a
    <span>style sheet set</span>.</p></li>
   </ol>
@@ -1069,7 +1070,7 @@
   <dfn id="preferred-style-sheet-set-name">preferred style sheet set name</dfn>
   is a concept to determine which
   <span style="style sheet">style sheets</span> need to have their
-  <span>style sheet disabled flag</span> set to false. Initially its value
+  <span>style sheet disabled flag</span> unset. Initially its value
   is the empty string.
 
   <p>To
@@ -1169,15 +1170,14 @@
    <li><p>If there is a single <span>enabled style sheet set</span> and no
    other <span>document style sheets</span> with a non-empty
    <span>style sheet title</span> have the
-   <span>style sheet disabled flag</span> set to false return the
+   <span>style sheet disabled flag</span> unset, return the
    <span>style sheet set name</span> of the
-   <span>enabled style sheet set</span> and terminate this set of
-   steps.</p></li>
+   <span>enabled style sheet set</span> and terminate these steps.
 
    <li><p>Otherwise, if <span title="style sheet">style sheets</span> from
    different <span title="style sheet set">style sheet sets</span> have
-   their <span>style sheet disabled flag</span> set to false return
-   null and terminate this set of steps.</p></li>
+   their <span>style sheet disabled flag</span> unset, return
+   null and terminate these steps.
 
    <li>
     <p>Otherwise, return the empty string.</p>
@@ -1185,7 +1185,7 @@
     <p class="note">At this point either all
     <span title="style sheet">style sheets</span> with a non-empty
     <span>style sheet title</span> have the
-    <span>style sheet disabled flag</span> set to true or there are no such
+    <span>style sheet disabled flag</span> set, or there are no such
     <span title="style sheet">style sheets</span>.</p>
    </li>
   </ol>
@@ -1495,9 +1495,9 @@
      <dd><p><var title>title</var></p></dd>
 
      <dt><span>style sheet alternate flag</span></dt>
-     <dd><p>True if the <code title>alternate</code> <span data-anolis-spec=xmlss>pseudo-attribute</span>
+     <dd><p>Set if the <code title>alternate</code> <span data-anolis-spec=xmlss>pseudo-attribute</span>
      value is a <span data-anolis-spec=dom>case-sensitive</span> match for
-     "<code>yes</code>", and false otherwise.</p></dd>
+     "<code>yes</code>", or unset otherwise.
     </dl>
    </li>
   </ol>
@@ -1569,10 +1569,10 @@
      <dd><p><var title>title</var></p></dd>
 
      <dt><span>style sheet alternate flag</span></dt>
-     <dd><p>True if one of the specified link relation type for this HTTP
+     <dd><p>Set if one of the specified link relation type for this HTTP
      <code title="http-link">Link</code> header is an
      <span data-anolis-spec=dom>ASCII case-insensitive</span> match for
-     "<code title>alternate</code>". Otherwise, false.</p></dd>
+     "<code title>alternate</code>", or false otherwise.
     </dl>
    </li>
   </ol>
@@ -1977,8 +1977,8 @@
 
   <dl>
    <dt><dfn>CSS declaration block readonly flag</dfn></dt>
-   <dd><p>False if the object can be manipulated. True if it can not be
-   manipulated. If not explicitly set its value is false.</p></dd>
+   <dd><p>Unset if the object can be manipulated. Set if it can not be
+   manipulated. Unless otherwise stated it is unset.</p></dd>
 
    <dt><dfn>CSS declaration block declarations</dfn></dt>
    <dd><p>The CSS declarations associated with the object.</p></dd>
@@ -2029,7 +2029,7 @@
   <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
+   <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>
 
@@ -2077,7 +2077,7 @@
   method must run these steps:
 
   <ol>
-   <li><p>If the <span>CSS declaration block readonly flag</span> is true
+   <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>
 
@@ -2116,7 +2116,7 @@
   method must run these steps:
 
   <ol>
-   <li><p>If the <span>CSS declaration block readonly flag</span> is true
+   <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>
 
@@ -2585,7 +2585,7 @@
 
    <li>
     <p>Return a <span>CSS declaration block</span> with the
-    <span>CSS declaration block readonly flag</span> set to true and the
+    <span>CSS declaration block readonly flag</span> set and the
     <span>CSS declaration block declarations</span> set to all properties
     the user agent supports with as value the <span>resolved value</span>
     computed for <var title>obj</var> using the style rules associated

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom/Overview.src.html,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -d -r1.162 -r1.163
--- Overview.src.html	3 Oct 2011 13:49:41 -0000	1.162
+++ Overview.src.html	3 Oct 2011 14:02:27 -0000	1.163
@@ -455,12 +455,12 @@
 
   <p>The
   <dfn title="dom-MediaList-mediaText"><code>mediaText</code></dfn>
-  attribute, on getting, must return a
+  attribute must return a
   <span title="serialize a media query list">serialization</span> of
   the <span>collection of media queries</span>.</p>
 
-  <p>On setting the <code title="dom-MediaList-mediaText">mediaText</code>
-  attribute these steps must be run:</p>
+  <p>Setting the <code title="dom-MediaList-mediaText">mediaText</code>
+  attribute must run these steps:
 
   <ol>
    <li><p>Empty the <span>collection of media queries</span>.</p></li>
@@ -529,7 +529,7 @@
 
   <p>To
   <dfn id="create-a-medialist-object">create a <code>MediaList</code> object</dfn>
-  from <var title>s</var> run these steps:</p>
+  from a string <var title>s</var>, run these steps:</p>
 
   <ol>
    <li><p>Create a new <code>MediaList</code> object.</p></li>
@@ -814,7 +814,7 @@
 
    <dt><dfn id="style-sheet-alternate-flag">style sheet alternate flag</dfn></dt>
    <dd>
-    <p>Either true or false. False by default.</p>
+    <p>Either set or unset. Unset by default.</p>
 
     <div class="example">
      <p>The following <span title="style sheet">style sheets</span> have
@@ -828,10 +828,10 @@
 
    <dt><dfn id="style-sheet-disabled-flag">style sheet disabled flag</dfn></dt>
    <dd>
-    <p>Either true or false. False by default.</p>
+    <p>Either set or unset. Unset by default.</p>
 
-    <p class="note">Even when false it does not necessarily mean that the
-    <span>style sheet</span> is actually rendered.</p>
+    <p class="note">Even when unset it does not necessarily mean that the
+    <span>style sheet</span> is actually used for rendering.</p>
    </dd>
 
 
@@ -895,10 +895,13 @@
 
   <p>The
   <dfn title="dom-StyleSheet-disabled"><code>disabled</code></dfn>
-  attribute must, on getting, return the
-  <span>style sheet disabled flag</span>. On setting, it
-  must set the <span>style sheet disabled flag</span> to
-  the given value.</p>
+  attribute must return true if the <span>style sheet disabled flag</span>
+  is set, or false otherwise.
+
+  <p>Setting the <code title="dom-StyleSheet-disabled">disabled</code>
+  attribute must set the <span>style sheet disabled flag</span> if the new
+  value is true, or unset the <span>style sheet disabled flag</span>
+  otherwise.
 
 
   <h4>The <code title>CSSStyleSheet</code> Interface</h4>
@@ -984,19 +987,18 @@
    remainder of these steps deal with the
    <span>style sheet disabled flag</span>.</p></li>
 
-   <li><p>If the <span>style sheet disabled flag</span> is true terminate
+   <li><p>If the <span>style sheet disabled flag</span> is set, terminate
    these steps.</p></li>
 
    <li><p>If the <span>style sheet title</span> is non-empty, the
-   <span>style sheet alternate flag</span> is false, and
+   <span>style sheet alternate flag</span> is unset, and
    <span>preferred style sheet set name</span> is the empty string
    <span>change the preferred style sheet set name</span> to the
    <span>style sheet title</span>.</p></li>
 
    <li>
-    <p>If any of the following is true set the
-    <span>style sheet disabled flag</span> to false and terminate these
-    steps:</p>
+    <p>If any of the following is true unset the
+    <span>style sheet disabled flag</span> and terminate these steps:
 
     <ul>
      <li><p>The <span>style sheet title</span> is empty.</p></li>
@@ -1010,13 +1012,13 @@
     </ul>
    </li>
 
-   <li><p>Set the <span>style sheet disabled flag</span> to true.</p></li>
+   <li><p>Set the <span>style sheet disabled flag</span>.
   </ol>
 
   <p>A <dfn id="persistent-style-sheet">persistent style sheet</dfn> is a
   <span>style sheet</span> from the <span>document style sheets</span>
   whose <span>style sheet title</span> is the empty string and whose
-  <span>style sheet alternate flag</span> is false.</p>
+  <span>style sheet alternate flag</span> is unset.</p>
 
   <p>A <dfn id="style-sheet-set">style sheet set</dfn> is an ordered
   collection of one or more <span title="style sheet">style sheets</span>
@@ -1029,22 +1031,21 @@
 
   <p>An <dfn id="enabled-style-sheet-set">enabled style sheet set</dfn> is a
   <span>style sheet set</span> of which each <span>style sheet</span> has
-  its <span>style sheet disabled flag</span> set to false.</p>
+  its <span>style sheet disabled flag</span> unset.</p>
 
   <p>To <dfn id="enable-a-style-sheet-set">enable a style sheet set</dfn>
   with name <var title>name</var>, run these steps:</p>
 
   <ol>
-   <li><p>If <var title>name</var> is the empty string set the
+   <li><p>If <var title>name</var> is the empty string, set the
    <span>style sheet disabled flag</span> for each <span>style sheet</span>
-   that is in a <span>style sheet set</span> to true and terminate these
-   steps.</p></li>
+   that is in a <span>style sheet set</span> and terminate these steps.
 
-   <li><p>Set the <span>style sheet disabled flag</span> for each
+   <li><p>Unset the <span>style sheet disabled flag</span> for each
    <span>style sheet</span> in a <span>style sheet set</span> whose
    <span>style sheet set name</span> is a
    <span data-anolis-spec=dom>case-sensitive</span> match for
-   <var title>name</var> to false and set it to true for all other
+   <var title>name</var> and set it for all other
    <span title="style sheet">style sheets</span> in a
    <span>style sheet set</span>.</p></li>
   </ol>
@@ -1069,7 +1070,7 @@
   <dfn id="preferred-style-sheet-set-name">preferred style sheet set name</dfn>
   is a concept to determine which
   <span style="style sheet">style sheets</span> need to have their
-  <span>style sheet disabled flag</span> set to false. Initially its value
+  <span>style sheet disabled flag</span> unset. Initially its value
   is the empty string.
 
   <p>To
@@ -1169,15 +1170,14 @@
    <li><p>If there is a single <span>enabled style sheet set</span> and no
    other <span>document style sheets</span> with a non-empty
    <span>style sheet title</span> have the
-   <span>style sheet disabled flag</span> set to false return the
+   <span>style sheet disabled flag</span> unset, return the
    <span>style sheet set name</span> of the
-   <span>enabled style sheet set</span> and terminate this set of
-   steps.</p></li>
+   <span>enabled style sheet set</span> and terminate these steps.
 
    <li><p>Otherwise, if <span title="style sheet">style sheets</span> from
    different <span title="style sheet set">style sheet sets</span> have
-   their <span>style sheet disabled flag</span> set to false return
-   null and terminate this set of steps.</p></li>
+   their <span>style sheet disabled flag</span> unset, return
+   null and terminate these steps.
 
    <li>
     <p>Otherwise, return the empty string.</p>
@@ -1185,7 +1185,7 @@
     <p class="note">At this point either all
     <span title="style sheet">style sheets</span> with a non-empty
     <span>style sheet title</span> have the
-    <span>style sheet disabled flag</span> set to true or there are no such
+    <span>style sheet disabled flag</span> set, or there are no such
     <span title="style sheet">style sheets</span>.</p>
    </li>
   </ol>
@@ -1495,9 +1495,9 @@
      <dd><p><var title>title</var></p></dd>
 
      <dt><span>style sheet alternate flag</span></dt>
-     <dd><p>True if the <code title>alternate</code> <span data-anolis-spec=xmlss>pseudo-attribute</span>
+     <dd><p>Set if the <code title>alternate</code> <span data-anolis-spec=xmlss>pseudo-attribute</span>
      value is a <span data-anolis-spec=dom>case-sensitive</span> match for
-     "<code>yes</code>", and false otherwise.</p></dd>
+     "<code>yes</code>", or unset otherwise.
     </dl>
    </li>
   </ol>
@@ -1569,10 +1569,10 @@
      <dd><p><var title>title</var></p></dd>
 
      <dt><span>style sheet alternate flag</span></dt>
-     <dd><p>True if one of the specified link relation type for this HTTP
+     <dd><p>Set if one of the specified link relation type for this HTTP
      <code title="http-link">Link</code> header is an
      <span data-anolis-spec=dom>ASCII case-insensitive</span> match for
-     "<code title>alternate</code>". Otherwise, false.</p></dd>
+     "<code title>alternate</code>", or false otherwise.
     </dl>
    </li>
   </ol>
@@ -1977,8 +1977,8 @@
 
   <dl>
    <dt><dfn>CSS declaration block readonly flag</dfn></dt>
-   <dd><p>False if the object can be manipulated. True if it can not be
-   manipulated. If not explicitly set its value is false.</p></dd>
+   <dd><p>Unset if the object can be manipulated. Set if it can not be
+   manipulated. Unless otherwise stated it is unset.</p></dd>
 
    <dt><dfn>CSS declaration block declarations</dfn></dt>
    <dd><p>The CSS declarations associated with the object.</p></dd>
@@ -2150,7 +2150,7 @@
   <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
+   <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>
 
@@ -2198,7 +2198,7 @@
   method must run these steps:
 
   <ol>
-   <li><p>If the <span>CSS declaration block readonly flag</span> is true
+   <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>
 
@@ -2237,7 +2237,7 @@
   method must run these steps:
 
   <ol>
-   <li><p>If the <span>CSS declaration block readonly flag</span> is true
+   <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>
 
@@ -3071,7 +3071,7 @@
 
    <li>
     <p>Return a <span>CSS declaration block</span> with the
-    <span>CSS declaration block readonly flag</span> set to true and the
+    <span>CSS declaration block readonly flag</span> set and the
     <span>CSS declaration block declarations</span> set to all properties
     the user agent supports with as value the <span>resolved value</span>
     computed for <var title>obj</var> using the style rules associated
Received on Monday, 3 October 2011 14:02:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 3 October 2011 14:02:32 GMT