Skip to content

Commit 746d249

Browse files
committed
Some more fixups to be consistent with multiple ranges.
1 parent f0cf823 commit 746d249

2 files changed

Lines changed: 6 additions & 17 deletions

File tree

css3-lists/Overview.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,9 +1428,8 @@ <h2 id=counter-style><span class=secno>8. </span> Defining Custom Counter
14281428
counter value, follow these steps:
14291429

14301430
<ol>
1431-
<li>If the counter value is less than the <i
1432-
title=counter-lower-bound>lower bound</i> or greater than the <i
1433-
title=counter-upper-bound>upper bound</i> of the counter style, exit this
1431+
<li>If the counter value is outside the <a href="#range"><i
1432+
title=counter-range>range</i></a> of the counter style, exit this
14341433
algorithm and instead <i title=generate-a-counter>generate a counter
14351434
representation</i> using the counter style's fallback style and the same
14361435
counter value.
@@ -2158,9 +2157,8 @@ <h3 id=counter-style-range><span class=secno>8.5. </span> Limiting the
21582157
the ‘<a href="#descdef-range"><code class=css>range</code></a>
21592158
descriptor applies at the same time as the implicit range given by the
21602159
<a href="#descdef-type"><code class=css>type</code></a>’ descriptor -
2161-
if the counter value is less than either lower bound, or greater than
2162-
either upper bound, the fallback style must instead be used to generate
2163-
the representation.
2160+
if the counter value is outside either range, the fallback style must
2161+
instead be used to generate the representation.
21642162

21652163
<p class=issue>There's also an implicit range coming from implementation
21662164
limits. Should we require UAs to support all values in a signed 2-byte

css3-lists/Overview.src.html

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,7 @@ <h2 id='counter-style'>
862862
using a particular counter style for a particular counter value, follow these steps:</p>
863863

864864
<ol>
865-
<li>If the counter value is less than the <i title='counter-lower-bound'>lower bound</i>
866-
or greater than the <i title='counter-upper-bound'>upper bound</i> of the counter
867-
style, exit this algorithm and instead <i title='generate-a-counter'>generate a counter representation</i>
868-
using the counter style's fallback style and the same counter value.</li>
865+
<li>If the counter value is outside the <i title='counter-range'>range</i> of the counter style, exit this algorithm and instead <i title='generate-a-counter'>generate a counter representation</i> using the counter style's fallback style and the same counter value.</li>
869866

870867
<li>Using the counter value and the <i title='counter-algorithm'>counter algorithm</i>
871868
for the counter style, generate an initial representation for the counter value.</li>
@@ -1434,13 +1431,7 @@ <h3 id='counter-style-range'>
14341431

14351432
<p>If the value is ''auto'', the range depends on the counter type. For ''repeating'', ''numeric'', and ''non-repeating'' types, it must be treated identically to specifying ''infinite infinite''. For ''alphabetic'' and ''symbolic'', it must be treated identically to ''1 infinite''. For ''additive'', it must be treated identically to ''0 infinite''. For ''override'', it must be treated according to the type of the counter style it is overriding.</p>
14361433

1437-
<p>Some counter style types have their own implicit ranges, specified above
1438-
in the individual descriptions for each type. The explicit range given
1439-
by the ‘<code class="css">range</code>’ descriptor applies at the same time
1440-
as the implicit range given by the ‘<code class="css">type</code>
1441-
descriptor - if the counter value is less than either lower bound, or greater
1442-
than either upper bound, the fallback style must instead be used to generate
1443-
the representation.</p>
1434+
<p>Some counter style types have their own implicit ranges, specified above in the individual descriptions for each type. The explicit range given by the ‘<code class="css">range</code>’ descriptor applies at the same time as the implicit range given by the ‘<code class="css">type</code>’ descriptor - if the counter value is outside either range, the fallback style must instead be used to generate the representation.</p>
14441435

14451436
<p class=issue>There's also an implicit range coming from implementation
14461437
limits. Should we require UAs to support all values in a signed 2-byte int,

0 commit comments

Comments
 (0)