Skip to content

Commit 64abcd2

Browse files
committed
[css-text-4] Loosen requirement about balancing not affecting the line count w3c#10186
1 parent 8998f97 commit 64abcd2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css-text-4/Overview.bs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5530,10 +5530,15 @@ Selecting How to Wrap: the 'text-wrap-style' property</h3>
55305530
Line breaks are chosen to balance
55315531
the remaining (empty) space in each line box,
55325532
if better balance than ''text-wrap-style/auto'' is possible.
5533-
This must not change the number of line boxes
5533+
This should avoid changing--
5534+
and in the case of 5 or fewer lines must not change--
5535+
the number of line boxes
55345536
the block would contain
55355537
if 'text-wrap' were set to ''text-wrap-style/auto''.
55365538

5539+
Note: The height of the line boxes may nevertheless change,
5540+
due to changes in which content appears together on one line.
5541+
55375542
<wpt>
55385543
white-space/text-wrap-balance-001.html
55395544
white-space/text-wrap-balance-002.html
@@ -13115,6 +13120,9 @@ Changes</h2>
1311513120
Significant changes since the <a href="https://www.w3.org/TR/2024/WD-css-text-4-20240219/">19 February 2024 Working Draft</a> include:
1311613121
* Renamed the 'text-spacing-trim' value <css>trim-auto</css> to ''trim-both''.
1311713122
(<a href="https://github.com/w3c/csswg-drafts/issues/10161">Issue 10161</a>)
13123+
* Loosened requirement about not changing lines for ''text-wrap-style: balance''
13124+
for cases with large numbers of lines.
13125+
(<a href="https://github.com/w3c/csswg-drafts/issues/10186">Issue 10186</a>)
1311813126
1311913127
Significant changes since the <a href="https://www.w3.org/TR/2023/WD-css-text-4-20231020/">20 October 2023 Working Draft</a> include:
1312013128
* Restored accidentally deleted “and each line after a [=forced line break=]”

0 commit comments

Comments
 (0)