@@ -224,8 +224,8 @@ Boolean Expression Multiplier <<boolean[]>></h3>
224224
225225 The <<boolean[]>> notation wraps another value type in the square brackets within it,
226226 e.g. <boolean[ <test> ] >,
227- and represents that value alone as well as
228- boolean combinations of those values
227+ and represents that value type alone as well as
228+ boolean combinations
229229 using the ''not'' , ''and'' , and ''or'' keywords
230230 and grouping parenthesis.
231231 It is formally equivalent to:
@@ -235,21 +235,22 @@ Boolean Expression Multiplier <<boolean[]>></h3>
235235 [ [ and <boolean-group> ] *
236236 | [ or <boolean-group> ] * ]
237237
238- <boolean-group> = <test> | ( <boolean> ) | <general-enclosed>
238+ <boolean-group> = <test> | ( <boolean[ <test> ] > ) | <general-enclosed>
239239 </xmp>
240240
241- The <<boolean[]>> production represents a true, false, or unknown value,
241+ The <<boolean[]>> production represents a true, false, or unknown value.
242+ Its value is resolved using 3-value Kleene logic,
242243 with top-level unknown values
243244 (those not directly nested inside the grammar of another <<boolean[]>> )
244- resolving to false unless otherwise specified.
245- Its value is resolved using 3-value Kleene logic;
245+ resolving to false unless otherwise specified;
246246 see [[#boolean-logic]] for details.
247247
248248 <div class=example>
249249 For example, the ''@container'' rule allows a wide variety of tests:
250250 including size queries, style queries, and scroll-state queries.
251251 All of these are arbitrarily combinable with boolean logic.
252- Using <<boolean[]>> , the grammar for an ''@container'' query is:
252+ Using <<boolean[]>> , the grammar for an ''@container'' query
253+ could be written as:
253254
254255 <xmp class=prod>
255256 <container-query> = <boolean[ <cq-test> ]>
0 commit comments