Skip to content

Commit dd599a5

Browse files
committed
Fix errors in 'text-justify: distribute'
1 parent 859e5c2 commit dd599a5

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

css3-text/Overview.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 January
3636
<dt>This version:
3737

3838
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/01/12
39-
01:53:17 $ (CVS $Revision$)</a> <!--
39+
01:57:40 $ (CVS $Revision$)</a> <!--
4040
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120112/">http://www.w3.org/TR/2012/WD-css3-text-20120112/</a></dd>
4141
-->
4242

@@ -2343,7 +2343,7 @@ <h3 id=text-justify><span class=secno>7.3. </span> Justification Method:
23432343

23442344
<td><strong>1</strong>
23452345

2346-
<td>2
2346+
<td>3
23472347

23482348
<td>2
23492349

@@ -2451,10 +2451,12 @@ <h3 id=text-justify><span class=secno>7.3. </span> Justification Method:
24512451
category represents expansion opportunities at <a
24522452
href="#word-separator">word separators</a>. (See <a
24532453
href="#word-spacing">&lsquo;<code
2454-
class=property>word-spacing</code>&rsquo;</a>.) The UA may treat spaces
2455-
differently than other expansion points in the same priority, but must not
2456-
change their priority with respect to expansion points in other priority
2457-
levels. For example, in Japanese &lsquo;<code
2454+
class=property>word-spacing</code>&rsquo;</a>.) Except when &lsquo;<a
2455+
href="#text-justify0"><code class=property>text-justify</code></a>&rsquo;
2456+
is &lsquo;<code class=css>distribute</code>&rsquo;, the UA may treat
2457+
spaces differently than other expansion points in the same priority, but
2458+
must not change their priority with respect to expansion points in other
2459+
priority levels. For example, in Japanese &lsquo;<code
24582460
class=css>inter-ideograph</code>&rsquo; justification (which treats CJK
24592461
characters at a higher priority than Latin characters), word spaces
24602462
traditionally have a higher priority than inter-CJK spacing, and the UA

css3-text/Overview.src.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ <h3 id="text-justify">
16751675
<th scope="row"><a href="#block-scripts">block</a></th>
16761676
<td>2</td>
16771677
<td><strong>1</strong></td>
1678-
<td>2</td>
1678+
<td>3</td>
16791679
<td>2</td>
16801680
<td>3</td>
16811681
<td><strong>1</strong>*</td>
@@ -1750,7 +1750,8 @@ <h3 id="text-justify">
17501750
justification methods.</small></p>
17511751
<p id="justify-spaces">The <dfn title="spaces-category">spaces</dfn> category represents
17521752
expansion opportunities at <a href="#word-separator">word separators</a>.
1753-
(See <a href="#word-spacing">'word-spacing'</a>.) The UA may treat
1753+
(See <a href="#word-spacing">'word-spacing'</a>.) Except when
1754+
'text-justify' is ''distribute'', the UA may treat
17541755
spaces differently than other expansion points in the same priority,
17551756
but must not change their priority with respect to expansion points
17561757
in other priority levels. For example, in Japanese ''inter-ideograph''

0 commit comments

Comments
 (0)