Skip to content

Commit f780243

Browse files
committed
[css-values] Add an example of using # and {} together.
1 parent d465dce commit f780243

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css-values/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ <h3 id=component-multipliers><span class=secno>2.3. </span> Component value
510510
<li>A hash mark (#) indicates that the preceding type, word, or group
511511
occurs one or more times, separated by comma tokens. It may optionally be
512512
followed by the curly brace forms, above, to indicate precisely how many
513-
times the repetition occurs.
513+
times the repetition occurs, like ‘<code
514+
class=css>&lt;length>#{1,4}</code>’.
514515
</ul>
515516

516517
<p>For repeated component values (indicated by ‘<code

css-values/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ <h3 id="component-multipliers">
234234
<li>A hash mark (#) indicates that the preceding type, word, or
235235
group occurs one or more times, separated by comma tokens.
236236
It may optionally be followed by the curly brace forms, above,
237-
to indicate precisely how many times the repetition occurs.
237+
to indicate precisely how many times the repetition occurs,
238+
like ''&lt;length>#{1,4}''.
238239
</ul>
239240

240241
<p>For repeated component values (indicated by ''*'', ''+'', or ''#''), UAs must support at least 20 repetitions of the component. If a property value contains more than the supported number of repetitions, the declaration must be ignored as if it were invalid.</p>

0 commit comments

Comments
 (0)