A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/commit/20a3d9ca02f235d8af13aa2bb05f725448371ad2 below:

Reworked the CJK section again with feedback from fantasai and others. · w3c/csswg-drafts@20a3d9c · GitHub

24 24 25 25

<h1>CSS Lists and Counters Module Level 3</h1>

26 26 27 -

<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 April 2011</h2>

27 +

<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 April 2011</h2>

28 28 29 29

<dl>

30 30

<dt>This version:

31 31 32 -

<dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110422">http://www.w3.org/TR/2011/WD-css3-lists-20110422</a></dd> -->

32 +

<dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110423">http://www.w3.org/TR/2011/WD-css3-lists-20110423</a></dd> -->

33 33

<a

34 34

href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>

35 35

@@ -171,7 +171,7 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>

171 171

style</a>

172 172 173 173

<li><a href="#cjk-counter-styles"><span class=secno>4.3.2. </span> The

174 -

CJK "spoken-out" counter styles</a>

174 +

CJK longhand counter styles</a>

175 175

</ul>

176 176

</ul>

177 177

@@ -707,24 +707,73 @@ <h4 id=ethiopic-numeric><span class=secno>4.3.1. </span> The &lsquo;<code

707 707

U+137B <!-- odd --> U+137A U+136A. <!-- 90 2 --></p>

708 708

</div>

709 709 710 -

<h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK

711 -

"spoken-out" counter styles</h4>

712 - 713 -

<p>Chinese, Japanese, and Korean all share almost identical "spoken-out"

714 -

counter styles, which are roughly similar to using "one, two, three..." in

715 -

English. The Chinese and Japanese styles are defined for all numbers

716 -

between -10<sup>16</sup> and 10<sup>16</sup>, exclusive; the Korean styles

717 -

are defined for all non-negative numbers less than 10<sup>16</sup>. All of

718 -

the styles are defined by almost identical algorithms (specified as a

719 -

single algorithm here, with the differences called out when relevant), but

720 -

use different sets of characters. The list following the algorithm gives

721 -

the name of each counter style using this algorithm, and the individual

722 -

character sets used by each style.

723 - 724 -

<p>For legacy reasons, the counter style &lsquo;<code

725 -

class=css>cjk-ideographic</code>&rsquo; must be treated as an alias for

726 -

&lsquo;<a href="#trad-chinese-informal"><code

727 -

class=css>trad-chinese-informal</code></a>&rsquo;.

710 +

<h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK longhand

711 +

counter styles</h4>

712 + 713 +

<p>Chinese, Japanese, and Korean have longhand counter styles, which have a

714 +

structure similar to "one hundred thirteen thousand and twenty-three" in

715 +

English. Each has both formal and informal variants. <span class=note> The

716 +

formal styles are typically used in financial and legal documents, as

717 +

their characters are more difficult to alter.</span>

718 + 719 +

<p>The following counter styles are defined in this section:

720 + 721 +

<dl>

722 +

<dt>simp-chinese-informal

723 + 724 +

<dd>The simplified Chinese informal style.

725 + 726 +

<dt>simp-chinese-formal

727 + 728 +

<dd>The simplified Chinese formal style

729 + 730 +

<dt>trad-chinese-informal

731 + 732 +

<dd>The traditional Chinese informal style

733 + 734 +

<dt>trad-chinese-formal

735 + 736 +

<dd>The traditional Chinese formal style

737 + 738 +

<dt>japanese-informal

739 + 740 +

<dd>The Japanese informal style

741 + 742 +

<dt>japanese-formal

743 + 744 +

<dd>The Japanese formal style

745 + 746 +

<dt>korean-hangul-formal

747 + 748 +

<dd>The Korean hangul-characters formal style

749 + 750 +

<dt>korean-hanja-informal

751 + 752 +

<dd>The Korean hanja-characters informal style

753 + 754 +

<dt>korean-hanja-formal

