Skip to content

Commit de0510e

Browse files
committed
[css-counter-styles] Limit Hebrew to 2000, to prevent its representation from getting too long.
1 parent bf1d6f7 commit de0510e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css-counter-styles/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,10 +1115,11 @@ <h3 class="heading settled heading" data-level=6.1 id=simple-numeric><span class
11151115

11161116
@counter-style hebrew {
11171117
system: additive;
1118-
range: 1 infinite;
1118+
range: 1 2000;
11191119
additive-symbols: 400 \5EA, 300 \5E9, 200 \5E8, 100 \5E7, 90 \5E6, 80 \5E4, 70 \5E2, 60 \5E1, 50 \5E0, 40 \5DE, 30 \5DC, 20 \5DB, 19 \5D9\5D8, 18 \5D9\5D7, 17 \5D9\5D6, 16 \5D8\5D6, 15 \5D8\5D5, 10 \5D9, 9 \5D8, 8 \5D7, 7 \5D6, 6 \5D5, 5 \5D4, 4 \5D3, 3 \5D2, 2 \5D1, 1 \5D0;
11201120
/* 400 ת, 300 ש, 200 ר, 100 ק, 90 צ, 80 פ, 70 ע, 60 ס, 50 נ, 40 מ, 30 ל, 20 כ, 19 יט, 18 יח, 17 יז, 16 טז, 15 טו, 10 י, 9 ט, 8 ח, 7 ז, 6 ו, 5 ה, 4 ד, 3 ג, 2 ב, 1 א */
11211121
/* This system manually specifies the values for 19-15 to force the correct display of 15 and 16, which are commonly rewritten to avoid a close resemblance to the Tetragrammaton. */
1122+
/* This system theoretically extends to infinity, but it’s not actually reasonable to do so as the length of the representation grows too fast. 2000 was chosen as a value that covers reasonable use-cases without making the representation too long; if a larger limit is desired, an override style can be easily defined. */
11221123
}
11231124
</bdo></pre>
11241125

css-counter-styles/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,10 +1135,11 @@ <h3 id='simple-numeric'>
11351135

11361136
@counter-style hebrew {
11371137
system: additive;
1138-
range: 1 infinite;
1138+
range: 1 2000;
11391139
additive-symbols: 400 \5EA, 300 \5E9, 200 \5E8, 100 \5E7, 90 \5E6, 80 \5E4, 70 \5E2, 60 \5E1, 50 \5E0, 40 \5DE, 30 \5DC, 20 \5DB, 19 \5D9\5D8, 18 \5D9\5D7, 17 \5D9\5D6, 16 \5D8\5D6, 15 \5D8\5D5, 10 \5D9, 9 \5D8, 8 \5D7, 7 \5D6, 6 \5D5, 5 \5D4, 4 \5D3, 3 \5D2, 2 \5D1, 1 \5D0;
11401140
/* 400 ת, 300 ש, 200 ר, 100 ק, 90 צ, 80 פ, 70 ע, 60 ס, 50 נ, 40 מ, 30 ל, 20 כ, 19 יט, 18 יח, 17 יז, 16 טז, 15 טו, 10 י, 9 ט, 8 ח, 7 ז, 6 ו, 5 ה, 4 ד, 3 ג, 2 ב, 1 א */
11411141
/* This system manually specifies the values for 19-15 to force the correct display of 15 and 16, which are commonly rewritten to avoid a close resemblance to the Tetragrammaton. */
1142+
/* This system theoretically extends to infinity, but it's not actually reasonable to do so as the length of the representation grows too fast. 2000 was chosen as a value that covers reasonable use-cases without making the representation too long; if a larger limit is desired, an override style can be easily defined. */
11421143
}
11431144
</bdo></pre>
11441145

0 commit comments

Comments
 (0)