Wed, 19 Sep 2012 16:39:13 -0700
Make it clearer that conditionText definition can be overridden by specific rule types.
css3-conditional/Overview.html | file | annotate | diff | comparison | revisions | |
css3-conditional/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css3-conditional/Overview.html Wed Sep 19 16:37:54 2012 -0700 1.2 +++ b/css3-conditional/Overview.html Wed Sep 19 16:39:13 2012 -0700 1.3 @@ -1127,8 +1127,19 @@ 1.4 <dl class=idl-attributes> 1.5 <dt><code>conditionText</code> of type <code>DOMString</code> 1.6 1.7 - <dd>The <code>conditionText</code> attribute, on getting, must return the 1.8 - result of serializing the associated condition. 1.9 + <dd> 1.10 + <p>The <code>conditionText</code> attribute represents the condition of 1.11 + the rule. Since what this condition does varies between the derived 1.12 + interfaces of <a 1.13 + href="#cssconditionrule"><code>CSSConditionRule</code></a>, those 1.14 + derived interfaces may specify different behavior for this attribute 1.15 + (see, for example, <a href="#cssmediarule"><code>CSSMediaRule</code></a> 1.16 + below). In the absence of such rule-specific behavior, the following 1.17 + rules apply: 1.18 + 1.19 + <p>The <code>conditionText</code> attribute, on getting, must return the 1.20 + result of serializing the associated condition. 1.21 + 1.22 <p>On setting the <code>conditionText</code> attribute these steps must 1.23 be run: 1.24
2.1 --- a/css3-conditional/Overview.src.html Wed Sep 19 16:37:54 2012 -0700 2.2 +++ b/css3-conditional/Overview.src.html Wed Sep 19 16:39:13 2012 -0700 2.3 @@ -841,8 +841,20 @@ 2.4 }</pre> 2.5 2.6 <dl class='idl-attributes'> 2.7 + 2.8 <dt><code>conditionText</code> of type <code>DOMString</code> 2.9 - <dd>The <code>conditionText</code> attribute, on getting, must return 2.10 + <dd> 2.11 + <p>The <code>conditionText</code> attribute represents 2.12 + the condition of the rule. 2.13 + Since what this condition does 2.14 + varies between the derived interfaces of <code>CSSConditionRule</code>, 2.15 + those derived interfaces 2.16 + may specify different behavior for this attribute 2.17 + (see, for example, <code>CSSMediaRule</code> below). 2.18 + In the absence of such rule-specific behavior, 2.19 + the following rules apply:</p> 2.20 + 2.21 + <p>The <code>conditionText</code> attribute, on getting, must return 2.22 the result of serializing the associated condition. 2.23 2.24 <p>On setting the <code>conditionText</code> attribute these steps