755 + 756 +

<dd>The Korean hanja-characters formal style

757 + 758 +

<dt>cjk-ideographic

759 + 760 +

<dd>For legacy reasons, this counter-style must be treated as an alias for

761 +

&lsquo;<a href="#trad-chinese-informal"><code

762 +

class=css>trad-chinese-informal</code></a>&rsquo;.

763 +

</dl>

764 + 765 +

<p class=issue>Add an example to each of the above types.

766 + 767 +

<p>The Chinese and Japanese styles are defined for all numbers between

768 +

-10<sup>16</sup> and 10<sup>16</sup>, exclusive; the Korean styles are

769 +

defined for all non-negative numbers less than 10<sup>16</sup>. For

770 +

numbers outside this range, the &lsquo;<code

771 +

class=css>cjk-decimal</code>&rsquo; style is used. All of the styles are

772 +

defined by almost identical algorithms (specified as a single algorithm

773 +

here, with the differences called out when relevant), but use different

774 +

sets of characters. The list following the algorithm gives the name of

775 +

each counter style using this algorithm, and the individual character sets

776 +

used by each style.

728 777 729 778

<ol>

730 779

<li>If the counter value is 0, the representation is the character for 0

@@ -764,23 +813,12 @@ <h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK

764 813

<ul>

765 814

<li>For the Japanese and Korean styles, drop all zero digits.

766 815 767 -

<li>For the Chinese informal styles, drop all groups with the value 0.

768 - 769 -

<li>For all Chinese styles, drop any trailing zeros for all non-zero

816 +

<li>For the Chinese styles, drop any trailing zeros for all non-zero

770 817

groups and collapse (across groups) each remaining consecutive group of

771 818

zeros into a single zero digit.

772 819

</ul>

773 820 774 -

<li>Recombine groups:

775 -

<ul>

776 -

<li>For the Chinese and Japanese styles, concatenate the groups back

777 -

into a single string, least significant group first (on the right).

778 - 779 -

<li>For the Korean styles, concatenate the groups back into a single

780 -

string, least significant group first (on the right), with a space

781 -

(&lsquo;<code class=css> </code>&rsquo; U+0020) inserted between each

782 -

group.

783 -

</ul>

821 +

<li>For the Korean styles, insert a space (" " U+0020) between each group.

784 822 785 823

<li>If the <var>negative flag</var> was set to true earlier in the

786 824

algorithm, prepend the appropriate negative sign for the given counter

@@ -895,7 +933,7 @@ <h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK

895 933

<tr>

896 934

<td>Negative Sign

897 935 898 -

<td> U+8D1F

936 +

<td> U+8D1F

899 937

</table>

900 938 901 939

<dt><dfn id=simp-chinese-formal>simp-chinese-formal</dfn>

@@ -1009,7 +1047,7 @@ <h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK

1009 1047

<tr>

1010 1048

<td>Digit 0

1011 1049 1012 -

<td> U+3007

1050 +

<td> U+96F6

1013 1051 1014 1052

<tr>

1015 1053

<td>Digit 1

@@ -1089,7 +1127,7 @@ <h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK

1089 1127

<tr>

1090 1128

<td>Negative Sign

1091 1129 1092 -

<td><span class=issue>Fill this in</span>

1130 +

<td>負 U+8CA0

1093 1131

</table>

1094 1132 1095 1133

<dt><dfn id=trad-chinese-formal>trad-chinese-formal</dfn>

@@ -1186,7 +1224,7 @@ <h4 id=cjk-counter-styles><span class=secno>4.3.2. </span> The CJK

1186 1224

<tr>

1187 1225

<td>Negative Sign

1188 1226 1189 -

<td><span class=issue>Fill this in</span>

1227 +

<td>負 U+8CA0

1190 1228

</table>

1191 1229 1192 1230

<dt><dfn id=japanese-informal>japanese-informal</dfn>


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3