Skip to content

Commit ea5b1c4

Browse files
committed
Revise emphasis-mark-skip given the discussion in Japanese ML and a mini conf call
1 parent 0d91191 commit ea5b1c4

2 files changed

Lines changed: 100 additions & 75 deletions

File tree

css3-text/Overview.html

Lines changed: 58 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@
8484

8585
<h1>CSS Text Level 3</h1>
8686

87-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 May 2011</h2>
87+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 8 May 2011</h2>
8888

8989
<dl>
9090
<dt>This version:
9191

9292
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
93-
2011/05/01 09:39:53 $ (CVS $Revision$)</a> <!--
94-
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110506/">http://www.w3.org/TR/2011/WD-css3-text-20110506/</a></dd>
93+
2011/05/06 02:10:00 $ (CVS $Revision$)</a> <!--
94+
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110508/">http://www.w3.org/TR/2011/WD-css3-text-20110508/</a></dd>
9595
-->
9696

9797

@@ -451,7 +451,7 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
451451
class=property>text-emphasis-position</code>&rsquo; property</a>
452452

453453
<li><a href="#text-emphasis-skip"><span class=secno>11.2.5. </span>
454-
Emphasis Mark Position: the &lsquo;<code
454+
Emphasis Mark Skip: the &lsquo;<code
455455
class=property>text-emphasis-skip</code>&rsquo; property</a>
456456
</ul>
457457

@@ -5348,7 +5348,7 @@ <h4 id=text-emphasis-position><span class=secno>11.2.4. </span> Emphasis
53485348
</div>
53495349

53505350
<h4 id=text-emphasis-skip><span class=secno>11.2.5. </span> Emphasis Mark
5351-
Position: the &lsquo;<a href="#text-emphasis-skip0"><code
5351+
Skip: the &lsquo;<a href="#text-emphasis-skip0"><code
53525352
class=property>text-emphasis-skip</code></a>&rsquo; property</h4>
53535353

53545354
<p class=issue>This section is under brainstorming.
@@ -5363,13 +5363,12 @@ <h4 id=text-emphasis-skip><span class=secno>11.2.5. </span> Emphasis Mark
53635363
<tr>
53645364
<th>Value:
53655365

5366-
<td>normal | keep-punctuation || keep-spaces || skip-symbols ||
5367-
skip-narrow
5366+
<td>spaces || punctuation || symbols || narrow
53685367

53695368
<tr>
53705369
<th>Initial:
53715370

5372-
<td>normal
5371+
<td>spaces
53735372

53745373
<tr>
53755374
<th>Applies to:
@@ -5397,46 +5396,58 @@ <h4 id=text-emphasis-skip><span class=secno>11.2.5. </span> Emphasis Mark
53975396
<td>as specified
53985397
</table>
53995398

5400-
<p>This property describes for which characters marks are drawn. Values
5401-
other than &lsquo;<code class=css>normal</code>&rsquo; modify the
5402-
&lsquo;<code class=css>normal</code>&rsquo; behavior. The values have
5403-
following meanings:
5399+
<p>This property describes for which characters marks are drawn. The values
5400+
have following meanings:
54045401

54055402
<dl>
5406-
<dt><dfn id=normal6 title="text-emphasis-skip:normal">&lsquo;<code
5407-
class=css>normal</code>&rsquo;</dfn>
5403+
<dt><dfn id=spaces1 title="text-emphasis-skip:spaces">&lsquo;<code
5404+
class=css>spaces</code>&rsquo;</dfn>
5405+
5406+
<dd>Skip <a href="#word-separator">Word separators</a> or characters
5407+
belonging to the Unicode separator category (Z*). (But note that emphasis
5408+
marks <em>are</em> drawn for a space that combines with any combining
5409+
characters.)
54085410

