Skip to content

Commit ee96361

Browse files
committed
[css-values] Clarify that re-orderable combinators allow interleaving.
1 parent f3f2a29 commit ee96361

File tree

2 files changed

+343
-289
lines changed

2 files changed

+343
-289
lines changed

css-values/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ Component value combinators</h3>
140140
[ a b ] | [ c || [ d && [ e f ]]]
141141
</pre>
142142

143+
For re-orderable combinators (||, &&),
144+
ordering of the grammar does not matter:
145+
components in the same grouping may be interleaved in any order.
146+
Thus, the following lines are equivalent:
147+
<pre>
148+
<!---->a || b || c
149+
<!---->b || a || c</pre>
150+
143151
<h3 id="component-multipliers">
144152
Component value multipliers</h3>
145153

@@ -1662,6 +1670,7 @@ Changes</h2>
16621670
<li>Added notation for restricting the length of comma-separated lists
16631671
specified with the ''#'' notation.
16641672
<li>Clarified handling of ''toggle()'' when used in shorthand declarations.
1673+
<li>Clarified that stringing together re-orderable combinations allows interleaving.
16651674
<li>Changed syntax references from the 2.1 grammar to the Syntax spec.
16661675
</ul>
16671676

0 commit comments

Comments
 (0)