- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 30 Apr 2011 01:17:48 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv29495 Modified Files: Overview.html Overview.src.html Log Message: Limited the CJK longhand styles to 10k. Restated the Japanese and Korean longhand styles as 'additive' styles. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- Overview.html 29 Apr 2011 23:07:51 -0000 1.38 +++ Overview.html 30 Apr 2011 01:17:46 -0000 1.39 @@ -25,12 +25,12 @@ <h1>CSS Lists and Counters Module Level 3</h1> - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 April 2011</h2> + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 April 2011</h2> <dl> <dt>This version: - <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110429">http://www.w3.org/TR/2011/WD-css3-lists-20110429</a></dd> --> + <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110430">http://www.w3.org/TR/2011/WD-css3-lists-20110430</a></dd> --> <a href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> @@ -193,7 +193,7 @@ style</a> <li><a href="#cjk-counter-styles"><span class=secno>8.3.2. </span> The - CJK longhand counter styles</a> + Chinese longhand counter styles</a> </ul> </ul> @@ -1339,8 +1339,8 @@ U+137B <!-- odd --> U+137A U+136A. <!-- 90 2 --></p> </div> - <h4 id=cjk-counter-styles><span class=secno>8.3.2. </span> The CJK longhand - counter styles</h4> + <h4 id=cjk-counter-styles><span class=secno>8.3.2. </span> The Chinese + longhand counter styles</h4> <p>Chinese, Japanese, and Korean have longhand counter styles, which have a structure similar to "one hundred thirteen thousand and twenty-three" in @@ -1367,26 +1367,6 @@ <dd>The traditional Chinese formal style - <dt>japanese-informal - - <dd>The Japanese informal style - - <dt>japanese-formal - - <dd>The Japanese formal style - - <dt>korean-hangul-formal - - <dd>The Korean hangul-characters formal style - - <dt>korean-hanja-informal - - <dd>The Korean hanja-characters informal style - - <dt>korean-hanja-formal - - <dd>The Korean hanja-characters formal style - <dt>cjk-ideographic <dd>For legacy reasons, this counter-style must be treated as an alias for @@ -1396,10 +1376,13 @@ <p class=issue>Add an example to each of the above types. - <p>The Chinese and Japanese styles are defined for all numbers between - -10<sup>16</sup> and 10<sup>16</sup>, exclusive; the Korean styles are - defined for all non-negative numbers less than 10<sup>16</sup>. For - numbers outside this range, the ‘<code + <p class=note>The Japanese and Korean longhand counter styles are expressed + using the ‘<code class=css>additive</code>’ counter algorithm, + in the <a href="#ua-stylesheet">Additional Predefined Counter Styles</a> + section. + + <p>The Chinese longhand styles are defined over the range -9999 to 9999. + For numbers outside this range, the ‘<code class=css>cjk-decimal</code>’ style is used. All of the styles are defined by almost identical algorithms (specified as a single algorithm here, with the differences called out when relevant), but use different @@ -1411,44 +1394,18 @@ <li>If the counter value is 0, the representation is the character for 0 specified for the given counter style. Skip the rest of this algorithm. - <li>For the Chinese and Japanese styles, if the counter value is negative, - set the <var>negative flag</var> to true and run the rest of this - algorithm with the absolute value of the counter value. <span - class=note>(The Korean styles cannot represent negative numbers, and so - instead use the fallback style.)</span> - - <li>Initially represent the counter value as a decimal number. Starting - from the right (ones place), split the decimal number into groups of four - digits. - - <li>For each group with a non-zero value, append the appropriate group - marker to the group. The ones group has no marker. - - <li>Within each group, for each digit that is not 0, append the - appropriate digit marker to the digit. The ones digit of each group has - no marker. - - <li>Drop ones: - <ul> - <li>For the Chinese informal styles, for any group with a value between - ten and nineteen, remove the tens digit (leave the digit marker). - - <li>For the Japanese informal and Korean informal styles, if any of the - digit markers are preceded by the digit 1, and that digit is not the - first digit of the group, remove the digit (leave the digit marker). + <li>If the counter value is negative, run the rest of this algorithm with + the absolute value of the counter value instead. - <li>For Korean informal styles, if the value of the ten-thousands group - is 1, drop the digit (leave the digit marker). - </ul> + <li>Initially represent the counter value as a decimal number. For each + digit that is not 0, append the appropriate digit marker to the digit. + The ones digit has no marker. - <li>Drop zeros: - <ul> - <li>For the Japanese and Korean styles, drop all zero digits. + <li>For the informal styles, if the counter value is between ten and + nineteen, remove the tens digit (leave the digit marker). - <li>For the Chinese styles, drop any trailing zeros for all non-zero - groups and collapse (across groups) each remaining consecutive group of - zeros into a single zero digit. - </ul> + <li>Drop any trailing zeros and collapse any remaining zeros into a single + zero digit. <li>For the Korean styles, insert a space (" " U+0020) between each group. @@ -1462,13 +1419,12 @@ </ol> <p>For all of these counter styles, the <a href="#suffix"><i - title=counter-suffix>suffix descriptor</i></a> is "、" U+3001 and the <a + title=counter-suffix>suffix descriptor</i></a> is "、" U+3001, the <a href="#fallback-style"><i title=counter-fallback>fallback - descriptor</i></a> is ‘<code class=css>cjk-decimal</code>’. - For Chinese and Japanese, the <i title=counter-lower-range>lower range - bound descriptor</i> is -9999 9999 9999 9999 (-10<sup>16</sup>+1), while - for Korean it's 0. For all of them, the <i title=counter-upper-range>upper - range bound descriptor</i> is 9999 9999 9999 9999 (10<sup>16</sup>-1). + descriptor</i></a> is ‘<code class=css>cjk-decimal</code>’, + the <i title=counter-lower-range>lower range bound descriptor</i> is + -9999, and the <i title=counter-upper-range>upper range bound + descriptor</i> is 9999. <p>The following tables define the characters used in these styles: @@ -1535,36 +1491,21 @@ <td>九 U+4E5D <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>十 U+5341 <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>百 U+767E <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>千 U+5343 <tr> - <td>Second Group Marker - - <td>万 U+4E07 - - <tr> - <td>Third Group Marker - - <td>亿 U+4EBF - - <tr> - <td>Fourth Group Marker - - <td>万亿 U+4E07 U+4EBF - - <tr> <td>Negative Sign <td>负 U+8D1F @@ -1632,36 +1573,21 @@ <td>玖 U+7396 <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>拾 U+62FE <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>佰 U+4F70 <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>仟 U+4EDF <tr> - <td>Second Group Marker - - <td>万 U+4E07 - - <tr> - <td>Third Group Marker - - <td>亿 U+4EBF - - <tr> - <td>Fourth Group Marker - - <td>万亿 U+4E07 U+4EBF - - <tr> <td>Negative Sign <td>負 U+8D1F @@ -1729,36 +1655,21 @@ <td>九 U+4E5D <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>十 U+5341 <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>百 U+767E <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>千 U+5343 <tr> - <td>Second Group Marker - - <td>萬 U+842C - - <tr> - <td>Third Group Marker - - <td>億 U+5104 - - <tr> - <td>Fourth Group Marker - - <td>兆 U+5146 - - <tr> <td>Negative Sign <td>負 U+8CA0 @@ -1826,518 +1737,31 @@ <td>玖 U+7396 <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>拾 U+62FE <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>佰 U+4F70 <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>仟 U+4EDF <tr> - <td>Second Group Marker - - <td>萬 U+842C - - <tr> - <td>Third Group Marker - - <td>億 U+5104 - - <tr> - <td>Fourth Group Marker - - <td>兆 U+5146 - - <tr> <td>Negative Sign <td>負 U+8CA0 </table> - - <dt><dfn id=japanese-informal>japanese-informal</dfn> - - <dd> - <table> - <thead> - <tr> - <th>Values - - <th>Codepoints - - <tbody> - <tr> - <td>Digit 0 - - <td>〇 U+3007 - - <tr> - <td>Digit 1 - - <td>一 U+4E00 - - <tr> - <td>Digit 2 - - <td>二 U+4E8C - - <tr> - <td>Digit 3 - - <td>三 U+4E09 - - <tr> - <td>Digit 4 - - <td>四 U+56DB - - <tr> - <td>Digit 5 - - <td>五 U+4E94 - - <tr> - <td>Digit 6 - - <td>六 U+516D - - <tr> - <td>Digit 7 - - <td>七 U+4E03 - - <tr> - <td>Digit 8 - - <td>八 U+516B - - <tr> - <td>Digit 9 - - <td>九 U+4E5D - - <tr> - <td>Second Digit Marker - - <td>十 U+5341 - - <tr> - <td>Third Digit Marker - - <td>百 U+767E - - <tr> - <td>Fourth Digit Marker - - <td>千 U+5343 - - <tr> - <td>Second Group Marker - - <td>万 U+4E07 - - <tr> - <td>Third Group Marker - - <td>億 U+5104 - - <tr> - <td>Fourth Group Marker - - <td>兆 U+5146 - - <tr> - <td>Negative Sign - - <td>マイナス U+30DE U+30A4 U+30CA U+30B9 - </table> - - <dt><dfn id=japanese-formal>japanese-formal</dfn> - - <dd> - <table> - <thead> - <tr> - <th>Values - - <th>Codepoints - - <tbody> - <tr> - <td>Digit 0 - - <td>零 U+96F6 - - <tr> - <td>Digit 1 - - <td>壱 U+58F1 - - <tr> - <td>Digit 2 - - <td>弐 U+5F10 - - <tr> - <td>Digit 3 - - <td>参 U+53C2 - - <tr> - <td>Digit 4 - - <td>四 U+56DB - - <tr> - <td>Digit 5 - - <td>伍 U+4f0D - - <tr> - <td>Digit 6 - - <td>六 U+516D - - <tr> - <td>Digit 7 - - <td>七 U+4E03 - - <tr> - <td>Digit 8 - - <td>八 U+516B - - <tr> - <td>Digit 9 - - <td>九 U+4E5D - - <tr> - <td>Second Digit Marker - - <td>拾 U+62FE - - <tr> - <td>Third Digit Marker - - <td>百 U+767E - - <tr> - <td>Fourth Digit Marker - - <td>阡 U+9621 - - <tr> - <td>Second Group Marker - - <td>萬 U+842C - - <tr> - <td>Third Group Marker - - <td>億 U+5104 - - <tr> - <td>Fourth Group Marker - - <td>兆 U+5146 - - <tr> - <td>Negative Sign - - <td>マイナス U+30DE U+30A4 U+30CA U+30B9 - </table> - - <dt><dfn id=korean-hangul-formal>korean-hangul-formal</dfn> - - <dd> - <table> - <thead> - <tr> - <th>Values - - <th>Codepoints - - <tbody> - <tr> - <td>Digit 0 - - <td>영 U+C601 - - <tr> - <td>Digit 1 - - <td>일 U+C77C - - <tr> - <td>Digit 2 - - <td>이 U+C774 - - <tr> - <td>Digit 3 - - <td>삼 U+C0BC - - <tr> - <td>Digit 4 - - <td>사 U+C0AC - - <tr> - <td>Digit 5 - - <td>오 U+C624 - - <tr> - <td>Digit 6 - - <td>육 U+C721 - - <tr> - <td>Digit 7 - - <td>칠 U+CE60 - - <tr> - <td>Digit 8 - - <td>팔 U+D314 - - <tr> - <td>Digit 9 - - <td>구 U+AD6C - - <tr> - <td>Second Digit Marker - - <td>십 U+C2ED - - <tr> - <td>Third Digit Marker - - <td>백 U+BC31 - - <tr> - <td>Fourth Digit Marker - - <td>천 U+CC9C - - <tr> - <td>Second Group Marker - - <td>만 U+B9CC - - <tr> - <td>Third Group Marker - - <td>억 U+C5B5 - - <tr> - <td>Fourth Group Marker - - <td>조 U+C870 - </table> - - <dt><dfn id=korean-hanja-informal>korean-hanja-informal</dfn> - - <dd> - <table> - <thead> - <tr> - <th>Values - - <th>Codepoints' - - <tbody> - <tr> - <td>Digit 0 - - <td>零 U+96F6 - - <tr> - <td>Digit 1 - - <td>一 U+4E00 - - <tr> - <td>Digit 2 - - <td>二 U+4E8C - - <tr> - <td>Digit 3 - - <td>三 U+4E09 - - <tr> - <td>Digit 4 - - <td>四 U+56DB - - <tr> - <td>Digit 5 - - <td>五 U+4E94 - - <tr> - <td>Digit 6 - - <td>六 U+516D - - <tr> - <td>Digit 7 - - <td>七 U+4E03 - - <tr> - <td>Digit 8 - - <td>八 U+516B - - <tr> - <td>Digit 9 - - <td>九 U+4E5D - - <tr> - <td>Second Digit Marker - - <td>十 U+5341 - - <tr> - <td>Third Digit Marker - - <td>百 U+767E - - <tr> - <td>Fourth Digit Marker - - <td>千 U+5343 - - <tr> - <td>Second Group Marker - - <td>萬 U+842C - - <tr> - <td>Third Group Marker - - <td>億 U+5104 - - <tr> - <td>Fourth Group Marker - - <td>兆 U+5146 - </table> - - <dt><dfn id=korean-hanja-formal>korean-hanja-formal</dfn> - - <dd> - <table> - <thead> - <tr> - <th>Values - - <th>Codepoints' - - <tbody> - <tr> - <td>Digit 0 - - <td>零 U+96F6 - - <tr> - <td>Digit 1 - - <td>壹 U+58F9 - - <tr> - <td>Digit 2 - - <td>貳 U+8CB3 - - <tr> - <td>Digit 3 - - <td>參 U+53C3 - - <tr> - <td>Digit 4 - - <td>四 U+56DB - - <tr> - <td>Digit 5 - - <td>五 U+4E94 - - <tr> - <td>Digit 6 - - <td>六 U+516D - - <tr> - <td>Digit 7 - - <td>七 U+4E03 - - <tr> - <td>Digit 8 - - <td>八 U+516B - - <tr> - <td>Digit 9 - - <td>九 U+4E5D - - <tr> - <td>Second Digit Marker - - <td>拾 U+62FE - - <tr> - <td>Third Digit Marker 百 - - <td> U+767E - - <tr> - <td>Fourth Digit Marker - - <td>仟 U+4EDF - - <tr> - <td>Second Group Marker - - <td>萬 U+842C - - <tr> - <td>Third Group Marker - - <td>億 U+5104 - - <tr> - <td>Fourth Group Marker - - <td>兆 U+5146 - </table> </dl> - <p class=note>Note: Chinese, Japanese, and Korean spoken-out numbering - (what this section defines) is actually defined up to 10<sup>72</sup>. - Numbers higher than 10<sup>16</sup> are usually written in scientific - notation, however, and there is some variation in the group markers used - for such numbers, so the algorithm has been intentionally defined only to - 10<sup>16</sup>.</p> + <p class=note>Note: Chinese, Japanese, and Korean longhand numbering is + actually defined up to 10<sup>72</sup>. In practice, lists are rarely, if + ever, numbered above ten thousand, so these styles have been limited to + their first "group".</p> <!-- ====================================================================== --> <h2 id=counter-style><span class=secno>9. </span> Defining Custom Counter @@ -4080,6 +3504,53 @@ additive-glyphs: 9000 '\BEF\BF2', 8000 '\BEE\BF2', 7000 '\BED\BF2', 6000 '\BEC\BF2', 5000 '\BEB\BF2', 4000 '\BEA\BF2', 3000 '\BE9\BF2', 2000 '\BE8\BF2', 1000 '\BF2', 900 '\BEF\BF1', 800 '\BEE\BF1', 700 '\BED\BF1', 600 '\BEC\BF1', 500 '\BEB\BF1', 400 '\BEA\BF1', 300 '\BE9\BF1', 200 '\BE8\BF1', 100 '\BF1', 90 '\BEF\BF0', 80 '\BEE\BF0', 70 '\BED\BF0', 60 '\BEC\BF0', 50 '\BEB\BF0', 40 '\BEA\BF0', 30 '\BE9\BF0', 20 '\BE8\BF0', 10 '\BF0', 9 '\BEF', 8 '\BEE', 7 '\BED', 6 '\BEC', 5 '\BEB', 4 '\BEA', 3 '\BE9', 2 '\BE8', 1 '\BE7'; /* 9000 '௯௲', 8000 '௮௲', 7000 '௭௲', 6000 '௬௲', 5000 '௫௲', 4000 '௪௲', 3000 '௩௲', 2000 '௨௲', 1000 '௲', 900 '௯௱', 800 '௮௱', 700 '௭௱', 600 '௬௱', 500 '௫௱', 400 '௪௱', 300 '௩௱', 200 '௨௱', 100 '௱', 90 '௯௰', 80 '௮௰', 70 '௭௰', 60 '௬௰', 50 '௫௰', 40 '௪௰', 30 '௩௰', 20 '௨௰', 10 '௰', 9 '௯', 8 '௮', 7 '௭', 6 '௬', 5 '௫', 4 '௪', 3 '௩', 2 '௨', 1 '௧' */ } + +@counter-style japanese-informal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\5343', 8000 '\516B\5343', 7000 '\4E03\5343', 6000 '\516D\5343', 5000 '\4E94\5343', 4000 '\56DB\5343', 3000 '\4E09\5343', 2000 '\4E8C\5343', 1000 '\5343', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4E94\767E', 400 '\56DB\767E', 300 '\4E09\767E', 200 '\4E8C\767E', 100 '\767E', 90 '\4E5D\5341', 80 '\516B\5341', 70 '\4E03\5341', 60 '\516D\5341', 50 '\4E94\5341', 40 '\56DB\5341', 30 '\4E09\5341', 20 '\4E8C\5341', 10 '\5341', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4E94', 4 '\56DB', 3 '\4E09', 2 '\4E8C', 1 '\4E00', 0 '\3007'; + /* 9000 '九千', 8000 '八千', 7000 '七千', 6000 '六千', 5000 '五千', 4000 '四千', 3000 '三千', 2000 '二千', 1000 '千', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '五百', 400 '四百', 300 '三百', 200 '二百', 100 '百', 90 '九十', 80 '八十', 70 '七十', 60 '六十', 50 '五十', 40 '四十', 30 '三十', 20 '二十', 10 '十', 9 '九', 8 '八', 7 '七', 6 '六', 5 '五', 4 '四', 3 '三', 2 '二', 1 '一', 0 '〇' */ + suffix: '\3001'; + /* '、' */ + fallback: cjk-decimal; +} + +@counter-style japanese-formal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\9621', 8000 '\516B\9621', 7000 '\4E03\9621', 6000 '\516D\9621', 5000 '\4F0D\9621', 4000 '\56DB\9621', 3000 '\53C2\9621', 2000 '\5F10\9621', 1000 '\58F1\9621', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4F0D\767E', 400 '\56DB\767E', 300 '\53C2\767E', 200 '\5F10\767E', 100 '\58F1\767E', 90 '\4E5D\62FE', 80 '\516B\62FE', 70 '\4E03\62FE', 60 '\516D\62FE', 50 '\4F0D\62FE', 40 '\56DB\62FE', 30 '\53C2\62FE', 20 '\5F10\62FE', 10 '\58F1\62FE', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4F0D', 4 '\56DB', 3 '\53C2', 2 '\5F10', 1 '\58F1', 0 '\96F6'; + /* 9000 '九阡', 8000 '八阡', 7000 '七阡', 6000 '六阡', 5000 '伍阡', 4000 '四阡', 3000 '参阡', 2000 '弐阡', 1000 '壱阡', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '伍百', 400 '四百', 300 '参百', 200 '弐百', 100 '壱百', 90 '九拾', 80 '八拾', 70 '七拾', 60 '六拾', 50 '伍拾', 40 '四拾', 30 '参拾', 20 '弐拾', 10 '壱拾', 9 '九', 8 '八', 7 '七', 6 '六', 5 '伍', 4 '四', 3 '参', 2 '弐', 1 '壱', 0 '零' */ + suffix: '\3001'; + /* '、' */ + fallback: cjk-decimal; +} + +@counter-style korean-hangul-formal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\AD6C\CC9C', 8000 '\D314\CC9C', 7000 '\CE60\CC9C', 6000 '\C721\CC9C', 5000 '\C624\CC9C', 4000 '\C0AC\CC9C', 3000 '\C0BC\CC9C', 2000 '\C774\CC9C', 1000 '\C77C\CC9C', 900 '\AD6C\BC31', 800 '\D314\BC31', 700 '\CE60\BC31', 600 '\C721\BC31', 500 '\C624\BC31', 400 '\C0AC\BC31', 300 '\C0BC\BC31', 200 '\C774\BC31', 100 '\C77C\BC31', 90 '\AD6C\C2ED', 80 '\D314\C2ED', 70 '\CE60\C2ED', 60 '\C721\C2ED', 50 '\C624\C2ED', 40 '\C0AC\C2ED', 30 '\C0BC\C2ED', 20 '\C774\C2ED', 10 '\C77C\C2ED', 9 '\AD6C', 8 '\D314', 7 '\CE60', 6 '\C721', 5 '\C624', 4 '\C0AC', 3 '\C0BC', 2 '\C774', 1 '\C77C', 0 '\C601'; + /* 9000 '구천', 8000 '팔천', 7000 '칠천', 6000 '육천', 5000 '오천', 4000 '사천', 3000 '삼천', 2000 '이천', 1000 '일천', 900 '구백', 800 '팔백', 700 '칠백', 600 '육백', 500 '오백', 400 '사백', 300 '삼백', 200 '이백', 100 '일백', 90 '구십', 80 '팔십', 70 '칠십', 60 '육십', 50 '오십', 40 '사십', 30 '삼십', 20 '이십', 10 '일십', 9 '구', 8 '팔', 7 '칠', 6 '육', 5 '오', 4 '사', 3 '삼', 2 '이', 1 '일', 0 '영' */ + suffix: '\3001'; + /* '、' */ +} + +@counter-style korean-hanja-informal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\5343', 8000 '\516B\5343', 7000 '\4E03\5343', 6000 '\516D\5343', 5000 '\4E94\5343', 4000 '\56DB\5343', 3000 '\4E09\5343', 2000 '\4E8C\5343', 1000 '\5343', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4E94\767E', 400 '\56DB\767E', 300 '\4E09\767E', 200 '\4E8C\767E', 100 '\767E', 90 '\4E5D\5341', 80 '\516B\5341', 70 '\4E03\5341', 60 '\516D\5341', 50 '\4E94\5341', 40 '\56DB\5341', 30 '\4E09\5341', 20 '\4E8C\5341', 10 '\5341', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4E94', 4 '\56DB', 3 '\4E09', 2 '\4E8C', 1 '\4E00', 0 '\96F6'; + /* 9000 '九千', 8000 '八千', 7000 '七千', 6000 '六千', 5000 '五千', 4000 '四千', 3000 '三千', 2000 '二千', 1000 '千', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '五百', 400 '四百', 300 '三百', 200 '二百', 100 '百', 90 '九十', 80 '八十', 70 '七十', 60 '六十', 50 '五十', 40 '四十', 30 '三十', 20 '二十', 10 '十', 9 '九', 8 '八', 7 '七', 6 '六', 5 '五', 4 '四', 3 '三', 2 '二', 1 '一', 0 '零' */ + suffix: '\3001'; + /* '、' */ +} + +@counter-style korean-hanja-formal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\4EDF', 8000 '\516B\4EDF', 7000 '\4E03\4EDF', 6000 '\516D\4EDF', 5000 '\4E94\4EDF', 4000 '\56DB\4EDF', 3000 '\53C3\4EDF', 2000 '\8CB3\4EDF', 1000 '\58F9\4EDF', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4E94\767E', 400 '\56DB\767E', 300 '\53C3\767E', 200 '\8CB3\767E', 100 '\58F9\767E', 90 '\4E5D\62FE', 80 '\516B\62FE', 70 '\4E03\62FE', 60 '\516D\62FE', 50 '\4E94\62FE', 40 '\56DB\62FE', 30 '\53C3\62FE', 20 '\8CB3\62FE', 10 '\58F9\62FE', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4E94', 4 '\56DB', 3 '\53C3', 2 '\8CB3', 1 '\58F9', 0 '\96F6'; + /* 9000 '九仟', 8000 '八仟', 7000 '七仟', 6000 '六仟', 5000 '五仟', 4000 '四仟', 3000 '參仟', 2000 '貳仟', 1000 '壹仟', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '五百', 400 '四百', 300 '參百', 200 '貳百', 100 '壹百', 90 '九拾', 80 '八拾', 70 '七拾', 60 '六拾', 50 '五拾', 40 '四拾', 30 '參拾', 20 '貳拾', 10 '壹拾', 9 '九', 8 '八', 7 '七', 6 '六', 5 '五', 4 '四', 3 '參', 2 '貳', 1 '壹', 0 '零' */ + suffix: '\3001'; + /* '、' */ +} </bdo></code></pre> <p class=issue>Per <a @@ -4419,21 +3890,6 @@ <li>inside, <a href="#inside" title=inside><strong>4.</strong></a> - <li>japanese-formal, <a href="#japanese-formal" - title=japanese-formal><strong>8.3.2.</strong></a> - - <li>japanese-informal, <a href="#japanese-informal" - title=japanese-informal><strong>8.3.2.</strong></a> - - <li>korean-hangul-formal, <a href="#korean-hangul-formal" - title=korean-hangul-formal><strong>8.3.2.</strong></a> - - <li>korean-hanja-formal, <a href="#korean-hanja-formal" - title=korean-hanja-formal><strong>8.3.2.</strong></a> - - <li>korean-hanja-informal, <a href="#korean-hanja-informal" - title=korean-hanja-informal><strong>8.3.2.</strong></a> - <li>list-style, <a href="#list-style" title=list-style><strong>5.</strong></a> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.79 retrieving revision 1.80 diff -u -d -r1.79 -r1.80 --- Overview.src.html 29 Apr 2011 23:07:51 -0000 1.79 +++ Overview.src.html 30 Apr 2011 01:17:46 -0000 1.80 @@ -916,7 +916,7 @@ </div> <h4 id='cjk-counter-styles'> -The CJK longhand counter styles</h4> +The Chinese longhand counter styles</h4> <p>Chinese, Japanese, and Korean have longhand counter styles, which have a structure similar to "one hundred thirteen thousand and twenty-three" in @@ -939,21 +939,6 @@ <dt>trad-chinese-formal</dt> <dd>The traditional Chinese formal style</dd> - <dt>japanese-informal</dt> - <dd>The Japanese informal style</dd> - - <dt>japanese-formal</dt> - <dd>The Japanese formal style</dd> - - <dt>korean-hangul-formal</dt> - <dd>The Korean hangul-characters formal style</dd> - - <dt>korean-hanja-informal</dt> - <dd>The Korean hanja-characters informal style</dd> - - <dt>korean-hanja-formal</dt> - <dd>The Korean hanja-characters formal style</dd> - <dt>cjk-ideographic</dt> <dd>For legacy reasons, this counter-style must be treated as an alias for ''trad-chinese-informal''.</dd> @@ -961,12 +946,12 @@ <p class='issue'>Add an example to each of the above types.</p> + <p class='note'>The Japanese and Korean longhand counter styles are expressed using the + ''additive'' counter algorithm, in the <a href="#ua-stylesheet">Additional + Predefined Counter Styles</a> section.</p> - - <p>The Chinese and Japanese styles are defined for all numbers between - -10<sup>16</sup> and 10<sup>16</sup>, exclusive; the Korean styles are - defined for all non-negative numbers less than 10<sup>16</sup>. For numbers - outside this range, the ''cjk-decimal'' style is used. All of the + <p>The Chinese longhand styles are defined over the range -9999 to 9999. + For numbers outside this range, the ''cjk-decimal'' style is used. All of the styles are defined by almost identical algorithms (specified as a single algorithm here, with the differences called out when relevant), but use different sets of characters. The list following the algorithm gives the @@ -977,47 +962,18 @@ <li>If the counter value is 0, the representation is the character for 0 specified for the given counter style. Skip the rest of this algorithm.</li> - <li>For the Chinese and Japanese styles, if the counter value is negative, - set the <var>negative flag</var> to true and run the rest of this algorithm - with the absolute value of the counter value. <span class='note'>(The - Korean styles cannot represent negative numbers, and so instead use the - fallback style.)</span></li> - - <li>Initially represent the counter value as a decimal number. Starting - from the right (ones place), split the decimal number into groups of - four digits.</li> - - <li>For each group with a non-zero value, append the appropriate group - marker to the group. The ones group has no marker.</li> - - <li>Within each group, for each digit that is not 0, append the appropriate - digit marker to the digit. The ones digit of each group has no marker.</li> - - <li>Drop ones: - <ul> - <li>For the Chinese informal styles, for any group with a value - between ten and nineteen, remove the tens digit (leave the digit - marker).</li> - - <li>For the Japanese informal and Korean informal styles, if any - of the digit markers are preceded by the digit 1, and that digit - is not the first digit of the group, remove the digit (leave the - digit marker).</li> + <li>If the counter value is negative, run the rest of this algorithm + with the absolute value of the counter value instead.</li> - <li>For Korean informal styles, if the value of the ten-thousands - group is 1, drop the digit (leave the digit marker).</li> - </ul> - </li> + <li>Initially represent the counter value as a decimal number. For each + digit that is not 0, append the appropriate digit marker to the digit. + The ones digit has no marker.</li> - <li>Drop zeros: - <ul> - <li>For the Japanese and Korean styles, drop all zero digits.</li> + <li>For the informal styles, if the counter value is between ten and + nineteen, remove the tens digit (leave the digit marker).</li> - <li>For the Chinese styles, drop any trailing zeros for all - non-zero groups and collapse (across groups) each remaining - consecutive group of zeros into a single zero digit.</li> - </ul> - </li> + <li>Drop any trailing zeros and collapse any remaining zeros into a single + zero digit.</li> <li>For the Korean styles, insert a space (" " U+0020) between each group.</li> @@ -1031,12 +987,10 @@ </ol> <p>For all of these counter styles, the <i title='counter-suffix'>suffix descriptor</i> - is "、" U+3001 and the <i title='counter-fallback'>fallback descriptor</i> is - ''cjk-decimal''. For Chinese and Japanese, the - <i title='counter-lower-range'>lower range bound descriptor</i> is -9999 9999 9999 9999 - (-10<sup>16</sup>+1), while for Korean it's 0. For all of them, the - <i title='counter-upper-range'>upper range bound descriptor</i> is 9999 9999 9999 9999 - (10<sup>16</sup>-1).</p> + is "、" U+3001, the <i title='counter-fallback'>fallback descriptor</i> is + ''cjk-decimal'', the <i title='counter-lower-range'>lower range bound descriptor</i> + is -9999, and the <i title='counter-upper-range'>upper range bound descriptor</i> + is 9999.</p> <p>The following tables define the characters used in these styles:</p> @@ -1081,24 +1035,15 @@ <td>Digit 9 <td>九 U+4E5D <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>十 U+5341 <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>百 U+767E <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>千 U+5343 <tr> - <td>Second Group Marker - <td>万 U+4E07 - <tr> - <td>Third Group Marker - <td>亿 U+4EBF - <tr> - <td>Fourth Group Marker - <td>万亿 U+4E07 U+4EBF - <tr> <td>Negative Sign <td>负 U+8D1F </tbody> @@ -1145,24 +1090,15 @@ <td>Digit 9 <td>玖 U+7396 <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>拾 U+62FE <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>佰 U+4F70 <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>仟 U+4EDF <tr> - <td>Second Group Marker - <td>万 U+4E07 - <tr> - <td>Third Group Marker - <td>亿 U+4EBF - <tr> - <td>Fourth Group Marker - <td>万亿 U+4E07 U+4EBF - <tr> <td>Negative Sign <td>負 U+8D1F </tbody> @@ -1209,24 +1145,15 @@ <td>Digit 9 <td>九 U+4E5D <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>十 U+5341 <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>百 U+767E <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>千 U+5343 <tr> - <td>Second Group Marker - <td>萬 U+842C - <tr> - <td>Third Group Marker - <td>億 U+5104 - <tr> - <td>Fourth Group Marker - <td>兆 U+5146 - <tr> <td>Negative Sign <td>負 U+8CA0 </dd> @@ -1271,347 +1198,26 @@ <td>Digit 9 <td>玖 U+7396 <tr> - <td>Second Digit Marker + <td>Tens Digit Marker <td>拾 U+62FE <tr> - <td>Third Digit Marker + <td>Hundreds Digit Marker <td>佰 U+4F70 <tr> - <td>Fourth Digit Marker + <td>Thousands Digit Marker <td>仟 U+4EDF <tr> - <td>Second Group Marker - <td>萬 U+842C - <tr> - <td>Third Group Marker - <td>億 U+5104 - <tr> - <td>Fourth Group Marker - <td>兆 U+5146 - <tr> <td>Negative Sign <td>負 U+8CA0 </tbody> </table> </dd> - - <dt><dfn>japanese-informal</dfn></dt> - <dd> - <table> - <thead> - <tr> - <th>Values - <th>Codepoints - </thead> - <tbody> - <tr> - <td>Digit 0 - <td>〇 U+3007 - <tr> - <td>Digit 1 - <td>一 U+4E00 - <tr> - <td>Digit 2 - <td>二 U+4E8C - <tr> - <td>Digit 3 - <td>三 U+4E09 - <tr> - <td>Digit 4 - <td>四 U+56DB - <tr> - <td>Digit 5 - <td>五 U+4E94 - <tr> - <td>Digit 6 - <td>六 U+516D - <tr> - <td>Digit 7 - <td>七 U+4E03 - <tr> - <td>Digit 8 - <td>八 U+516B - <tr> - <td>Digit 9 - <td>九 U+4E5D - <tr> - <td>Second Digit Marker - <td>十 U+5341 - <tr> - <td>Third Digit Marker - <td>百 U+767E - <tr> - <td>Fourth Digit Marker - <td>千 U+5343 - <tr> - <td>Second Group Marker - <td>万 U+4E07 - <tr> - <td>Third Group Marker - <td>億 U+5104 - <tr> - <td>Fourth Group Marker - <td>兆 U+5146 - <tr> - <td>Negative Sign - <td>マイナス U+30DE U+30A4 U+30CA U+30B9 - </tbody> - </table> - </dd> - - <dt><dfn>japanese-formal</dfn></dt> - <dd> - <table> - <thead> - <tr> - <th>Values - <th>Codepoints - </thead> - <tbody> - <tr> - <td>Digit 0 - <td>零 U+96F6 - <tr> - <td>Digit 1 - <td>壱 U+58F1 - <tr> - <td>Digit 2 - <td>弐 U+5F10 - <tr> - <td>Digit 3 - <td>参 U+53C2 - <tr> - <td>Digit 4 - <td>四 U+56DB - <tr> - <td>Digit 5 - <td>伍 U+4f0D - <tr> - <td>Digit 6 - <td>六 U+516D - <tr> - <td>Digit 7 - <td>七 U+4E03 - <tr> - <td>Digit 8 - <td>八 U+516B - <tr> - <td>Digit 9 - <td>九 U+4E5D - <tr> - <td>Second Digit Marker - <td>拾 U+62FE - <tr> - <td>Third Digit Marker - <td>百 U+767E - <tr> - <td>Fourth Digit Marker - <td>阡 U+9621 - <tr> - <td>Second Group Marker - <td>萬 U+842C - <tr> - <td>Third Group Marker - <td>億 U+5104 - <tr> - <td>Fourth Group Marker - <td>兆 U+5146 - <tr> - <td>Negative Sign - <td>マイナス U+30DE U+30A4 U+30CA U+30B9 - </tbody> - </table> - </dd> - - <dt><dfn>korean-hangul-formal</dfn></dt> - <dd> - <table> - <thead> - <tr> - <th>Values - <th>Codepoints - </thead> - <tbody> - <tr> - <td>Digit 0 - <td>영 U+C601 - <tr> - <td>Digit 1 - <td>일 U+C77C - <tr> - <td>Digit 2 - <td>이 U+C774 - <tr> - <td>Digit 3 - <td>삼 U+C0BC - <tr> - <td>Digit 4 - <td>사 U+C0AC - <tr> - <td>Digit 5 - <td>오 U+C624 - <tr> - <td>Digit 6 - <td>육 U+C721 - <tr> - <td>Digit 7 - <td>칠 U+CE60 - <tr> - <td>Digit 8 - <td>팔 U+D314 - <tr> - <td>Digit 9 - <td>구 U+AD6C - <tr> - <td>Second Digit Marker - <td>십 U+C2ED - <tr> - <td>Third Digit Marker - <td>백 U+BC31 - <tr> - <td>Fourth Digit Marker - <td>천 U+CC9C - <tr> - <td>Second Group Marker - <td>만 U+B9CC - <tr> - <td>Third Group Marker - <td>억 U+C5B5 - <tr> - <td>Fourth Group Marker - <td>조 U+C870 - </tbody> - </table> - </dd> - - <dt><dfn>korean-hanja-informal</dfn></dt> - <dd> - <table> - <thead> - <tr> - <th>Values - <th>Codepoints' - </thead> - <tbody> - <tr> - <td>Digit 0 - <td>零 U+96F6 - <tr> - <td>Digit 1 - <td>一 U+4E00 - <tr> - <td>Digit 2 - <td>二 U+4E8C - <tr> - <td>Digit 3 - <td>三 U+4E09 - <tr> - <td>Digit 4 - <td>四 U+56DB - <tr> - <td>Digit 5 - <td>五 U+4E94 - <tr> - <td>Digit 6 - <td>六 U+516D - <tr> - <td>Digit 7 - <td>七 U+4E03 - <tr> - <td>Digit 8 - <td>八 U+516B - <tr> - <td>Digit 9 - <td>九 U+4E5D - <tr> - <td>Second Digit Marker - <td>十 U+5341 - <tr> - <td>Third Digit Marker - <td>百 U+767E - <tr> - <td>Fourth Digit Marker - <td>千 U+5343 - <tr> - <td>Second Group Marker - <td>萬 U+842C - <tr> - <td>Third Group Marker - <td>億 U+5104 - <tr> - <td>Fourth Group Marker - <td>兆 U+5146 - </tbody> - </table> - </dd> - - <dt><dfn>korean-hanja-formal</dfn></dt> - <dd> - <table> - <thead> - <tr> - <th>Values - <th>Codepoints' - </thead> - <tbody> - <tr> - <td>Digit 0 - <td>零 U+96F6 - <tr> - <td>Digit 1 - <td>壹 U+58F9 - <tr> - <td>Digit 2 - <td>貳 U+8CB3 - <tr> - <td>Digit 3 - <td>參 U+53C3 - <tr> - <td>Digit 4 - <td>四 U+56DB - <tr> - <td>Digit 5 - <td>五 U+4E94 - <tr> - <td>Digit 6 - <td>六 U+516D - <tr> - <td>Digit 7 - <td>七 U+4E03 - <tr> - <td>Digit 8 - <td>八 U+516B - <tr> - <td>Digit 9 - <td>九 U+4E5D - <tr> - <td>Second Digit Marker - <td>拾 U+62FE - <tr> - <td>Third Digit Marker 百 - <td> U+767E - <tr> - <td>Fourth Digit Marker - <td>仟 U+4EDF - <tr> - <td>Second Group Marker - <td>萬 U+842C - <tr> - <td>Third Group Marker - <td>億 U+5104 - <tr> - <td>Fourth Group Marker - <td>兆 U+5146 - </tbody> - </table> - </dd> </dl> - <p class=note>Note: Chinese, Japanese, and Korean spoken-out numbering (what - this section defines) is actually defined up to 10<sup>72</sup>. Numbers - higher than 10<sup>16</sup> are usually written in scientific notation, - however, and there is some variation in the group markers used for such numbers, - so the algorithm has been intentionally defined only to 10<sup>16</sup>.</p> + <p class=note>Note: Chinese, Japanese, and Korean longhand numbering is + actually defined up to 10<sup>72</sup>. In practice, lists are rarely, if + ever, numbered above ten thousand, so these styles have been limited to + their first "group".</p> <!-- ====================================================================== --> @@ -3230,6 +2836,53 @@ additive-glyphs: 9000 '\BEF\BF2', 8000 '\BEE\BF2', 7000 '\BED\BF2', 6000 '\BEC\BF2', 5000 '\BEB\BF2', 4000 '\BEA\BF2', 3000 '\BE9\BF2', 2000 '\BE8\BF2', 1000 '\BF2', 900 '\BEF\BF1', 800 '\BEE\BF1', 700 '\BED\BF1', 600 '\BEC\BF1', 500 '\BEB\BF1', 400 '\BEA\BF1', 300 '\BE9\BF1', 200 '\BE8\BF1', 100 '\BF1', 90 '\BEF\BF0', 80 '\BEE\BF0', 70 '\BED\BF0', 60 '\BEC\BF0', 50 '\BEB\BF0', 40 '\BEA\BF0', 30 '\BE9\BF0', 20 '\BE8\BF0', 10 '\BF0', 9 '\BEF', 8 '\BEE', 7 '\BED', 6 '\BEC', 5 '\BEB', 4 '\BEA', 3 '\BE9', 2 '\BE8', 1 '\BE7'; /* 9000 '௯௲', 8000 '௮௲', 7000 '௭௲', 6000 '௬௲', 5000 '௫௲', 4000 '௪௲', 3000 '௩௲', 2000 '௨௲', 1000 '௲', 900 '௯௱', 800 '௮௱', 700 '௭௱', 600 '௬௱', 500 '௫௱', 400 '௪௱', 300 '௩௱', 200 '௨௱', 100 '௱', 90 '௯௰', 80 '௮௰', 70 '௭௰', 60 '௬௰', 50 '௫௰', 40 '௪௰', 30 '௩௰', 20 '௨௰', 10 '௰', 9 '௯', 8 '௮', 7 '௭', 6 '௬', 5 '௫', 4 '௪', 3 '௩', 2 '௨', 1 '௧' */ } + +@counter-style japanese-informal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\5343', 8000 '\516B\5343', 7000 '\4E03\5343', 6000 '\516D\5343', 5000 '\4E94\5343', 4000 '\56DB\5343', 3000 '\4E09\5343', 2000 '\4E8C\5343', 1000 '\5343', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4E94\767E', 400 '\56DB\767E', 300 '\4E09\767E', 200 '\4E8C\767E', 100 '\767E', 90 '\4E5D\5341', 80 '\516B\5341', 70 '\4E03\5341', 60 '\516D\5341', 50 '\4E94\5341', 40 '\56DB\5341', 30 '\4E09\5341', 20 '\4E8C\5341', 10 '\5341', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4E94', 4 '\56DB', 3 '\4E09', 2 '\4E8C', 1 '\4E00', 0 '\3007'; + /* 9000 '九千', 8000 '八千', 7000 '七千', 6000 '六千', 5000 '五千', 4000 '四千', 3000 '三千', 2000 '二千', 1000 '千', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '五百', 400 '四百', 300 '三百', 200 '二百', 100 '百', 90 '九十', 80 '八十', 70 '七十', 60 '六十', 50 '五十', 40 '四十', 30 '三十', 20 '二十', 10 '十', 9 '九', 8 '八', 7 '七', 6 '六', 5 '五', 4 '四', 3 '三', 2 '二', 1 '一', 0 '〇' */ + suffix: '\3001'; + /* '、' */ + fallback: cjk-decimal; +} + +@counter-style japanese-formal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\9621', 8000 '\516B\9621', 7000 '\4E03\9621', 6000 '\516D\9621', 5000 '\4F0D\9621', 4000 '\56DB\9621', 3000 '\53C2\9621', 2000 '\5F10\9621', 1000 '\58F1\9621', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4F0D\767E', 400 '\56DB\767E', 300 '\53C2\767E', 200 '\5F10\767E', 100 '\58F1\767E', 90 '\4E5D\62FE', 80 '\516B\62FE', 70 '\4E03\62FE', 60 '\516D\62FE', 50 '\4F0D\62FE', 40 '\56DB\62FE', 30 '\53C2\62FE', 20 '\5F10\62FE', 10 '\58F1\62FE', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4F0D', 4 '\56DB', 3 '\53C2', 2 '\5F10', 1 '\58F1', 0 '\96F6'; + /* 9000 '九阡', 8000 '八阡', 7000 '七阡', 6000 '六阡', 5000 '伍阡', 4000 '四阡', 3000 '参阡', 2000 '弐阡', 1000 '壱阡', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '伍百', 400 '四百', 300 '参百', 200 '弐百', 100 '壱百', 90 '九拾', 80 '八拾', 70 '七拾', 60 '六拾', 50 '伍拾', 40 '四拾', 30 '参拾', 20 '弐拾', 10 '壱拾', 9 '九', 8 '八', 7 '七', 6 '六', 5 '伍', 4 '四', 3 '参', 2 '弐', 1 '壱', 0 '零' */ + suffix: '\3001'; + /* '、' */ + fallback: cjk-decimal; +} + +@counter-style korean-hangul-formal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\AD6C\CC9C', 8000 '\D314\CC9C', 7000 '\CE60\CC9C', 6000 '\C721\CC9C', 5000 '\C624\CC9C', 4000 '\C0AC\CC9C', 3000 '\C0BC\CC9C', 2000 '\C774\CC9C', 1000 '\C77C\CC9C', 900 '\AD6C\BC31', 800 '\D314\BC31', 700 '\CE60\BC31', 600 '\C721\BC31', 500 '\C624\BC31', 400 '\C0AC\BC31', 300 '\C0BC\BC31', 200 '\C774\BC31', 100 '\C77C\BC31', 90 '\AD6C\C2ED', 80 '\D314\C2ED', 70 '\CE60\C2ED', 60 '\C721\C2ED', 50 '\C624\C2ED', 40 '\C0AC\C2ED', 30 '\C0BC\C2ED', 20 '\C774\C2ED', 10 '\C77C\C2ED', 9 '\AD6C', 8 '\D314', 7 '\CE60', 6 '\C721', 5 '\C624', 4 '\C0AC', 3 '\C0BC', 2 '\C774', 1 '\C77C', 0 '\C601'; + /* 9000 '구천', 8000 '팔천', 7000 '칠천', 6000 '육천', 5000 '오천', 4000 '사천', 3000 '삼천', 2000 '이천', 1000 '일천', 900 '구백', 800 '팔백', 700 '칠백', 600 '육백', 500 '오백', 400 '사백', 300 '삼백', 200 '이백', 100 '일백', 90 '구십', 80 '팔십', 70 '칠십', 60 '육십', 50 '오십', 40 '사십', 30 '삼십', 20 '이십', 10 '일십', 9 '구', 8 '팔', 7 '칠', 6 '육', 5 '오', 4 '사', 3 '삼', 2 '이', 1 '일', 0 '영' */ + suffix: '\3001'; + /* '、' */ +} + +@counter-style korean-hanja-informal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\5343', 8000 '\516B\5343', 7000 '\4E03\5343', 6000 '\516D\5343', 5000 '\4E94\5343', 4000 '\56DB\5343', 3000 '\4E09\5343', 2000 '\4E8C\5343', 1000 '\5343', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4E94\767E', 400 '\56DB\767E', 300 '\4E09\767E', 200 '\4E8C\767E', 100 '\767E', 90 '\4E5D\5341', 80 '\516B\5341', 70 '\4E03\5341', 60 '\516D\5341', 50 '\4E94\5341', 40 '\56DB\5341', 30 '\4E09\5341', 20 '\4E8C\5341', 10 '\5341', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4E94', 4 '\56DB', 3 '\4E09', 2 '\4E8C', 1 '\4E00', 0 '\96F6'; + /* 9000 '九千', 8000 '八千', 7000 '七千', 6000 '六千', 5000 '五千', 4000 '四千', 3000 '三千', 2000 '二千', 1000 '千', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '五百', 400 '四百', 300 '三百', 200 '二百', 100 '百', 90 '九十', 80 '八十', 70 '七十', 60 '六十', 50 '五十', 40 '四十', 30 '三十', 20 '二十', 10 '十', 9 '九', 8 '八', 7 '七', 6 '六', 5 '五', 4 '四', 3 '三', 2 '二', 1 '一', 0 '零' */ + suffix: '\3001'; + /* '、' */ +} + +@counter-style korean-hanja-formal { + type: additive; + range: 0 9999; + additive-glyphs: 9000 '\4E5D\4EDF', 8000 '\516B\4EDF', 7000 '\4E03\4EDF', 6000 '\516D\4EDF', 5000 '\4E94\4EDF', 4000 '\56DB\4EDF', 3000 '\53C3\4EDF', 2000 '\8CB3\4EDF', 1000 '\58F9\4EDF', 900 '\4E5D\767E', 800 '\516B\767E', 700 '\4E03\767E', 600 '\516D\767E', 500 '\4E94\767E', 400 '\56DB\767E', 300 '\53C3\767E', 200 '\8CB3\767E', 100 '\58F9\767E', 90 '\4E5D\62FE', 80 '\516B\62FE', 70 '\4E03\62FE', 60 '\516D\62FE', 50 '\4E94\62FE', 40 '\56DB\62FE', 30 '\53C3\62FE', 20 '\8CB3\62FE', 10 '\58F9\62FE', 9 '\4E5D', 8 '\516B', 7 '\4E03', 6 '\516D', 5 '\4E94', 4 '\56DB', 3 '\53C3', 2 '\8CB3', 1 '\58F9', 0 '\96F6'; + /* 9000 '九仟', 8000 '八仟', 7000 '七仟', 6000 '六仟', 5000 '五仟', 4000 '四仟', 3000 '參仟', 2000 '貳仟', 1000 '壹仟', 900 '九百', 800 '八百', 700 '七百', 600 '六百', 500 '五百', 400 '四百', 300 '參百', 200 '貳百', 100 '壹百', 90 '九拾', 80 '八拾', 70 '七拾', 60 '六拾', 50 '五拾', 40 '四拾', 30 '參拾', 20 '貳拾', 10 '壹拾', 9 '九', 8 '八', 7 '七', 6 '六', 5 '五', 4 '四', 3 '參', 2 '貳', 1 '壹', 0 '零' */ + suffix: '\3001'; + /* '、' */ +} </bdo></code></pre> <p class=issue>Per <a href="http://www.ethiopic.org/w3c/css/WD-css3-lists-20020220-comments.html#copticlists">http://www.ethiopic.org/w3c/css/WD-css3-lists-20020220-comments.html#armenianlists</a>, we should have upper-coptic, lower-coptic, and coptic-numeric styles. The Coptic script was split out in Unicode 4.1 to occupy the block from U+2C80 to U+2CFF. Which characters should I use for each?</p>
Received on Saturday, 30 April 2011 01:17:51 UTC