@@ -161,28 +161,11 @@ Generalized Conditional Rules: the ''@when'' rule</h2>
161161 It is defined as:
162162
163163 <pre class=prod>
164- @when <<boolean-condition >> {
164+ @when <<boolean-expr[ <<if-test>> ] >> {
165165 <<rule-list>>
166166 }
167167 </pre>
168168
169- Where <dfn><<boolean-condition>></dfn> is a boolean algebra a la [[mediaqueries-4#mq-syntax]] ,
170- but with ''media()'' and ''supports()'' functions as leaves.
171-
172- Issue: Define "boolean algebra, with X as leaves" in a generic way in Conditional,
173- so all the conditional rules can reference it directly,
174- rather than having to redefine boolean algebra on their own.
175-
176- The ''media()'' and ''supports()'' functions are defined as:
177-
178- <pre class=prod>
179- <dfn>media()</dfn> = media( [ <<mf-plain>> | <<mf-boolean>> | <<mf-range>> ] )
180- <dfn>supports()</dfn> = supports( <<declaration>> )
181- </pre>
182-
183- A ''media()'' or ''supports()'' function is associated the boolean result
184- that its contained condition is associated with.
185-
186169<h2 id="else-rule">
187170Chained Conditionals: the ''@else'' rule</h2>
188171
@@ -209,13 +192,13 @@ Chained Conditionals: the ''@else'' rule</h2>
209192 It is defined as:
210193
211194 <pre class=prod>
212- @else <<boolean-condition >> ? {
195+ @else <<boolean-expr[ <if-test> ] >>? {
213196 <<rule-list>>
214197 }
215198 </pre>
216199
217200 ''@else'' is interpreted identically to ''@when'' .
218- If its <<boolean-condition >> is omitted,
201+ If its <<boolean-expr >> is omitted,
219202 it's treated as having a condition that's always true.
220203
221204 A <dfn export>conditional rule chain</dfn> is
0 commit comments