Skip to content

Commit 0b64606

Browse files
committed
[css-text-decor-3] Skip punctuation for emphasis marks, per w3c#839.
1 parent af5a1b8 commit 0b64606

3 files changed

Lines changed: 29 additions & 9 deletions

File tree

css-text-decor-3/Overview.bs

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -723,16 +723,36 @@ Emphasis Mark Style: the 'text-emphasis-style' property</h3>
723723
</p>
724724

725725
<p>The marks are drawn once for each <a>typographic character unit</a>.
726-
However, emphasis marks are not drawn for <a>characters</a> that are:
726+
However, emphasis marks are <em>not</em> drawn for:
727727
<ul>
728-
<li><a href="https://www.w3.org/TR/css3-text/#word-separator">Word separators</a> or that
728+
<li><a href="https://www.w3.org/TR/css3-text/#word-separator">Word separators</a>
729+
or other <a>characters</a> that
729730
belong to the Unicode separator classes (Z*).
730731
(But note that emphasis marks <em>are</em> drawn for a space
731-
that combines with any combining characters.)</li>
732+
that combines with any combining characters.)
733+
734+
<li>Punctuation--specifically,
735+
any <a>characters<a> that belong to the
736+
Unicode Pc, Pd, Ps, Pe, Pi, or Pf <a>general categories</a> or
737+
that belong to the Po <a>general category</a> and
738+
have a <code>Sentence_Break</code> property of
739+
<code>ATerm</code>, <code>Close</code>, <code>SContinue</code>, or <code>STerm</code>.
740+
741+
ISSUE: Semicolons should likely be categorized with punctuation here,
742+
but the Unicode data file places them under <code>Sentence_Break=Other</code>.
743+
744+
ISSUE: This list needs review by JLTF/CLTF.
745+
See <a href="https://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AGeneral_category%3DPo%3A%5D%26%5B%5B%3ASentence_Break%3DATerm%3A%5D%5B%3ASentence_Break%3DSTerm%3A%5D%5B%3ASentence_Break%3DSContinue%3A%5D%5B%3ASentence_Break%3DClose%3A%5D%5D&g=Sentence_Break&i=">full list of characters</a>.
746+
732747
<li>Characters belonging to the Unicode classes for control codes
733-
and unassigned characters (Cc, Cf, Cn).</li>
748+
and unassigned characters (Cc, Cf, Cn).
734749
</ul>
735750

751+
Note: Control over which characters are marked will be added in Level 4.
752+
(The list of punctuation may also be further refined,
753+
particularly for non-CJK punctuation.)
754+
755+
736756
<h3 id="text-emphasis-color-property">
737757
Emphasis Mark Color: the 'text-emphasis-color' property</h3>
738758

css-text-decor-3/issues-cr-2013.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ <h1>CSS Text Decoration Level 3 Disposition of Comments for 2013-08-01 CR</h1>
186186
<span>Response: <a href='https://lists.w3.org/Archives/Public/www-style/2016Dec/0084.html'>https://lists.w3.org/Archives/Public/www-style/2016Dec/0084.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2016Dec/0084.html"><abbr title="Thread">&#x2208;</abbr></a></span>
187187
<span class="a">Closed: Accepted</span>
188188
<span>Resolved: Editorial</span></pre>
189-
<pre class='open ' id='issue-16'>
189+
<pre class=' a' id='issue-16'>
190190
<span>Issue 16. <a href='#issue-16'>#</a></span>
191191
<span>Summary: Emphasis marks shouldn't apply to punctuation</span>
192192
<span>From: Xidorn Quan</span>
193193
<span>Comment: <a href='https://www.w3.org/mid/CAMdq699v=qhkpXD8smpV0TSOW_GEt67Z4HZWmTheqhv2n+=ekw@mail.gmail.com'>https://www.w3.org/mid/CAMdq699v=qhkpXD8smpV0TSOW_GEt67Z4HZWmTheqhv2n+=ekw@mail.gmail.com</a> <a href="mid:CAMdq699v=qhkpXD8smpV0TSOW_GEt67Z4HZWmTheqhv2n+=ekw@mail.gmail.com"><abbr title="Open Message">&#x2386;</abbr></a></span>
194194
<span>Response: <a href='https://lists.w3.org/Archives/Public/www-style/2016Dec/0083.html'>https://lists.w3.org/Archives/Public/www-style/2016Dec/0083.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2016Dec/0083.html"><abbr title="Thread">&#x2208;</abbr></a></span>
195195
<span>Followup: <a href='https://github.com/w3c/csswg-drafts/issues/839'>https://github.com/w3c/csswg-drafts/issues/839</a></span>
196-
<span class="">Open: =WG= Discuss.</span>
197-
<span>Resolved:</span></pre>
196+
<span class="a">Closed: Accepted</span>
197+
<span>Resolved: CSSWG telecon 2018-03-07</span></pre>
198198
<pre class=' a' id='issue-17'>
199199
<span>Issue 17. <a href='#issue-17'>#</a></span>
200200
<span>Summary: 'text-emphasis-position' requires too many arguments</span>

css-text-decor-3/issues-cr-2013.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ From: Xidorn Quan
153153
Comment: https://www.w3.org/mid/CAMdq699v=qhkpXD8smpV0TSOW_GEt67Z4HZWmTheqhv2n+=ekw@mail.gmail.com
154154
Response: https://lists.w3.org/Archives/Public/www-style/2016Dec/0083.html
155155
Followup: https://github.com/w3c/csswg-drafts/issues/839
156-
Open: =WG= Discuss.
157-
Resolved:
156+
Closed: Accepted
157+
Resolved: CSSWG telecon 2018-03-07
158158
----
159159
Issue 17.
160160
Summary: 'text-emphasis-position' requires too many arguments

0 commit comments

Comments
 (0)