Skip to content

Commit 6c659d6

Browse files
committed
[css-conditional] Make conditionText readonly.
As per w3c#6819.
1 parent 03067d2 commit 6c659d6

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

css-conditional-3/Overview.bs

+1-20
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ all the “conditional” at-rules,
753753
<pre class='idl' export>
754754
[Exposed=Window]
755755
interface CSSConditionRule : CSSGroupingRule {
756-
attribute CSSOMString conditionText;
756+
readonly attribute CSSOMString conditionText;
757757
};
758758
</pre>
759759

@@ -781,25 +781,6 @@ js/conditional-CSSGroupingRule.html
781781
the result of serializing the associated condition.
782782

783783
<wpt title=".conditionText returns serialization of condition."></wpt>
784-
785-
On setting the <code>conditionText</code> attribute these steps
786-
must be run:
787-
788-
<ol>
789-
<li>Trim the given value of white space.
790-
<li>If the given value [=CSS/parses=]
791-
as the appropriate condition grammar for the given rule
792-
(such as <<supports-condition>> for ''@supports'', etc),
793-
replace the associated CSS condition with the given value.
794-
<li>Otherwise, do nothing.
795-
</ol>
796-
797-
<!-- <wpt title="Setting .conditionText to a valid value changes the effective condition.">
798-
js/CSSConditionRule.html
799-
</wpt>
800-
<wpt title="Setting .conditionText to an invalid value does nothing.">
801-
js/CSSConditionRule.html
802-
</wpt> -->
803784
</dl>
804785

805786

0 commit comments

Comments
 (0)