Skip to content

Commit d33f585

Browse files
committed
First draft of text-emphasis-skip
1 parent e146e75 commit d33f585

2 files changed

Lines changed: 193 additions & 6 deletions

File tree

css3-text/Overview.html

Lines changed: 125 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 27 April 2011</h2>
8989
<dt>This version:
9090

9191
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
92-
2011/04/27 01:38:57 $ (CVS $Revision$)</a> <!--
92+
2011/04/27 01:50:55 $ (CVS $Revision$)</a> <!--
9393
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110427/">http://www.w3.org/TR/2011/WD-css3-text-20110427/</a></dd>
9494
-->
9595

@@ -448,6 +448,10 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
448448
<li><a href="#text-emphasis-position"><span class=secno>11.2.4.
449449
</span> Emphasis Mark Position: the &lsquo;<code
450450
class=property>text-emphasis-position</code>&rsquo; property</a>
451+
452+
<li><a href="#text-emphasis-skip"><span class=secno>11.2.5. </span>
453+
Emphasis Mark Position: the &lsquo;<code
454+
class=property>text-emphasis-skip</code>&rsquo; property</a>
451455
</ul>
452456

453457
<li><a href="#text-shadow"><span class=secno>11.3. </span> Text Shadows:
@@ -5060,8 +5064,8 @@ <h4 id=text-emphasis-style><span class=secno>11.2.1. </span> Emphasis Mark
50605064
<li>Characters belonging to the Unicode classes for control codes and
50615065
unassigned characters (Cc, Cf, Cn).
50625066

5063-
<li><span class=issue>Anything else? Probably need to exclude punctuation,
5064-
but which punctuation exactly? Can we determine that Unicode-wide?</span>
5067+
<li>Characters designated by &lsquo;<a href="#text-emphasis-skip0"><code
5068+
class=property>text-emphasis-skip</code></a>&rsquo;.
50655069
</ul>
50665070

50675071
<p>If emphasis marks are drawn for grapheme clusters for which ruby is
@@ -5339,6 +5343,91 @@ <h4 id=text-emphasis-position><span class=secno>11.2.4. </span> Emphasis
53395343
</table>
53405344
</div>
53415345

5346+
<h4 id=text-emphasis-skip><span class=secno>11.2.5. </span> Emphasis Mark
5347+
Position: the &lsquo;<a href="#text-emphasis-skip0"><code
5348+
class=property>text-emphasis-skip</code></a>&rsquo; property</h4>
5349+
5350+
<p class=issue>This section is under brainstorming.
5351+
5352+
<table class=propdef>
5353+
<tbody>
5354+
<tr>
5355+
<th>Name:
5356+
5357+
<td><dfn id=text-emphasis-skip0>text-emphasis-skip</dfn>
5358+
5359+
<tr>
5360+
<th>Value:
5361+
5362+
<td>normal | keep-punctuation || keep-spaces || skip-symbols ||
5363+
skip-narrow
5364+
5365+
<tr>
5366+
<th>Initial:
5367+
5368+
<td>normal
5369+
5370+
<tr>
5371+
<th>Applies to:
5372+
5373+
<td>all elements
5374+
5375+
<tr>
5376+
<th>Inherited:
5377+
5378+
<td>yes
5379+
5380+
<tr>
5381+
<th>Percentages:
5382+
5383+
<td>N/A
5384+
5385+
<tr>
5386+
<th>Media:
5387+
5388+
<td>visual
5389+
5390+
<tr>
5391+
<th>Computed&#160;value:
5392+
5393+
<td>as specified
5394+
</table>
5395+
5396+
<p>This property describes for which characters marks are drawn. Values
5397+
other than &lsquo;<code class=css>normal</code>&rsquo; modify the
5398+
&lsquo;<code class=css>normal</code>&rsquo; behavior. The values have
5399+
following meanings:
5400+
5401+
<dl>
5402+
<dt><dfn id=normal6 title="text-emphasis-skip:normal">&lsquo;<code
5403+
class=css>normal</code>&rsquo;</dfn>
5404+
5405+
<dd>Skip spaces (Z*), control characters (C*) and all punctuation (P*)
5406+
except # (U+0023), &amp; (U+0026), and the various
5407+
per-cent/per-mille/per-ten-thousand signs (U+0025, U+0609, U+060A,
5408+
U+066A, U+2030, U+2031).
5409+
5410+
<dt><dfn id=keep-punctuation
5411+
title="text-emphasis-skip:keep-punctuation">&lsquo;<code
5412+
class=css>keep-punctuation</code>&rsquo;</dfn>
5413+
5414+
<dd>Don't skip punctuation (P*).
5415+
5416+
<dt><dfn id=skip-symbols
5417+
title="text-emphasis-skip:skip-symbols">&lsquo;<code
5418+
class=css>skip-symbols</code>&rsquo;</dfn>
5419+
5420+
<dd>Skip symbols (S*), &amp;, #, and the various
5421+
per-cent/per-mille/per-ten-thousand signs.
5422+
5423+
<dt><dfn id=skip-narrow
5424+
title="text-emphasis-skip:skip-narrow">&lsquo;<code
5425+
class=css>skip-narrow</code>&rsquo;</dfn>
5426+
5427+
<dd>Skip letters (L*) and numbers (N*) that are not East Asian Fullwidth
5428+
(F) or Wide (W).
5429+
</dl>
5430+
53425431
<h3 id=text-shadow><span class=secno>11.3. </span> Text Shadows: the
53435432
&lsquo;<a href="#text-shadow0"><code
53445433
class=property>text-shadow</code></a>&rsquo; property</h3>
@@ -6437,6 +6526,23 @@ <h2 class=no-num id=appendix-f-full-property-index>Appendix F: Full
64376526

