Skip to content

Commit a3362ea

Browse files
committed
[css-inline-3] Define how text-box-trim applies to multicol containers. #5335
1 parent 47635a7 commit a3362ea

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

css-inline-3/Overview.bs

+9-2
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,7 @@ Trimming Over/Under Text: the 'text-box-trim' property</h3>
14051405
to match the specified 'text-box-edge' metric.
14061406

14071407
On [=block containers=],
1408+
as well as on each column of a [=multi-column container=],
14081409
specifies whether to trim [=half-leading=]
14091410
at the start/end of its content
14101411
to the specified 'text-box-edge' metric
@@ -1425,7 +1426,7 @@ Trimming Over/Under Text: the 'text-box-trim' property</h3>
14251426

14261427
<dt><dfn>trim-start</dfn>
14271428
<dd>
1428-
For [=block containers=]:
1429+
For [=block containers=] and [=column boxes=]:
14291430
trim the [=block-start=] side of the <a>first formatted line</a>
14301431
to the specified metric of its [=root inline box=].
14311432
If there is no such line,
@@ -1438,7 +1439,7 @@ Trimming Over/Under Text: the 'text-box-trim' property</h3>
14381439

14391440
<dt><dfn>trim-end</dfn>
14401441
<dd>
1441-
For [=block containers=]:
1442+
For [=block containers=] and [=column boxes=]:
14421443
trim the [=block-end=] side of the last formatted line
14431444
to the specified metric of its [=root inline box=].
14441445
If there is no such line,
@@ -3050,6 +3051,12 @@ A.3: Synthesizing Baselines for Atomic Inlines</h3>
30503051
<h2 class="no-num" id="changes">
30513052
Changes</h2>
30523053

3054+
Changes since the <a href="https://www.w3.org/TR/2024/WD-css-inline-3-20240812/">12 August 2024 Working Draft</a>:
3055+
<ul>
3056+
<li>Defined behavior of 'text-box-trim' on [=multi-column containers=].
3057+
(<a href="https://github.com/w3c/csswg-drafts/issues/5335">Issue 5335</a>)
3058+
</ul>
3059+
30533060
Changes since the
30543061
<a href="https://www.w3.org/TR/2024/WD-css-inline-3-20240808/">8 August 2024 Working Draft</a>:
30553062
<ul>

0 commit comments

Comments
 (0)