Skip to content

Commit 6ee84ab

Browse files
committed
[css-text] Require CJK to be treated equally, SE Asian to be treated equally. Might rephrase this later.
1 parent 3715ba7 commit 6ee84ab

File tree

2 files changed

+92
-39
lines changed

2 files changed

+92
-39
lines changed

css-text/Overview.bs

+43-18
Original file line numberDiff line numberDiff line change
@@ -1778,18 +1778,30 @@ Cursive Scripts</h4>
17781778
Possible Algorithms</h4>
17791779

17801780
<p>For <a value for=text-justify>auto</a> justification, this specification does not define
1781-
what all of the <i>justification opportunities</i> are,
1782-
how they are prioritized, or
1783-
when and how multiple levels of <i>justification opportunities</i> interact.
1784-
However, it does require that if a <i>justification opportunity</i> exists within a line,
1785-
it must be justified,
1786-
and that, unless contraindicated by the typographic traditions of the <i>content language</i> or adjacent symbols/punctuation,
1787-
each of the following provides a <i>justification opportunity</i>:
1788-
<ul>
1789-
<li><i>Word separators</i>
1790-
<li>The boundary between a <i>visually-perceived character</i> of any <i>block scripts</i> and any other <i>visually-perceived character</i>
1791-
<li>The boundary between a <i>visually-perceived character</i> of any <i>clustered scripts</i> and any other <i>visually-perceived character</i>
1792-
</ul>
1781+
what all of the <i>justification opportunities</i> are,
1782+
how they are prioritized, or
1783+
when and how multiple levels of <i>justification opportunities</i> interact.
1784+
However, it does require that
1785+
1786+
<ul>
1787+
<li>
1788+
If a <i>justification opportunity</i> exists within a line,
1789+
it must be justified.
1790+
<li>
1791+
Unless contraindicated by the typographic traditions of the <i>content language</i> or adjacent symbols/punctuation,
1792+
each of the following provides a <i>justification opportunity</i>:
1793+
<ul>
1794+
<li><i>Word separators</i>
1795+
<li>The boundary between a <i>visually-perceived character</i> of any <i>block scripts</i> and any other <i>visually-perceived character</i>
1796+
<li>The boundary between a <i>visually-perceived character</i> of any <i>clustered scripts</i> and any other <i>visually-perceived character</i>
1797+
</ul>
1798+
<li>
1799+
All <i>letters</i> belonging to all <i>block scripts</i> are treated the same,
1800+
and all <i>letters</i> belonging to all <i>clustered scripts</i> are treated the same.
1801+
For example, no distiction is made between
1802+
the justification opportunity between a Han letter followed by another Han letter,
1803+
vs. the justification opportunity between a Han letter followed by a Hangul letter.
1804+
</ul>
17931805

17941806
<p>The guidelines in this level of CSS do not describe a complete
17951807
justification algorithm. They are merely a minimum set of requirements
@@ -2576,13 +2588,22 @@ Appendix C: Scripts and Spacing</h2>
25762588
The following scripts are included: Bopomofo, Han, Hangul, Hiragana, Katakana, and Yi.
25772589
Characters of the East Asian Width property [[!UAX11]] W and F are also included.
25782590
<dt><dfn>clustered scripts</dfn></dt>
2579-
<dd>Scripts that have discrete units but do not use spaces between words, such as many Southeast Asian systems.
2580-
The following scripts are included: Javanese, Khmer, Lao, Myanmar, Thai,
2581-
<span class=issue>This list is likely incomplete. What else fits here?</span>
2591+
<dd>Scripts that have discrete units,
2592+
break only at word boundaries,
2593+
but do not use visible word separators.
2594+
They comfortably admit inter-character spacing for justification.
2595+
The following scripts are included:
2596+
Khmer,
2597+
Lao,
2598+
Myanmar,
2599+
New Tai Lue,
2600+
Tai Le,
2601+
Tai Tham,
2602+
Tai Viet,
2603+
Thai
25822604
<dt><dfn title="cursive script">cursive scripts</dfn>
2583-
<dd>
2584-
<p>The following scripts in Unicode 6 are considered to be cursive scripts,
2585-
and do not admit gaps between their letters for either justification or 'letter-spacing':
2605+
<dd>The following scripts in Unicode 6 are considered to be cursive scripts,
2606+
and do not admit gaps between their letters for either justification or 'letter-spacing':
25862607
Arabic,
25872608
Mandaic,
25882609
Mongolian,
@@ -2594,6 +2615,10 @@ Appendix C: Scripts and Spacing</h2>
25942615
to handle as-yet-unencoded cursive scripts in future versions of Unicode,
25952616
and are encouraged to ask the CSSWG to update this spec accordingly.
25962617

