css3-conditional/Overview.src.html

changeset 6621
095e8cb26579
parent 6620
b06f854c5e31
child 6622
44bf9c71914a
     1.1 --- a/css3-conditional/Overview.src.html	Fri Aug 31 13:30:08 2012 -0700
     1.2 +++ b/css3-conditional/Overview.src.html	Fri Aug 31 13:36:14 2012 -0700
     1.3 @@ -861,18 +861,9 @@
     1.4    <dd>The <code>conditionText</code> attribute (defined on the <code>CSSConditionRule</code> parent rule),
     1.5      on getting, must return the value of <code>media.mediaText</code> on the rule.
     1.6  
     1.7 -    <p>On setting the <code>conditionText</code> attribute these steps must be run:
     1.8 -
     1.9 -    <ol>
    1.10 -      <li>Trim the given value of white space.
    1.11 -      <li>If the given value matches the grammar of the 
    1.12 -        appropriate condition production for the given rule, 
    1.13 -        replace the associated CSS condition with the given value.
    1.14 -        Also, construct a new <code>MediaList</code> object,
    1.15 -        passing the given value as the constructor's sole argument,
    1.16 -        and replace the rule's <code>media</code> attribute with it.
    1.17 -      <li>Otherwise, do nothing.
    1.18 -    </ol>
    1.19 +    <p>Setting the <code>conditionText</code> attribute
    1.20 +      must set the <code>media.mediaText</code> attribute on the rule.
    1.21 +</dl>
    1.22  
    1.23  
    1.24  <h3 id="the-csssupportsrule-interface">
    1.25 @@ -880,7 +871,7 @@
    1.26  
    1.27  <p>The <dfn><code>CSSSupportsRule</code></dfn> interface represents a ''@supports'' rule.</p>
    1.28  
    1.29 -<pre class='idl'>interface CSSSupportsRule : CSSRule {
    1.30 +<pre class='idl'>interface CSSSupportsRule : CSSConditionRule {
    1.31  }</pre>
    1.32  
    1.33  
    1.34 @@ -889,7 +880,7 @@
    1.35  
    1.36  <p>The <dfn><code>CSSDocumentRule</code></dfn> interface represents a ''@document'' rule.</p>
    1.37  
    1.38 -<pre class='idl'>interface CSSDocumentRule : CSSRule {
    1.39 +<pre class='idl'>interface CSSDocumentRule : CSSConditionRule {
    1.40  }</pre>
    1.41  
    1.42  

mercurial