Skip to content

Commit e35f0b7

Browse files
committed
Rename supportsCondition to conditionText.
1 parent a189792 commit e35f0b7

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

css3-conditional/Overview.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,21 +1066,19 @@ <h3 id=the-csssupportsrule-interface><span class=secno>8.2. </span> The
10661066
href="#dfn-support"><code class=css>@supports</code></a>’ rule.
10671067

10681068
<pre class=idl>interface CSSSupportsRule : CSSRule {
1069-
attribute DOMString supportsCondition;
1069+
attribute DOMString conditionText;
10701070
readonly attribute CSSRuleList cssRules;
10711071
unsigned long insertRule (DOMString rule, unsigned long index);
10721072
void deleteRule (unsigned long index);
10731073
}</pre>
10741074

10751075
<dl class=idl-attributes>
1076-
<dt><a href="#supportscondition"><code>supportsCondition</code></a> of
1077-
type <code>DOMString</code>, readonly
1076+
<dt><code>conditionText</code> of type <code>DOMString</code>, readonly
10781077

1079-
<dd>The <ocde>supportsCondition attribute, on getting, must return the
1080-
result of serializing the associated support condition.
1081-
<p>On setting the <a
1082-
href="#supportscondition"><code>supportsCondition</code></a> attribute
1083-
these steps must be run:
1078+
<dd>The <ocde>conditionText attribute, on getting, must return the result
1079+
of serializing the associated support condition.
1080+
<p>On setting the <code>conditionText</code> attribute these steps must
1081+
be run:
10841082

10851083
<ol>
10861084
<li>Trim the given value of white space.
@@ -1093,8 +1091,6 @@ <h3 id=the-csssupportsrule-interface><span class=secno>8.2. </span> The
10931091
<li>Otherwise, do nothing.
10941092
</ol>
10951093

1096-
<p class=issue>This name sucks. Suggestions?
1097-
10981094
<dt><code>cssRules</code> of type <code>CSSRuleList</code>, readonly
10991095

11001096
<dd>The <code>cssRules</code> attribute must return a

css3-conditional/Overview.src.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -807,18 +807,18 @@ <h3 id="the-csssupportsrule-interface">
807807
<p>The <code>CSSSupportsRule</code> interface represents a ''@supports'' rule.</p>
808808

809809
<pre class='idl'>interface CSSSupportsRule : CSSRule {
810-
attribute DOMString supportsCondition;
810+
attribute DOMString conditionText;
811811
readonly attribute CSSRuleList cssRules;
812812
unsigned long insertRule (DOMString rule, unsigned long index);
813813
void deleteRule (unsigned long index);
814814
}</pre>
815815

816816
<dl class='idl-attributes'>
817-
<dt><code>supportsCondition</code> of type <code>DOMString</code>, readonly
818-
<dd>The <ocde>supportsCondition</code> attribute, on getting, must return
817+
<dt><code>conditionText</code> of type <code>DOMString</code>, readonly
818+
<dd>The <ocde>conditionText</code> attribute, on getting, must return
819819
the result of serializing the associated support condition.
820820

821-
<p>On setting the <code>supportsCondition</code> attribute these steps
821+
<p>On setting the <code>conditionText</code> attribute these steps
822822
must be run:
823823

824824
<ol>
@@ -829,8 +829,6 @@ <h3 id="the-csssupportsrule-interface">
829829
<li>Otherwise, do nothing.
830830
</ol>
831831

832-
<p class='issue'>This name sucks. Suggestions?
833-
834832
<dt><code>cssRules</code> of type <code>CSSRuleList</code>, readonly
835833
<dd>The <code>cssRules</code> attribute must return a <code>CSSRuleList</code>
836834
object for the list of CSS rules specified with the ''@supports'' rule.

0 commit comments

Comments
 (0)