Skip to content

Commit f946403

Browse files
authored
[css-text-3] Clarify confusing sentence
2 parents 2a35b9d + bc10c6e commit f946403

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

css-text-3/Overview.bs

+5-4
Original file line numberDiff line numberDiff line change
@@ -1095,10 +1095,11 @@ Text Processing</h3>
10951095
</li>
10961096
</ol>
10971097
</li>
1098-
<li><p>If 'white-space' is set to ''pre'', ''pre-wrap'', or ''break-spaces''
1099-
any sequence of spaces is treated as a sequence of non-breaking spaces.
1100-
However, a <a>soft wrap opportunity</a> exists at the end of the sequence.
1101-
1098+
<li><p>If 'white-space' is set to ''pre'' or ''pre-wrap''
1099+
any sequence of spaces is treated as a sequence of non-breaking spaces;
1100+
however, a <a>soft wrap opportunity</a> exists at the end of the sequence.
1101+
In the case of ''break-spaces'',
1102+
a <a>soft wrap opportunity</a> exists after every space.
11021103
<wpt>
11031104
overflow-wrap/overflow-wrap-break-word-004.html
11041105
overflow-wrap/overflow-wrap-break-word-005.html

css-text-3/test-coverage.html

-8
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,6 @@ <h4 id="phase-i-collapsing-and-transformation"><a href="https://drafts.csswg.org
164164

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

167-
<div class=issue>Issue
168-
<p>Spec problem:
169-
170-
<ul>
171-
<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”.
172-
</ul>
173-
</div>
174-
175167
<h4 id="segment-break-transformation-rules"><a href="https://drafts.csswg.org/css-text-3/#line-break-transform">Segment Break Transformation Rules</a></h4>
176168

177169
<p>Partial coverage.

0 commit comments

Comments
 (0)