Skip to content

Commit 0cd3a8b

Browse files
committed
[css-text-3] Clarify that white space trimming at the start/end of the line ignores inline box boundaries. <https://lists.w3.org/Archives/Public/www-style/2018Mar/0040.html> Fixes w3c#1997
1 parent 6d48ac0 commit 0cd3a8b

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

css-text-3/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -698,15 +698,18 @@ Languages and Typesetting</h4>
698698

699699
<p>As each line is laid out,</p>
700700
<ol>
701-
<li>A sequence of collapsible spaces at the beginning of a line is
702-
removed.
701+
<li>A sequence of collapsible spaces at the beginning of a line
702+
(ignoring any intervening <a>inline box</a> boundaries)
703+
is removed.
703704
<li>If the tab size is zero, tabs are not rendered.
704705
Otherwise, each tab is rendered as a horizontal shift
705706
that lines up the start edge of the next glyph with the next <a>tab stop</a>.
706707
<dfn lt="tab stop">Tab stops</dfn> occur at points that are multiples of the tab size
707708
from the block's starting content edge.
708709
The tab size is given by the 'tab-size' property.
709-
<li>A sequence of <a>collapsible</a> spaces at the end of a line is removed.
710+
<li>A sequence of <a>collapsible</a> spaces at the end of a line
711+
(ignoring any intervening <a>inline box</a> boundaries)
712+
is removed.
710713
<li>If spaces or tabs at the end of a line are non-collapsible
711714
but have 'white-space' set to ''pre-wrap''
712715
the UA must either <a>hang</a> the <a>white space</a>

css-text-3/issues-lc-2013.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -1396,13 +1396,14 @@ <h1>CSS Text Level 3 Disposition of Comments for 2013-10-10 LCWD</h1>
13961396
<span>From: Xidorn Quan</span>
13971397
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/1990'>https://github.com/w3c/csswg-drafts/issues/1990</a></span>
13981398
<span class="">Open: =WG= Discuss.</span></pre>
1399-
<pre class='open ' id='issue-162'>
1399+
<pre class=' a' id='issue-162'>
14001400
<span>Issue 162. <a href='#issue-162'>#</a></span>
14011401
<span>Summary: Trimming end-of-line spaces through inline boundaries</span>
14021402
<span>From: Koji Ishii</span>
14031403
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/1997'>https://github.com/w3c/csswg-drafts/issues/1997</a></span>
14041404
<span>Response: <a href='https://github.com/w3c/csswg-drafts/issues/1997#issuecomment-370426323'>https://github.com/w3c/csswg-drafts/issues/1997#issuecomment-370426323</a></span>
1405-
<span class="">Open: =WG= Discuss.</span></pre>
1405+
<span class="a">Closed: Accepted</span>
1406+
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2018Mar/0040.html'>https://lists.w3.org/Archives/Public/www-style/2018Mar/0040.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2018Mar/0040.html"><abbr title="Thread">&#x2208;</abbr></a></span></pre>
14061407
<pre class='open ' id='issue-163'>
14071408
<span>Issue 163. <a href='#issue-163'>#</a></span>
14081409
<span>Summary: Simplify behavior of break-spaces, correct note</span>

css-text-3/issues-lc-2013.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,8 @@ Summary: Trimming end-of-line spaces through inline boundaries
13701370
From: Koji Ishii
13711371
Comment: https://github.com/w3c/csswg-drafts/issues/1997
13721372
Response: https://github.com/w3c/csswg-drafts/issues/1997#issuecomment-370426323
1373-
Open: =WG= Discuss.
1373+
Closed: Accepted
1374+
Resolved: https://lists.w3.org/Archives/Public/www-style/2018Mar/0040.html
13741375
----
13751376
Issue 163.
13761377
Summary: Simplify behavior of break-spaces, correct note

0 commit comments

Comments
 (0)