5409-
<dd>Skip spaces (Z*), control characters (Cc, Cf, Cn, Cs) and all
5410-
punctuation (P*) except # (U+0023), &amp; (U+0026), and the various
5411-
per-cent/per-mille/per-ten-thousand signs (U+0025, U+0609, U+060A,
5412-
U+066A, U+2030, U+2031).
5411+
<dt><dfn id=punctuation0
5412+
title="text-emphasis-skip:punctuation">&lsquo;<code
5413+
class=css>punctuation</code>&rsquo;</dfn>
54135414

5414-
<dt><dfn id=keep-punctuation
5415-
title="text-emphasis-skip:keep-punctuation">&lsquo;<code
5416-
class=css>keep-punctuation</code>&rsquo;</dfn>
5415+
<dd>Skip punctuation. Punctuation in this definition includes characters
5416+
belonging to the Unicode Pc, Pd, Ps, Pe, Pi, or Pf categories. It also
5417+
includes characters where the Unicode category is Po and the Unicode
5418+
Sentence_Break property <a href="#UAX29"
5419+
rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a> is ATerm, Close, SContinue,
5420+
or STerm. <span class=issue>Is the use of UAX29 appropriate? Other
5421+
options are: 1) list up every code point, or 2) make all Po as
5422+
symbols.</span>
54175423

5418-
<dd>Don't skip punctuation (Zs).
5424+
<dt><dfn id=symbols title="text-emphasis-skip:symbols">&lsquo;<code
5425+
class=css>symbols</code>&rsquo;</dfn>
54195426

5420-
<dt><dfn id=keep-spaces
5421-
title="text-emphasis-skip:keep-spaces">&lsquo;<code
5422-
class=css>keep-spaces</code>&rsquo;</dfn>
5427+
<dd>Skip symbols. Symbols in this definition includes characters belonging
5428+
to the Unicode S* category. It also includes the Unicode Po category that
5429+
are not defined as &lsquo;<a href="#punctuation-symbols"><code
5430+
class=css>punctuation</code></a>&rsquo;.
54235431

5424-
<dd>Don't skip spaces (P*).
5432+
<dt><dfn id=narrow title="text-emphasis-skip:narrow">&lsquo;<code
5433+
class=css>narrow</code>&rsquo;</dfn>
54255434

5426-
<dt><dfn id=skip-symbols
5427-
title="text-emphasis-skip:skip-symbols">&lsquo;<code
5428-
class=css>skip-symbols</code>&rsquo;</dfn>
5435+
<dd>Skip characters that are not East Asian Fullwidth (F) or Wide (W).
5436+
</dl>
54295437

5430-
<dd>Skip symbols (S*), &amp;, #, and the various
5431-
per-cent/per-mille/per-ten-thousand signs.
5438+
<p>Characters belonging to the Unicode classes for control codes and
5439+
unassigned characters (Cc, Cf, Cn) are skipped regardless of the value of
5440+
this property.
54325441

5433-
<dt><dfn id=skip-narrow
5434-
title="text-emphasis-skip:skip-narrow">&lsquo;<code
5435-
class=css>skip-narrow</code>&rsquo;</dfn>
5442+
<p class=issue>Is there any use case for &lsquo;<code
5443+
class=css>none</code>&rsquo;?
54365444

5437-
<dd>Skip letters (L*) and numbers (N*) that are not East Asian Fullwidth
5438-
(F) or Wide (W).
5439-
</dl>
5445+
<p class=issue>There's an opinion to split punctuation to connectors and
5446+
delimiters; connectors are Pc, Pd, and U+30FB KATAKANA MIDDLE DOT
5447+
5448+
<p class=issue>JLTF recommends &lsquo;<code class=css>spaces punctuation
5449+
symbols narrow</code>&rsquo; for Japanese documents. Is a shortcut value
5450+
for that good enough to add?
54405451

54415452
<h3 id=text-shadow><span class=secno>11.3. </span> Text Shadows: the
54425453
&lsquo;<a href="#text-shadow0"><code
@@ -6540,10 +6551,9 @@ <h2 class=no-num id=appendix-f-full-property-index>Appendix F: Full
65406551
<td><a class=property
65416552
href="#text-emphasis-skip0">text-emphasis-skip</a>
65426553