64386527
<td>visual
64396528

6529+
<tr valign=baseline>
6530+
<td><a class=property
6531+
href="#text-emphasis-skip0">text-emphasis-skip</a>
6532+
6533+
<td>normal | keep-punctuation || keep-spaces || skip-symbols ||
6534+
skip-narrow
6535+
6536+
<td>normal
6537+
6538+
<td>all elements
6539+
6540+
<td>yes
6541+
6542+
<td>N/A
6543+
6544+
<td>visual
6545+
64406546
<tr valign=baseline>
64416547
<td><a class=property
64426548
href="#text-emphasis-style0">text-emphasis-style</a>
@@ -6955,6 +7061,22 @@ <h2 class=no-num id=index>Appendix I: Index</h2>
69557061
href="#sesame"
69567062
title="text-emphasis:sesame"><strong>11.2.1.</strong></a>
69577063

7064+
<li>text-emphasis-skip, <a href="#text-emphasis-skip0"
7065+
title=text-emphasis-skip><strong>11.2.5.</strong></a>
7066+
7067+
<li>text-emphasis-skip:keep-punctuation, <a href="#keep-punctuation"
7068+
title="text-emphasis-skip:keep-punctuation"><strong>11.2.5.</strong></a>
7069+
7070+
7071+
<li>text-emphasis-skip:normal, <a href="#normal6"
7072+
title="text-emphasis-skip:normal"><strong>11.2.5.</strong></a>
7073+
7074+
<li>text-emphasis-skip:skip-narrow, <a href="#skip-narrow"
7075+
title="text-emphasis-skip:skip-narrow"><strong>11.2.5.</strong></a>
7076+
7077+
<li>text-emphasis-skip:skip-symbols, <a href="#skip-symbols"
7078+
title="text-emphasis-skip:skip-symbols"><strong>11.2.5.</strong></a>
7079+
69587080
<li>text-emphasis-style, <a href="#text-emphasis-style0"
69597081
title=text-emphasis-style><strong>11.2.1.</strong></a>
69607082

css3-text/Overview.src.html

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3819,9 +3819,7 @@ <h4 id="text-emphasis-style">
38193819
that combines with any combining characters.)</li>
38203820
<li>Characters belonging to the Unicode classes for control codes
38213821
and unassigned characters (Cc, Cf, Cn).</li>
3822-
<li><span class="issue">Anything else? Probably need to exclude
3823-
punctuation, but which punctuation exactly? Can we determine
3824-
that Unicode-wide?</span></li>
3822+
<li>Characters designated by 'text-emphasis-skip'.</li>
38253823
</ul>
38263824

38273825
<p>If emphasis marks are drawn for grapheme clusters
@@ -4053,6 +4051,73 @@ <h4 id="text-emphasis-position">
40534051
</table>
40544052
</div>
40554053

4054+
<h4 id="text-emphasis-skip">
4055+
Emphasis Mark Position: the 'text-emphasis-skip' property</h4>
4056+
4057+
<p class="issue">This section is under brainstorming.</p>
4058+
4059+
<table class="propdef">
4060+
<tbody>
4061+
<tr>
4062+
<th>Name:</th>
4063+
<td><dfn>text-emphasis-skip</dfn></td>
4064+
</tr>
4065+
<tr>
4066+
<th>Value:</th>
4067+
<td>normal |
4068+
keep-punctuation ||
4069+
keep-spaces ||
4070+
skip-symbols ||
4071+
skip-narrow
4072+
</td>
4073+
</tr>
4074+
<tr>
4075+
<th>Initial:</th>
4076+
<td>normal
4077+
</tr>
4078+
<tr>
4079+
<th>Applies to:</th>
4080+
<td>all elements</td>
4081+
</tr>
4082+
<tr>
4083+
<th>Inherited:</th>
4084+
<td>yes</td>
4085+
</tr>
4086+
<tr>
4087+
<th>Percentages:</th>
4088+
<td>N/A</td>
4089+
</tr>
4090+
<tr>
4091+
<th>Media:</th>
4092+
<td>visual</td>
4093+
</tr>
4094+
<tr>
4095+
<th>Computed&#160;value:</th>
4096+
<td>as specified</td>
4097+
</tr>
4098+
</tbody>
4099+
</table>
4100+
4101+
<p>This property describes for which characters marks are drawn. Values
4102+
other than ''normal'' modify the ''normal'' behavior.
4103+
The values have following meanings:</p>
4104+
4105+
<dl>
4106+
<dt><dfn title="text-emphasis-skip:normal">''normal''</dfn></dt>
4107+
<dd>Skip spaces (Z*), control characters (C*) and
4108+
all punctuation (P*) except # (U+0023), &amp; (U+0026), and the various
4109+
per-cent/per-mille/per-ten-thousand signs (U+0025, U+0609, U+060A,
4110+
U+066A, U+2030, U+2031).</dd>
4111+
<dt><dfn title="text-emphasis-skip:keep-punctuation">''keep-punctuation''</dfn></dt>
4112+
<dd>Don't skip punctuation (P*).</dd>
4113+
<dt><dfn title="text-emphasis-skip:skip-symbols">''skip-symbols''</dfn></dt>
4114+
<dd>Skip symbols (S*), &amp;, #, and the various
4115+
per-cent/per-mille/per-ten-thousand signs.</dd>
4116+
<dt><dfn title="text-emphasis-skip:skip-narrow">''skip-narrow''</dfn></dt>
4117+
<dd>Skip letters (L*) and numbers (N*) that are not East Asian Fullwidth (F)
4118+
or Wide (W).</dd>
4119+
</dl>
4120+
40564121
<h3 id="text-shadow">
40574122
Text Shadows: the 'text-shadow' property</h3>
40584123

0 commit comments

Comments
 (0)