Skip to content

Commit 62c7e06

Browse files
committed
[css-inline-3] Define text-box-trim at fragmentation breaks. w3c#5335
1 parent 3b15a48 commit 62c7e06

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css-inline-3/Overview.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,15 @@ Trimming Over/Under Text: the 'text-box-trim' property</h3>
14761476

14771477
ISSUE(11363): What happens if the column is split by a spanner?
14781478

1479+
When the box to which 'text-box-trim' has been applied
1480+
is split by [=fragmentation=] [[!CSS-BREAK-3]],
1481+
whether trimming is applied per fragment
1482+
or only to the start/end edges of its first/last fragments
1483+
is determined by 'box-decoration-break'.
1484+
1485+
If, when printing, trimming a [=line box=] would cause its content to be clipped,
1486+
the UA may ignore 'text-box-trim' on that edge of that [=line box=].
1487+
14791488
<h3 id="text-box-edge">
14801489
Text Trimming Metrics: the 'text-box-edge' property</h3>
14811490

@@ -3069,6 +3078,8 @@ Changes</h2>
30693078
<li>Made 'text-box-edge' inherit; 'text-box-trim' references
30703079
the relevant value applied to the affected line box(es).
30713080
(<a href="https://github.com/w3c/csswg-drafts/issues/10904">Issue 10904</a>)
3081+
<li>Defined behavior of 'text-box-trim' at [=fragmentation=] breaks.
3082+
(<a href="https://github.com/w3c/csswg-drafts/issues/5335">Issue 5335</a>)
30723083
<li>Defined behavior of 'text-box-trim' on [=multi-column containers=],
30733084
and clarified its application to (and through) other formatting contexts.
30743085
(<a href="https://github.com/w3c/csswg-drafts/issues/5335">Issue 5335</a>,

0 commit comments

Comments
 (0)