Skip to content

Commit 21beb0c

Browse files
committed
[css-counter-styles] Switch naming of 'negative-capable' to 'uses a negative sign', per dbaron's suggestion.
1 parent c308a6a commit 21beb0c

4 files changed

Lines changed: 32 additions & 16 deletions

File tree

css-counter-styles/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Counter Styles</h2>
9494
Using the counter value and the counter algorithm for the counter style,
9595
generate an <dfn>initial representation for the counter value</dfn>.
9696
If the counter value is negative
97-
and the counter style is <i>negative-capable</i>,
97+
and the counter style <i>uses a negative sign</i>,
9898
instead generate an initial representation using the absolute value of the counter value.
9999

100100
<li>
@@ -103,7 +103,7 @@ Counter Styles</h2>
103103

104104
<li>
105105
If the counter value is negative
106-
and the counter style is <i>negative-capable</i>,
106+
and the counter style <i>uses a negative sign</i>,
107107
wrap the representation in the counter style's negative sign
108108
as specified in the 'negative' descriptor.
109109

@@ -630,14 +630,14 @@ Formatting negative values: the 'negative' descriptor</h3>
630630
</div>
631631

632632
Not all 'system' values use a negative sign.
633-
In particular, a counter style is <dfn export>negative-capable</dfn>
633+
In particular, a counter style <dfn export title="use a negative sign|uses a negative sign">uses a negative sign</dfn>
634634
is one where its 'system' value is
635635
''symbolic'',
636636
''system/alphabetic'',
637637
''system/numeric'',
638638
''additive'',
639-
or ''override'' if the overridden counter style is itself <i>negative-capable</i>.
640-
If a counter style is not <i>negative-capable</i>,
639+
or ''override'' if the overridden counter style itself <i>uses a negative sign</i>.
640+
If a counter style does not <i>use a negative sign</i>,
641641
it ignores the negative sign when <i title="generate a counter representation">generating a counter representation</i>.
642642

643643

@@ -751,7 +751,7 @@ Zero-Padding and Constant-Width Representations: the 'pad' descriptor</h3>
751751
<span class='note'>(Note that, per the algorithm to <a>generate a counter representation</a>,
752752
this occurs before adding prefixes/suffixes/negatives.)</span>
753753
If the counter value is negative
754-
and the counter style is <i>negative-capable</i>,
754+
and the counter style <i>uses a negative sign</i>,
755755
further reduce <var>difference</var>
756756
by the number of <a>grapheme clusters</a> in the counter style’s 'negative' descriptor’s <<symbol>>(s).
757757

@@ -1373,7 +1373,7 @@ Complex Predefined Counter Styles</h2>
13731373
reusing the algorithm but swapping out some of the other descriptors.
13741374

13751375
All of the counter styles defined in this section have a <a title='speak-as' descriptor>spoken form</a> of <a value for=speak-as>numeric</a>,
1376-
and are <i>negative-capable</i>.
1376+
and <i>use a negative sign</i>.
13771377

13781378

13791379
<h3 id='complex-cjk'>

css-counter-styles/Overview.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ <h2 class="heading settled heading" data-level=2 id=counter-styles><span class=s
249249
Using the counter value and the counter algorithm for the counter style,
250250
generate an <dfn data-dfn-type=dfn data-noexport="" id=initial-representation-for-the-counter-value>initial representation for the counter value<a class=self-link href=#initial-representation-for-the-counter-value></a></dfn>.
251251
If the counter value is negative
252-
and the counter style is <a data-link-type=dfn href=#negative-capable title=negative-capable>negative-capable</a>,
252+
and the counter style <a data-link-type=dfn href=#use-a-negative-sign title="uses a negative sign">uses a negative sign</a>,
253253
instead generate an initial representation using the absolute value of the counter value.
254254

255255
<li>
@@ -258,7 +258,7 @@ <h2 class="heading settled heading" data-level=2 id=counter-styles><span class=s
258258

259259
<li>
260260
If the counter value is negative
261-
and the counter style is <a data-link-type=dfn href=#negative-capable title=negative-capable>negative-capable</a>,
261+
and the counter style <a data-link-type=dfn href=#use-a-negative-sign title="uses a negative sign">uses a negative sign</a>,
262262
wrap the representation in the counter style’s negative sign
263263
as specified in the <a class=property data-link-type=propdesc href=#descdef-negative title=negative>negative</a> descriptor.
264264

@@ -763,14 +763,14 @@ <h3 class="heading settled heading" data-level=3.2 id=counter-style-negative><sp
763763
</div>
764764

765765
<p>Not all <a class=property data-link-type=propdesc href=#descdef-system title=system>system</a> values use a negative sign.
766-
In particular, a counter style is <dfn data-dfn-type=dfn data-export="" id=negative-capable>negative-capable<a class=self-link href=#negative-capable></a></dfn>
766+
In particular, a counter style <dfn data-dfn-type=dfn data-export="" id=use-a-negative-sign title="use a negative sign|uses a negative sign">uses a negative sign<a class=self-link href=#use-a-negative-sign></a></dfn>
767767
is one where its <a class=property data-link-type=propdesc href=#descdef-system title=system>system</a> value is
768768
<a class=css data-link-type=maybe href=#valuedef-symbolic title=symbolic>symbolic</a>,
769769
<a class=css data-link-for=system data-link-type=maybe href=#valuedef-alphabetic0 title=alphabetic>alphabetic</a>,
770770
<a class=css data-link-for=system data-link-type=maybe href=#valuedef-numeric0 title=numeric>numeric</a>,
771771
<a class=css data-link-type=maybe href=#valuedef-additive title=additive>additive</a>,
772-
or <a class=css data-link-type=maybe href=#valuedef-override title=override>override</a> if the overridden counter style is itself <a data-link-type=dfn href=#negative-capable title=negative-capable>negative-capable</a>.
773-
If a counter style is not <a data-link-type=dfn href=#negative-capable title=negative-capable>negative-capable</a>,
772+
or <a class=css data-link-type=maybe href=#valuedef-override title=override>override</a> if the overridden counter style itself <a data-link-type=dfn href=#use-a-negative-sign title="uses a negative sign">uses a negative sign</a>.
773+
If a counter style does not <a data-link-type=dfn href=#use-a-negative-sign title="use a negative sign">use a negative sign</a>,
774774
it ignores the negative sign when <a data-link-type=dfn href=#generate-a-counter title="generate a counter representation">generating a counter representation</a>.</p>
775775