2618+
<p class="issue">Should block and cluster scripts be merged?
2619+
They have different tolerances for space-justification vs inter-character justification,
2620+
but both admit both.
2621+
25972622
<h2 id="character-properties" class="no-num">Appendix D.
25982623
Characters and Properties</h2>
25992624

css-text/Overview.html

+49-21
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
</p>
105105
<h1 class="p-name no-ref" id=title>CSS Text Module Level 3</h1>
106106
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
107-
<span class=dt-updated><span class=value-title title=20140722>22 July 2014</span></span></span></h2>
107+
<span class=dt-updated><span class=value-title title=20140723>23 July 2014</span></span></span></h2>
108108
<div data-fill-with=spec-metadata><dl>
109109
<dt>This version:
110110
<dd><a class=u-url href=http://dev.w3.org/csswg/css-text-3/>http://dev.w3.org/csswg/css-text-3/</a>
@@ -1920,18 +1920,30 @@ <h4 class="heading settled heading" data-level=7.4.5 id=justify-algos><span clas
19201920
Possible Algorithms</span><a class=self-link href=#justify-algos></a></h4>
19211921

19221922
<p>For <a class=css-code data-link-for=text-justify data-link-type=value href=#valdef-text-justify.auto title=auto>auto</a> justification, this specification does not define
1923-
what all of the <a data-link-type=dfn href=#justification-opportunity title="justification opportunities">justification opportunities</a> are,
1924-
how they are prioritized, or
1925-
when and how multiple levels of <a data-link-type=dfn href=#justification-opportunity title="justification opportunities">justification opportunities</a> interact.
1926-
However, it does require that if a <a data-link-type=dfn href=#justification-opportunity title="justification opportunity">justification opportunity</a> exists within a line,
1927-
it must be justified,
1928-
and that, unless contraindicated by the typographic traditions of the <a data-link-type=dfn href=#content-language title="content language">content language</a> or adjacent symbols/punctuation,
1929-
each of the following provides a <a data-link-type=dfn href=#justification-opportunity title="justification opportunity">justification opportunity</a>:
1930-
<ul>
1931-
<li><a data-link-type=dfn href=#word-separator title="word separators">Word separators</a>
1932-
<li>The boundary between a <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a> of any <a data-link-type=dfn href=#block-scripts title="block scripts">block scripts</a> and any other <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a>
1933-
<li>The boundary between a <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a> of any <a data-link-type=dfn href=#clustered-scripts title="clustered scripts">clustered scripts</a> and any other <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a>
1934-
</ul>
1923+
what all of the <a data-link-type=dfn href=#justification-opportunity title="justification opportunities">justification opportunities</a> are,
1924+
how they are prioritized, or
1925+
when and how multiple levels of <a data-link-type=dfn href=#justification-opportunity title="justification opportunities">justification opportunities</a> interact.
1926+
However, it does require that
1927+
1928+
<ul>
1929+
<li>
1930+
If a <a data-link-type=dfn href=#justification-opportunity title="justification opportunity">justification opportunity</a> exists within a line,
1931+
it must be justified.
1932+
<li>
1933+
Unless contraindicated by the typographic traditions of the <a data-link-type=dfn href=#content-language title="content language">content language</a> or adjacent symbols/punctuation,
1934+
each of the following provides a <a data-link-type=dfn href=#justification-opportunity title="justification opportunity">justification opportunity</a>:
1935+
<ul>
1936+
<li><a data-link-type=dfn href=#word-separator title="word separators">Word separators</a>
1937+
<li>The boundary between a <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a> of any <a data-link-type=dfn href=#block-scripts title="block scripts">block scripts</a> and any other <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a>
1938+
<li>The boundary between a <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a> of any <a data-link-type=dfn href=#clustered-scripts title="clustered scripts">clustered scripts</a> and any other <a data-link-type=dfn href=#visually-perceived-character title="visually-perceived character">visually-perceived character</a>
1939+
</ul>
1940+
<li>
1941+
All <a data-link-type=dfn href=#letter title=letters>letters</a> belonging to all <a data-link-type=dfn href=#block-scripts title="block scripts">block scripts</a> are treated the same,
1942+
and all <a data-link-type=dfn href=#letter title=letters>letters</a> belonging to all <a data-link-type=dfn href=#clustered-scripts title="clustered scripts">clustered scripts</a> are treated the same.
1943+
For example, no distiction is made between
1944+
the justification opportunity between a Han letter followed by another Han letter,
1945+
vs. the justification opportunity between a Han letter followed by a Hangul letter.
1946+
</ul>
19351947

