Skip to content

Commit d93b8e6

Browse files
committed
[css-values] Per f2f discussion, added \! to the CSS grammar.
1 parent a0429c0 commit d93b8e6

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

css-values/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ Component value multipliers</h3>
222222
It may optionally be followed by the curly brace forms, above,
223223
to indicate precisely how many times the repetition occurs,
224224
like ''&lt;length>#{1,4}''.
225+
226+
<li>An exclamation point (!) after a group indicates that the group must produce at least one value;
227+
even if the grammar of the items within the group would otherwise allow the entire contents to be omitted,
228+
at least one component value must not be omitted.
225229
</ul>
226230

227231
For repeated component values (indicated by ''*'', ''+'', or ''#''),

css-values/Overview.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,10 @@ <h3 class="heading settled heading" data-level=2.3 id=component-multipliers><spa
377377
It may optionally be followed by the curly brace forms, above,
378378
to indicate precisely how many times the repetition occurs,
379379
like <span class=css data-link-type=maybe title="<length>#{1,4}">&lt;length&gt;#{1,4}</span>.
380+
381+
<li>An exclamation point (!) after a group indicates that the group must produce at least one value;
382+
even if the grammar of the items within the group would otherwise allow the entire contents to be omitted,
383+
at least one component value must not be omitted.
380384
</ul>
381385

382386
<p>For repeated component values (indicated by <span class=css data-link-type=maybe title=*>*</span>, <span class=css data-link-type=maybe title=+>+</span>, or <span class=css data-link-type=maybe title=#>#</span>),

0 commit comments

Comments
 (0)