Skip to content

Commit 9d33d87

Browse files
committed
Fixed a typo in Japanese justification example
1 parent a2c1957 commit 9d33d87

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

css3-text/Overview.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@
8383

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

86-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 21 April 2011</h2>
86+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 April 2011</h2>
8787

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

9191
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
92-
2011/04/20 17:54:59 $ (CVS $Revision$)</a> <!--
93-
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110421/">http://www.w3.org/TR/2011/WD-css3-text-20110421/</a></dd>
92+
2011/04/21 05:05:33 $ (CVS $Revision$)</a> <!--
93+
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110425/">http://www.w3.org/TR/2011/WD-css3-text-20110425/</a></dd>
9494
-->
9595

9696

@@ -2028,8 +2028,8 @@ <h4 id=at-hyphenate-resource><span class=secno>6.6.1. </span>The &lsquo;<a
20282028
improvements).
20292029

20302030
<li>Can use RFC4647 language-mapping, which is more intelligent than
2031-
:lang()'s prefix-matching. (Could also argue that :lang() should use
2032-
RFC4647.)
2031+
:lang()&apos;s prefix-matching. (Could also argue that :lang() should
2032+
use RFC4647.)
20332033
</ul>
20342034

20352035
<dt>disadvantages of &lsquo;<a href="#hyphenate-resource"><code
@@ -3237,9 +3237,6 @@ <h3 id=text-justify><span class=secno>8.3. </span> Justification Method:
32373237
rules for how a text formatter can justify Japanese text. It describes
32383238
rules for cases where the &lsquo;<a href="#text-justify0"><code
32393239
class=property>text-justify</code></a>&rsquo; property is &lsquo;<code
3240-
class=css>inter-ideograph</code>&rsquo;. It describes rules for cases
3241-
where the &lsquo;<a href="#text-justify0"><code
3242-
class=property>text-justify</code></a>&rsquo; property is &lsquo;<code
32433240
class=css>inter-ideograph</code>&rsquo; and the &lsquo;<a
32443241
href="#text-spacing"><code class=property>text-spacing</code></a>&rsquo;
32453242
property does not specify &lsquo;<code
@@ -3266,21 +3263,21 @@ <h3 id=text-justify><span class=secno>8.3. </span> Justification Method:
32663263
take the first line break opportunity beyond the end of line
32673264
and apply the following rules (in order) to compress until it fits.
32683265
<ol style="list-style-type:lower-alpha">
3269-
<li>Compress space characters up to the minimum value specified by &lsquo;<code class=css>word-spacing</code>&rsquo; property, or up to 1/4em.</li>
3266+
<li>Compress space characters up to the minimum value specified by 'word-spacing' property, or up to 1/4em.</li>
32703267
<li>Compress <a href="#fullwidth-middle-dot-punctuation">fullwidth middle dot punctuations</a>
32713268
and <a href="#fullwidth-colon-punctuation">fullwidth colon punctuations</a>
32723269
up to 1/2em, by trimming the same amount of spaces from both sides of the characters.</li>
32733270
<li>Compress the left side of <a href="#fullwidth-opening-punctuation">fullwidth opening punctuations</a>
32743271
and the right side of <a href="#fullwidth-closing-punctuation">fullwidth closing punctuations</a>
32753272
up to 1/2em.</li>
3276-
<li>Compress spaces created by &lsquo;<code class=property>text-spacing</code>&rsquo; property up to 1/8em.</li>
3273+
<li>Compress spaces created by 'text-spacing' property up to 1/8em.</li>
32773274
</ol></li>
32783275
<li>If the compression fails to fit the line,
32793276
take the last line break opportunity before the end of line,
32803277
and apply the following rules (in order) to expand until it fits.
32813278
<ol style="list-style-type:lower-alpha">
3282-
<li>Expand space characters up to the maximum value specified by &lsquo;<code class=css>word-spacing</code>&rsquo; property, or up to 1/2em.</li>
3283-
<li>Expand spaces created by &lsquo;<code class=property>text-spacing</code>&rsquo; property up to 1/2em.</li>
3279+
<li>Expand space characters up to the maximum value specified by 'word-spacing' property, or up to 1/2em.</li>
3280+
<li>Expand spaces created by 'text-spacing' property up to 1/2em.</li>
32843281
<li>Expand all expansion opportunities as defined above in equal percent of the size of each character.</li>
32853282
</ol></li>
32863283
</ol>

css3-text/Overview.src.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ <h4 id="at-hyphenate-resource">The ''@hyphenate-resource'' rule</h3>
13891389
of local dictionaries (and can also trigger other typographic
13901390
improvements).
13911391
<li>Can use RFC4647 language-mapping, which is more intelligent
1392-
than :lang()'s prefix-matching. (Could also argue that :lang()
1392+
than :lang()&apos;s prefix-matching. (Could also argue that :lang()
13931393
should use RFC4647.)
13941394
</ul></dd>
13951395
<dt>disadvantages of ''@hyphenate-resource''</dt>
@@ -2338,7 +2338,6 @@ <h3 id="text-justify">
23382338
<div class="example">
23392339
<p>3.8 Line Adjustment in [[JLREQ]] gives an example of a set of rules for
23402340
how a text formatter can justify Japanese text.
2341-
It describes rules for cases where the 'text-justify' property is ''inter-ideograph''.
23422341
It describes rules for cases where the 'text-justify' property is ''inter-ideograph''
23432342
and the 'text-spacing' property does not specify ''no-justify''.</p>
23442343
<p>It produces an effect similar to cases where
@@ -2361,7 +2360,7 @@ <h3 id="text-justify">
23612360
take the first line break opportunity beyond the end of line
23622361
and apply the following rules (in order) to compress until it fits.
23632362
<ol style="list-style-type:lower-alpha">
2364-
<li>Compress space characters up to the minimum value specified by ''word-spacing'' property, or up to 1/4em.</li>
2363+
<li>Compress space characters up to the minimum value specified by 'word-spacing' property, or up to 1/4em.</li>
23652364
<li>Compress <a href="#fullwidth-middle-dot-punctuation">fullwidth middle dot punctuations</a>
23662365
and <a href="#fullwidth-colon-punctuation">fullwidth colon punctuations</a>
23672366
up to 1/2em, by trimming the same amount of spaces from both sides of the characters.</li>
@@ -2374,7 +2373,7 @@ <h3 id="text-justify">
23742373
take the last line break opportunity before the end of line,
23752374
and apply the following rules (in order) to expand until it fits.
23762375
<ol style="list-style-type:lower-alpha">
2377-
<li>Expand space characters up to the maximum value specified by ''word-spacing'' property, or up to 1/2em.</li>
2376+
<li>Expand space characters up to the maximum value specified by 'word-spacing' property, or up to 1/2em.</li>
23782377
<li>Expand spaces created by 'text-spacing' property up to 1/2em.</li>
23792378
<li>Expand all expansion opportunities as defined above in equal percent of the size of each character.</li>
23802379
</ol></li>

0 commit comments

Comments
 (0)