Skip to content

Commit 1839d5c

Browse files
committed
Disambiguate line breaks around atomic inlines at element boundaries
Fixes #9964
1 parent a1e53bb commit 1839d5c

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

css-text-3/Overview.bs

+22-1
Original file line numberDiff line numberDiff line change
@@ -3486,7 +3486,7 @@ Line Breaking Details</h3>
34863486
that disappear at the line break (e.g. U+0020 SPACE),
34873487
properties on the box directly containing that character
34883488
control the line breaking at that opportunity.
3489-
For [=soft wrap opportunities=] defined by the boundary between two characters,
3489+
For [=soft wrap opportunities=] defined by the boundary between two characters or [=atomic inlines=],
34903490
the 'white-space' property
34913491
on the nearest common ancestor of the two characters
34923492
controls breaking;
@@ -3512,6 +3512,10 @@ Line Breaking Details</h3>
35123512
word-break/word-break-break-all-inline-004.tentative.html
35133513
word-break/word-break-break-all-inline-007.tentative.html
35143514
word-break/word-break-break-all-inline-010.tentative.html
3515+
3516+
line-breaking/line-breaking-030.html
3517+
line-breaking/line-breaking-031.html
3518+
line-breaking/line-breaking-032.html
35153519
</wpt>
35163520

35173521
<li>
@@ -8477,6 +8481,23 @@ Recent Changes</h3>
84778481
<wpt title="This is an authoring requirement, tests not needed">
84788482
</wpt>
84798483

8484+
* Disambiguate soft wrap opportunities around replaced elements.
8485+
(<a href="https://github.com/w3c/csswg-drafts/issues/9964">Issue 9964</a>)
8486+
8487+
<blockquote>
8488+
For [=soft wrap opportunities=] defined by the boundary between two characters<ins> or [=atomic inlines=]</ins>,
8489+
the 'white-space' property
8490+
on the nearest common ancestor of the two characters
8491+
controls breaking;
8492+
</blockquote>
8493+
8494+
<wpt>
8495+
line-breaking/line-breaking-030.html
8496+
line-breaking/line-breaking-031.html
8497+
line-breaking/line-breaking-032.html
8498+
</wpt>
8499+
8500+
84808501
In addition there have been some minor editorial fixes.
84818502

84828503
<h3 class="no-num" id="old-changes">

css-text-4/Overview.bs

+7-1
Original file line numberDiff line numberDiff line change
@@ -5834,7 +5834,7 @@ Line Breaking Details</h3>
58345834
that disappear at the line break (e.g. U+0020 SPACE),
58355835
properties on the box directly containing that character
58365836
control the line breaking at that opportunity.
5837-
For [=soft wrap opportunities=] defined by the boundary between two characters,
5837+
For [=soft wrap opportunities=] defined by the boundary between two characters or [=atomic inlines=],
58385838
the 'white-space' property
58395839
on the nearest common ancestor of the two characters
58405840
controls breaking;
@@ -5860,6 +5860,10 @@ Line Breaking Details</h3>
58605860
word-break/word-break-break-all-inline-004.tentative.html
58615861
word-break/word-break-break-all-inline-007.tentative.html
58625862
word-break/word-break-break-all-inline-010.tentative.html
5863+
5864+
line-breaking/line-breaking-030.html
5865+
line-breaking/line-breaking-031.html
5866+
line-breaking/line-breaking-032.html
58635867
</wpt>
58645868

58655869
<li>
@@ -13151,6 +13155,8 @@ Changes</h2>
1315113155
* Loosened requirement about not changing lines for ''text-wrap-style: balance''
1315213156
for cases with large numbers of lines.
1315313157
(<a href="https://github.com/w3c/csswg-drafts/issues/10186">Issue 10186</a>)
13158+
* Disambiguate soft wrap opportunities around replaced elements.
13159+
(<a href="https://github.com/w3c/csswg-drafts/issues/9964">Issue 9964</a>)
1315413160
1315513161
Significant changes since the <a href="https://www.w3.org/TR/2023/WD-css-text-4-20231020/">20 October 2023 Working Draft</a> include:
1315613162
* Restored accidentally deleted “and each line after a [=forced line break=]”

0 commit comments

Comments
 (0)