19361948
<p>The guidelines in this level of CSS do not describe a complete
19371949
justification algorithm. They are merely a minimum set of requirements
@@ -2699,13 +2711,22 @@ <h2 class="no-num heading settled heading" id=script-groups><span class=content>
26992711
The following scripts are included: Bopomofo, Han, Hangul, Hiragana, Katakana, and Yi.
27002712
Characters of the East Asian Width property <a data-biblio-type=normative data-link-type=biblio href=#biblio-uax11 title=biblio-uax11>[UAX11]</a> W and F are also included.
27012713
<dt><dfn data-dfn-type=dfn data-noexport="" id=clustered-scripts>clustered scripts<a class=self-link href=#clustered-scripts></a></dfn></dt>
2702-
<dd>Scripts that have discrete units but do not use spaces between words, such as many Southeast Asian systems.
2703-
The following scripts are included: Javanese, Khmer, Lao, Myanmar, Thai,
2704-
<span class=issue id=issue-d3e18b12><a class=self-link href=#issue-d3e18b12></a>This list is likely incomplete. What else fits here?</span>
2714+
<dd>Scripts that have discrete units,
2715+
break only at word boundaries,
2716+
but do not use visible word separators.
2717+
They comfortably admit inter-character spacing for justification.
2718+
The following scripts are included:
2719+
Khmer,
2720+
Lao,
2721+
Myanmar,
2722+
New Tai Lue,
2723+
Tai Le,
2724+
Tai Tham,
2725+
Tai Viet,
2726+
Thai
27052727
<dt><dfn data-dfn-type=dfn data-noexport="" id=cursive-script title="cursive script">cursive scripts<a class=self-link href=#cursive-script></a></dfn>
2706-
<dd>
2707-
<p>The following scripts in Unicode 6 are considered to be cursive scripts,
2708-
and do not admit gaps between their letters for either justification or <a class=property data-link-type=propdesc href=#propdef-letter-spacing title=letter-spacing>letter-spacing</a>:
2728+
<dd>The following scripts in Unicode 6 are considered to be cursive scripts,
2729+
and do not admit gaps between their letters for either justification or <a class=property data-link-type=propdesc href=#propdef-letter-spacing title=letter-spacing>letter-spacing</a>:
27092730
Arabic,
27102731
Mandaic,
27112732
Mongolian,
@@ -2717,6 +2738,10 @@ <h2 class="no-num heading settled heading" id=script-groups><span class=content>
27172738
to handle as-yet-unencoded cursive scripts in future versions of Unicode,
27182739
and are encouraged to ask the CSSWG to update this spec accordingly.
27192740

2741+
<p class=issue id=issue-929bca17><a class=self-link href=#issue-929bca17></a>Should block and cluster scripts be merged?
2742+
They have different tolerances for space-justification vs inter-character justification,
2743+
but both admit both.
2744+
27202745
<h2 class="no-num heading settled heading" id=character-properties><span class=content>Appendix D.
27212746
Characters and Properties</span><a class=self-link href=#character-properties></a></h2>
27222747

@@ -3114,5 +3139,8 @@ <h2 class="no-num heading settled" id=issues-index><span class=content>Issues In
31143139
please send the information to <a href=mailto:www-style@w3.org>www-style@w3.org</a>
31153140
with <kbd>[css-text]</kbd> in the subject line.<a href=#issue-37a23328></a></div>
31163141

3117-
<div class=issue>This list is likely incomplete. What else fits here?<a href=#issue-d3e18b12></a></div>
3118-
</div>
3142+
<div class=issue>Should block and cluster scripts be merged?
3143+
They have different tolerances for space-justification vs inter-character justification,
3144+
but both admit both.
3145+
3146+
<a href=#issue-929bca17></a></div></div>

0 commit comments

Comments
 (0)