6543-
<td>normal | keep-punctuation || keep-spaces || skip-symbols ||
6544-
skip-narrow
6554+
<td>spaces || punctuation || symbols || narrow
65456555

6546-
<td>normal
6556+
<td>spaces
65476557

65486558
<td>all elements
65496559

@@ -7074,21 +7084,17 @@ <h2 class=no-num id=index>Appendix I: Index</h2>
70747084
<li>text-emphasis-skip, <a href="#text-emphasis-skip0"
70757085
title=text-emphasis-skip><strong>11.2.5.</strong></a>
70767086

7077-
<li>text-emphasis-skip:keep-punctuation, <a href="#keep-punctuation"
7078-
title="text-emphasis-skip:keep-punctuation"><strong>11.2.5.</strong></a>
7079-
7080-
7081-
<li>text-emphasis-skip:keep-spaces, <a href="#keep-spaces"
7082-
title="text-emphasis-skip:keep-spaces"><strong>11.2.5.</strong></a>
7087+
<li>text-emphasis-skip:narrow, <a href="#narrow"
7088+
title="text-emphasis-skip:narrow"><strong>11.2.5.</strong></a>
70837089

7084-
<li>text-emphasis-skip:normal, <a href="#normal6"
7085-
title="text-emphasis-skip:normal"><strong>11.2.5.</strong></a>
7090+
<li>text-emphasis-skip:punctuation, <a href="#punctuation0"
7091+
title="text-emphasis-skip:punctuation"><strong>11.2.5.</strong></a>
70867092

7087-
<li>text-emphasis-skip:skip-narrow, <a href="#skip-narrow"
7088-
title="text-emphasis-skip:skip-narrow"><strong>11.2.5.</strong></a>
7093+
<li>text-emphasis-skip:spaces, <a href="#spaces1"
7094+
title="text-emphasis-skip:spaces"><strong>11.2.5.</strong></a>
70897095

7090-
<li>text-emphasis-skip:skip-symbols, <a href="#skip-symbols"
7091-
title="text-emphasis-skip:skip-symbols"><strong>11.2.5.</strong></a>
7096+
<li>text-emphasis-skip:symbols, <a href="#symbols"
7097+
title="text-emphasis-skip:symbols"><strong>11.2.5.</strong></a>
70927098

70937099
<li>text-emphasis-style, <a href="#text-emphasis-style0"
70947100
title=text-emphasis-style><strong>11.2.1.</strong></a>

css3-text/Overview.src.html

Lines changed: 42 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4053,7 +4053,7 @@ <h4 id="text-emphasis-position">
40534053
</div>
40544054

40554055
<h4 id="text-emphasis-skip">
4056-
Emphasis Mark Position: the 'text-emphasis-skip' property</h4>
4056+
Emphasis Mark Skip: the 'text-emphasis-skip' property</h4>
40574057

40584058
<p class="issue">This section is under brainstorming.</p>
40594059

@@ -4065,16 +4065,15 @@ <h4 id="text-emphasis-skip">
40654065
</tr>
40664066
<tr>
40674067
<th>Value:</th>
4068-
<td>normal |
4069-
keep-punctuation ||
4070-
keep-spaces ||
4071-
skip-symbols ||
4072-
skip-narrow
4068+
<td>spaces ||
4069+
punctuation ||
4070+
symbols ||
4071+
narrow
40734072
</td>
40744073
</tr>
40754074
<tr>
40764075
<th>Initial:</th>
4077-
<td>normal
4076+
<td>spaces
40784077
</tr>
40794078
<tr>
40804079
<th>Applies to:</th>
@@ -4099,28 +4098,48 @@ <h4 id="text-emphasis-skip">
40994098
</tbody>
41004099
</table>
41014100

