Skip to content

Commit c9f05b5

Browse files
committed
[css-text-3] Clarify confusing sentence
1 parent 3723e63 commit c9f05b5

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

css-text-3/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,10 @@ Characters and Letters</h3>
10211021
</li>
10221022
<li><p>If 'white-space' is set to ''pre'', ''pre-wrap'', or ''break-spaces''
10231023
any sequence of spaces is treated as a sequence of non-breaking spaces.
1024-
However, a <a>soft wrap opportunity</a> exists at the end of the sequence.
1024+
However, a <a>soft wrap opportunity</a> exists at the end of the sequence
1025+
in the case of ''pre-wrap'' and ''break-spaces'',
1026+
as well as between every space of the sequence
1027+
in the case of ''break-spaces''.
10251028

10261029
<wpt>
10271030
overflow-wrap/overflow-wrap-break-word-004.html

css-text-3/test-coverage.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,6 @@ <h4 id="phase-i-collapsing-and-transformation"><a href="https://drafts.csswg.org
163163

164164
<p>Sufficient coverage. All parts of this section are well exercised.
165165

166-
<div class=issue>Issue
167-
<p>Spec problem:
168-
169-
<ul>
170-
<li>“If white-space is set to pre, pre-wrap, or break-spaces any sequence of spaces is treated as a sequence of non-breaking spaces. However, a soft wrap opportunity exists at the end of the sequence.” =&gt; Second sentence weird. That’t not true for “pre”, and only partially true for “break-spaces”.
171-
</ul>
172-
</div>
173-
174166
<h4 id="segment-break-transformation-rules"><a href="https://drafts.csswg.org/css-text-3/#line-break-transform">Segment Break Transformation Rules</a></h4>
175167

176168
<p>Partial coverage.

0 commit comments

Comments
 (0)