Skip to content

Commit 4735324

Browse files
committed
Clarify line-breaking opportunities caused by collapsed spaces. <http://lists.w3.org/Archives/Public/www-style/2012Jan/0936.html>
1 parent 6e5ee32 commit 4735324

2 files changed

Lines changed: 16 additions & 20 deletions

File tree

css3-text/Overview.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232

3333
<h1>CSS Text Level 3</h1>
3434

35-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 January
35+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 24 January
3636
2012</h2>
3737

3838
<dl>
3939
<dt>This version:
4040

41-
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/01/19
42-
02:52:02 $ (CVS $Revision$)</a> <!--
43-
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120123/">http://www.w3.org/TR/2012/WD-css3-text-20120123/</a></dd>
41+
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/01/23
42+
20:29:45 $ (CVS $Revision$)</a> <!--
43+
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120124/">http://www.w3.org/TR/2012/WD-css3-text-20120124/</a></dd>
4444
-->
4545

4646

@@ -863,9 +863,8 @@ <h3 id=white-space-rules><span class=secno>3.3. </span> The White Space
863863
<li>Any space immediately following another collapsible space
864864
&mdash;even one outside the boundary of the inline containing the
865865
space, provided they are within the same inline formatting
866-
context&mdash;is removed. However, if removing this space would
867-
eliminate a line breaking opportunity in the text, that opportunity is
868-
still considered to exist.
866+
context&mdash;is collapsed to have zero advance width. (It is
867+
invisible, but retains its line-breaking opportunity, if any.)
869868
</ol>
870869

871870
<li>
@@ -904,8 +903,8 @@ <h3 id=white-space-rules><span class=secno>3.3. </span> The White Space
904903
character advance widths.
905904
</ol>
906905

907-
<p>White space that was not removed during the white space processing steps
908-
is called <dfn id=preserved>preserved</dfn> white space.
906+
<p>White space that was not removed or collapsed during the white space
907+
processing steps is called <dfn id=preserved>preserved</dfn> white space.
909908

910909
<div class=example>
911910
<h4 id=egbidiwscollapse><span class=secno>3.3.1. </span> Example of
@@ -1182,8 +1181,8 @@ <h2 id=line-breaking><span class=secno>4. </span> Line Breaking and Word
11821181
element containing the boundary control breaking.
11831182
<!-- http://lists.w3.org/Archives/Public/www-style/2008Dec/0043.html -->
11841183
For break opportunities given by the first or last character of a box, the
1185-
break occurs immediately before/after the box rather than breaking the
1186-
box.
1184+
break occurs immediately before/after the box (at its margin edge) rather
1185+
than breaking the box at its content edge.
11871186

11881187
<div class=note>
11891188
<p>Further information on line breaking conventions can be found in <a

css3-text/Overview.src.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,8 @@ <h3 id="white-space-rules">
523523
<li>Any space immediately following another collapsible space
524524
&mdash;even one outside the boundary of the inline containing
525525
the space, provided they are within the same inline formatting
526-
context&mdash;is removed.
527-
However, if removing this space would eliminate a line breaking
528-
opportunity in the text, that opportunity is still considered
529-
to exist.</li>
526+
context&mdash;is collapsed to have zero advance width. (It is
527+
invisible, but retains its line-breaking opportunity, if any.)</li>
530528
</ol>
531529
</li>
532530
<li><p>If 'text-space-collapse' is set to ''preserve'', any sequence of
@@ -554,8 +552,8 @@ <h3 id="white-space-rules">
554552
collapse their character advance widths.
555553
</ol>
556554

557-
<p>White space that was not removed during the white space processing
558-
steps is called <dfn>preserved</dfn> white space.</p>
555+
<p>White space that was not removed or collapsed during the white space
556+
processing steps is called <dfn>preserved</dfn> white space.</p>
559557

560558
<div class="example">
561559
<h4 id="egbidiwscollapse">
@@ -763,9 +761,8 @@ <h2 id="line-breaking">
763761
the properties on the element containing the boundary control breaking.
764762
<!-- http://lists.w3.org/Archives/Public/www-style/2008Dec/0043.html -->
765763
For break opportunities given by the first or last character of a
766-
box, the break occurs immediately before/after the box rather than
767-
breaking the box.
768-
764+
box, the break occurs immediately before/after the box (at its margin
765+
edge) rather than breaking the box at its content edge.
769766

770767
<div class="note">
771768
<p>Further information on line breaking conventions can be found in

0 commit comments

Comments
 (0)