4102-
<p>This property describes for which characters marks are drawn. Values
4103-
other than ''normal'' modify the ''normal'' behavior.
4101+
<p>This property describes for which characters marks are drawn.
41044102
The values have following meanings:</p>
41054103

41064104
<dl>
4107-
<dt><dfn title="text-emphasis-skip:normal">''normal''</dfn></dt>
4108-
<dd>Skip spaces (Z*), control characters (Cc, Cf, Cn, Cs) and
4109-
all punctuation (P*) except # (U+0023), &amp; (U+0026), and
4110-
the various per-cent/per-mille/per-ten-thousand signs
4111-
(U+0025, U+0609, U+060A, U+066A, U+2030, U+2031).</dd>
4112-
<dt><dfn title="text-emphasis-skip:keep-punctuation">''keep-punctuation''</dfn></dt>
4113-
<dd>Don't skip punctuation (Zs).</dd>
4114-
<dt><dfn title="text-emphasis-skip:keep-spaces">''keep-spaces''</dfn></dt>
4115-
<dd>Don't skip spaces (P*).</dd>
4116-
<dt><dfn title="text-emphasis-skip:skip-symbols">''skip-symbols''</dfn></dt>
4117-
<dd>Skip symbols (S*), &amp;, #, and the various
4118-
per-cent/per-mille/per-ten-thousand signs.</dd>
4119-
<dt><dfn title="text-emphasis-skip:skip-narrow">''skip-narrow''</dfn></dt>
4120-
<dd>Skip letters (L*) and numbers (N*) that are not East Asian Fullwidth (F)
4105+
<dt><dfn title="text-emphasis-skip:spaces">''spaces''</dfn></dt>
4106+
<dd>Skip <a href="#word-separator">Word separators</a> or characters
4107+
belonging to the Unicode separator category (Z*).
4108+
(But note that emphasis marks <em>are</em> drawn for a space
4109+
that combines with any combining characters.)</dd>
4110+
<dt><dfn title="text-emphasis-skip:punctuation">''punctuation''</dfn></dt>
4111+
<dd>Skip punctuation.
4112+
Punctuation in this definition includes characters belonging to
4113+
the Unicode Pc, Pd, Ps, Pe, Pi, or Pf categories.
4114+
It also includes characters where the Unicode category is Po and
4115+
the Unicode Sentence_Break property [[!UAX29]]
4116+
is ATerm, Close, SContinue, or STerm.
4117+
<span class="issue">Is the use of UAX29 appropriate?
4118+
Other options are: 1) list up every code point, or
4119+
2) make all Po as symbols.</span>
4120+
<dt><dfn title="text-emphasis-skip:symbols">''symbols''</dfn></dt>
4121+
<dd>Skip symbols.
4122+
Symbols in this definition includes characters belonging to
4123+
the Unicode S* category.
4124+
It also includes the Unicode Po category
4125+
that are not defined as ''punctuation''.</dd>
4126+
<dt><dfn title="text-emphasis-skip:narrow">''narrow''</dfn></dt>
4127+
<dd>Skip characters that are not East Asian Fullwidth (F)
41214128
or Wide (W).</dd>
41224129
</dl>
41234130

4131+
<p>Characters belonging to the Unicode classes for control codes
4132+
and unassigned characters (Cc, Cf, Cn) are skipped
4133+
regardless of the value of this property.</li>
4134+
</p>
4135+
4136+
<p class="issue">Is there any use case for ''none''?</p>
4137+
<p class="issue">There's an opinion to split punctuation to
4138+
connectors and delimiters;
4139+
connectors are Pc, Pd, and U+30FB KATAKANA MIDDLE DOT</p>
4140+
<p class="issue">JLTF recommends ''spaces punctuation symbols narrow'' for Japanese documents.
4141+
Is a shortcut value for that good enough to add?</p>
4142+
41244143
<h3 id="text-shadow">
41254144
Text Shadows: the 'text-shadow' property</h3>
41264145

0 commit comments

Comments
 (0)