Skip to content

Commit 4055049

Browse files
committed
[css-counter-styles-3] Remove 'weight > value' check; it's not technically necessary, and it trips the assert. w3c#5784
1 parent a1c38a3 commit 4055049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-counter-styles-3/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -646,15 +646,15 @@ Accumulating Numerals: the ''additive'' system</h4>
646646

647647
1. Let |symbol| and |weight| be |tuple|'s [=counter symbol=] and weight, respectively.
648648

649-
2. If |weight| is zero, or |weight| is greater than |value|,
650-
[=iteration/continue=].
649+
2. If |weight| is zero, [=iteration/continue=].
651650

652651
3. Let |reps| be <code>floor( |value| / |weight| )</code>.
653652

654653
4. Append |symbol| to |S| |reps| times.
655654

656655
5. Decrement |value| by <code>|weight| * |reps|</code>.
657-
If |value| is now zero, return |S|.
656+
657+
6. If |value| is zero, return |S|.
658658

659659
4. Assertion: |value| is still non-zero.
660660

0 commit comments

Comments
 (0)