776776

@@ -864,7 +864,7 @@ <h3 class="heading settled heading" data-level=3.6 id=counter-style-pad><span cl
864864
<span class=note>(Note that, per the algorithm to <a data-link-type=dfn href=#generate-a-counter title="generate a counter representation">generate a counter representation</a>,
865865
this occurs before adding prefixes/suffixes/negatives.)</span>
866866
If the counter value is negative
867-
and the counter style is <a data-link-type=dfn href=#negative-capable title=negative-capable>negative-capable</a>,
867+
and the counter style <a data-link-type=dfn href=#use-a-negative-sign title="uses a negative sign">uses a negative sign</a>,
868868
further reduce <var>difference</var>
869869
by the number of <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#grapheme-cluster0 title="grapheme clusters">grapheme clusters</a> in the counter style’s <a class=property data-link-type=propdesc href=#descdef-negative title=negative>negative</a> descriptor’s <a class="production css-code" data-link-type=type href=#typedef-symbol title="<symbol>">&lt;symbol&gt;</a>(s).</p>
870870

@@ -1438,7 +1438,7 @@ <h2 class="heading settled heading" data-level=7 id=complex-predefined-counters>
14381438
reusing the algorithm but swapping out some of the other descriptors.</p>
14391439

14401440
<p>All of the counter styles defined in this section have a <a class=css-code data-link-type=descriptor href=#descdef-speak-as title=speak-as>spoken form</a> of <a class=css-code data-link-for=speak-as data-link-type=value href=#valuedef-numeric title=numeric>numeric</a>,
1441-
and are <a data-link-type=dfn href=#negative-capable title=negative-capable>negative-capable</a>.</p>
1441+
and <a data-link-type=dfn href=#use-a-negative-sign title="use a negative sign">use a negative sign</a>.</p>
14421442

14431443

14441444
<h3 class="heading settled heading" data-level=7.1 id=complex-cjk><span class=secno>7.1 </span><span class=content>
@@ -2399,8 +2399,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
23992399
<li>name, <a href=#dom-csscounterstylerule-name title="section 9.2">9.2</a>
24002400
<li>negative<ul><li>descriptor for @counter-style, <a href=#descdef-negative title="section 3.2">3.2</a>
24012401
<li>attribute for CSSCounterStyleRule, <a href=#dom-csscounterstylerule-negative title="section 9.2">9.2</a>
2402-
</ul><li>negative-capable, <a href=#negative-capable title="section 3.2">3.2</a>
2403-
<li>numeric<ul><li>value for @counter-style/system, <a href=#valuedef-numeric0 title="section 3.1.5">3.1.5</a>
2402+
</ul><li>numeric<ul><li>value for @counter-style/system, <a href=#valuedef-numeric0 title="section 3.1.5">3.1.5</a>
24042403
<li>value for @counter-style/speak-as, <a href=#valuedef-numeric title="section 3.9">3.9</a>
24052404
</ul><li>override, <a href=#valuedef-override title="section 3.1.7">3.1.7</a>
24062405
<li>pad<ul><li>descriptor for @counter-style, <a href=#descdef-pad title="section 3.6">3.6</a>
@@ -2432,6 +2431,8 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
24322431
<li>upper-alpha-legal, <a href=#upper-alpha-legal title="section 3.1.3">3.1.3</a>
24332432
<li>upper-latin, <a href=#valuedef-upper-latin title="section 6.2">6.2</a>
24342433
<li>upper-roman, <a href=#valuedef-upper-roman title="section 6.1">6.1</a>
2434+
<li>use a negative sign, <a href=#use-a-negative-sign title="section 3.2">3.2</a>
2435+
<li>uses a negative sign, <a href=#use-a-negative-sign title="section 3.2">3.2</a>
24352436
</ul></div>
24362437

24372438
<h2 class="no-num no-ref heading settled heading" id=property-index><span class=content>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,10 @@ <h1>CSS Counter Styles Level 3 Disposition of Comments for 2013-07-18 LCWD</h1>
261261
Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0131.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0131.html</a>
262262
Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0133.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0133.html</a>
263263
Closed: Accepted</pre>
264+
<pre class='a' id='issue-32'>
265+
Issue 32. <a href='#issue-32'>#</a>
266+
Summary: The term 'negative-capable' is confusing.
267+
From: David Baron
268+
Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0053.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0053.html</a>
269+
Response:
270+
Closed: Accepted</pre>

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,11 @@ From: Xidorn Quan
233233
Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0131.html
234234
Response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0133.html
235235
Closed: Accepted
236+
----
237+
Issue 32.
238+
Summary: The term 'negative-capable' is confusing.
239+
From: David Baron
240+
Comment: http://lists.w3.org/Archives/Public/www-style/2014May/0053.html
241+
Response:
242+
Closed: Accepted
243+
----

0 commit comments

Comments
 (0)