Skip to content

Commit 8907cb8

Browse files
committed
[css-counter-styles] Add requirement that symbols(numeric|alphabetic) have at least two symbols.
1 parent e2d80c5 commit 8907cb8

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

css-counter-styles/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,10 @@ Defining Anonymous Counter Styles: the ''symbols()'' function</h2>
983983
and the provided <<string>>s and <<image>>s as the value of the 'symbols' property.
984984
If the system is ''fixed'', the <i>first symbol value</i> is ''1''.
985985

986+
If the system is ''system/alphabetic'' or ''system/numeric'',
987+
there must be at least two <<string>>s or <<image>>s,
988+
or else the function is invalid.
989+
986990
<div class='example'>
987991
This code:
988992

css-counter-styles/Overview.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</p>
6060
<h1 class="p-name no-ref" id=title>CSS Counter Styles Level 3</h1>
6161
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
62-
<span class=dt-updated><span class=value-title title=20140409>9 April 2014</span></span></span></h2>
62+
<span class=dt-updated><span class=value-title title=20140414>14 April 2014</span></span></span></h2>
6363
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-counter-styles/>http://dev.w3.org/csswg/css-counter-styles/</a><dt>Latest version:<dd><a href=http://w3.org/TR/css-counter-styles-3/>http://w3.org/TR/css-counter-styles-3/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-counter-styles/>http://dev.w3.org/csswg/css-counter-styles/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2012/WD-css-counter-styles-3-20121009/ rel=previous>http://www.w3.org/TR/2012/WD-css-counter-styles-3-20121009/</a>
6464
<dt>Feedback:</dt>
6565
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-counter-styles%5D%20feedback">www-style@w3.org</a>
@@ -1047,6 +1047,10 @@ <h2 class="heading settled heading" data-level=4 id=symbols-function><span class
10471047
and the provided <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a>s and <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-images-3/#image-type title="<image>">&lt;image&gt;</a>s as the value of the <a class=property data-link-type=propdesc href=#descdef-symbols title=symbols>symbols</a> property.
10481048
If the system is <a class=css data-link-type=maybe href=#valuedef-fixed title=fixed>fixed</a>, the <a data-link-type=dfn href=#first-symbol-value title="first symbol value">first symbol value</a> is <span class=css data-link-type=maybe title=1>1</span>.
10491049

1050+
<p> If the system is <a class=css data-link-for=system data-link-type=maybe href=#valuedef-alphabetic0 title=alphabetic>alphabetic</a> or <a class=css data-link-for=system data-link-type=maybe href=#valuedef-numeric0 title=numeric>numeric</a>,
1051+
there must be at least two <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a>s or <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-images-3/#image-type title="<image>">&lt;image&gt;</a>s,
1052+
or else the function is invalid.
1053+
10501054
<div class=example>
10511055
This code:
10521056

css-counter-styles/issues-lc-20130718.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,9 @@ Comment: http://lists.w3.org/Archives/Public/www-style/2014Mar/0139.html
213213
Response: http://lists.w3.org/Archives/Public/www-style/2014Mar/0204.html
214214
Closed: Accepted
215215
----
216+
Issue 29.
217+
Summary: Spec should mention the minimum # of symbols requirement for symbols() function.
218+
From: Xidorn Quan
219+
Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0121.html
220+
Response:
221+
Closed: Accepted

0 commit comments

Comments
 (0)