Skip to content

Commit 6e95d85

Browse files
committed
Deal with Cf category better.
1 parent 124e307 commit 6e95d85

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

css3-text/Overview.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,8 @@ <h2 id=white-space-processing><span class=secno>3. </span> White Space
686686
href="http://www.w3.org/TR/CSS21/visuren.html#anonymous">9.2.2.1</a>
687687

688688
<p>Control characters (Unicode class Cc) other than tab (U+0009), line feed
689-
(U+000A), space (U+0020), and the bidi formatting characters
690-
(U+202<var>x</var>) are ignored for the purpose of rendering.
689+
(U+000A), and carriage return (U+000D) are ignored for the purpose of
690+
rendering.
691691

692692
<h3 id=white-space-collapsing><span class=secno>3.1. </span> White Space
693693
Collapsing: the &lsquo;<a href="#text-space-collapse"><code
@@ -2817,6 +2817,12 @@ <h3 id=letter-spacing><span class=secno>8.2. </span> Tracking: the
28172817
connections, it should not apply letter-spacing between characters of
28182818
that script at all.</p>
28192819

2820+
<p>Letter-spacing ignores zero-width characters (such as those from the
2821+
Unicode Cf category). For example, &lsquo;<a
2822+
href="#letter-spacing0"><code
2823+
class=property>letter-spacing</code></a>&rsquo; applied to
2824+
<code>A&amp;zwsp;B</code> is identical to <code>AB</code>.
2825+
28202826
<p>When the resulting space between two characters is not the same as the
28212827
default space, user agents should not use optional ligatures.</p>
28222828

css3-text/Overview.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ <h2 id="white-space-processing">
377377
<a href="http://www.w3.org/TR/CSS21/visuren.html#anonymous">9.2.2.1</a></p>
378378

379379
<p>Control characters (Unicode class Cc) other than tab (U+0009), line feed
380-
(U+000A), space (U+0020), and the bidi formatting characters (U+202<var>x</var>)
380+
(U+000A), and carriage return (U+000D)
381381
are ignored for the purpose of rendering.
382382

383383
<h3 id="white-space-collapsing">
@@ -2082,6 +2082,10 @@ <h3 id="letter-spacing">
20822082
the cursive connections, it should not apply letter-spacing between
20832083
characters of that script at all.</p>
20842084

2085+
<p>Letter-spacing ignores zero-width characters (such as those from the
2086+
Unicode Cf category). For example, 'letter-spacing' applied to
2087+
<code>A&amp;zwsp;B</code> is identical to <code>AB</code>.
2088+
20852089
<p>When the resulting space between two characters is not the same as the
20862090
default space, user agents should not use optional ligatures.</p>
20872091

0 commit comments

Comments
 (0)