Skip to content

Commit e45ae81

Browse files
committed
[css-inline-3] Use innermost trim when multiple apply w3c#5426
1 parent 7869dc6 commit e45ae81

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-inline-3/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,10 @@ Trimming Over/Under Text: the 'text-box-trim' property</h3>
14631463
Note: The [=block-end=] side does not coincide with the [=line-under=] side
14641464
when 'writing-mode' is ''vertical-lr''.
14651465

1466+
If multiple ancestors specify trimming on the same [=line box=],
1467+
the metric used is that of the innermost [=block container=]
1468+
that requests trimming on that side of the [=line box=].
1469+
14661470
Note: Content and ink overflowing a box
14671471
due to non-initial values of 'text-box-trim'
14681472
is handled the same as content that would overflow the box or line box otherwise.
@@ -3059,6 +3063,9 @@ Changes</h2>
30593063
and 'line-fit-edge' for controlling line box sizing.
30603064
(Issues <a href="https://github.com/w3c/csswg-drafts/issues/8829">8829</a>
30613065
and <a href="https://github.com/w3c/csswg-drafts/issues/8696">8696</a>)
3066+
<li>Use the innermost trim edge for 'text-box-trim'
3067+
when multiple ancestors request trimming.
3068+
(<a href="https://github.com/w3c/csswg-drafts/issues/5426">Issue 5426</a>)
30623069
<li>Apply negative [=block-axis=] margins to descendants of [=inline boxes=]
30633070
when calculating their [=layout bounds=]
30643071
so that they can actually have the specified effect.

0 commit comments

Comments
 (0)