Skip to content

Commit 0f97999

Browse files
committed
[css-text] add example for letter-spacing ligature rule
1 parent f55e0ef commit 0f97999

2 files changed

Lines changed: 20 additions & 12 deletions

File tree

css-text/Overview.html

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
rel=dcterms.rights>
1111
<meta content="CSS Text Module Level 3 (CSS3 Text)" name=dcterms.title>
1212
<meta content=text name=dcterms.type>
13-
<meta content=2013-07-16 name=dcterms.date>
13+
<meta content=2013-07-17 name=dcterms.date>
1414
<meta content="Elika J. Etemad" name=dcterms.creator>
1515
<meta content="Koji Ishii" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
@@ -68,12 +68,12 @@
6868

6969
<h1>CSS Text Module Level 3</h1>
7070

71-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 July 2013</h2>
71+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 July 2013</h2>
7272

7373
<dl>
7474
<dt>This version:</dt>
7575
<!--
76-
<dd><a href="http://www.w3.org/TR/2013/WD-css3-text-20130716/">http://www.w3.org/TR/2013/WD-css3-text-20130716/</a></dd>
76+
<dd><a href="http://www.w3.org/TR/2013/WD-css3-text-20130717/">http://www.w3.org/TR/2013/WD-css3-text-20130717/</a></dd>
7777
-->
7878

7979
<dd><a
@@ -2702,6 +2702,10 @@ <h3 id=letter-spacing><span class=secno>8.2. </span> Tracking: the ‘<a
27022702
class=property>letter-spacing</code></a>’), user agents should not apply
27032703
optional ligatures.
27042704

2705+
<p class=example> For example, if the word “filial” is letter-spaced,
2706+
an “fi” ligature should not be used as it will prevent even spacing of
2707+
the text.
2708+
27052709
<p>UAs may apply letter-spacing to cursive scripts. In this case, UAs
27062710
should extend the space between disjoint characters as specified above
27072711
<em>and</em> extend the visible connection between cursively connected
@@ -3170,13 +3174,12 @@ <h3 id=bidi-linebox><span class=secno>9.3. </span> Bidirectionality and
31703174

31713175
<p>As expected, the "Hello!" should be displayed LTR (i.e. with the
31723176
exclamation mark on the right end, despite the
3173-
<code>&lt;textarea></code><code class=css>s </code>’‘<code
3174-
class=css>direction:rtl</code>’‘<code class=css>) and left-aligned.
3175-
This makes the empty line following it left-aligned as well, which means
3176-
that the caret on that line should appear at its left edge. The first
3177-
empty line, on the other hand, should be right-aligned, due to the RTL
3178-
direction of its containing paragraph, the <code>&lt;textarea></code>.
3179-
</code>
3177+
<code>&lt;textarea></code>’s ‘<code
3178+
class=css>direction:rtl</code>’) and left-aligned. This makes the empty
3179+
line following it left-aligned as well, which means that the caret on
3180+
that line should appear at its left edge. The first empty line, on the
3181+
other hand, should be right-aligned, due to the RTL direction of its
3182+
containing paragraph, the <code>&lt;textarea></code>.
31803183
</div>
31813184

31823185
<h2 id=conformance><span class=secno>10. </span> Conformance</h2>
@@ -3296,7 +3299,7 @@ <h3 id=testing><span class=secno>10.5. </span>Non-Experimental
32963299
W3C are subject to review and correction by the CSS Working Group.
32973300

32983301
<p>Further information on submitting testcases and implementation reports
3299-
can be found from on the CSS Working Groups website at <a
3302+
can be found from on the CSS Working Group's website at <a
33003303
href="http://www.w3.org/Style/CSS/Test/">http://www.w3.org/Style/CSS/Test/</a>.
33013304
Questions should be directed to the <a
33023305
href="http://lists.w3.org/Archives/Public/public-css-testsuite">public-css-testsuite@w3.org</a>

css-text/Overview.src.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2016,6 +2016,11 @@ <h3 id="letter-spacing">
20162016
or non-zero computed 'letter-spacing'),
20172017
user agents should not apply optional ligatures.</p>
20182018

2019+
<p class="example">
2020+
For example, if the word “filial” is letter-spaced,
2021+
an “fi” ligature should not be used
2022+
as it will prevent even spacing of the text.
2023+
20192024
<p>UAs may apply letter-spacing to cursive scripts. In this case, UAs
20202025
should extend the space between disjoint characters as specified above
20212026
<em>and</em> extend the visible connection between cursively connected
@@ -2338,7 +2343,7 @@ <h3 id="bidi-linebox">
23382343

23392344
<p>As expected, the "Hello!" should be displayed LTR
23402345
(i.e. with the exclamation mark on the right end,
2341-
despite the <code>&lt;textarea></code>'s ''direction:rtl'')
2346+
despite the <code>&lt;textarea></code>s ''direction:rtl'')
23422347
and left-aligned.
23432348
This makes the empty line following it left-aligned as well,
23442349
which means that the caret on that line should appear at its

0 commit comments

Comments
 (0)