From 8c2f0a135d61b2270e8eb6525676a4f711fbfb79 Mon Sep 17 00:00:00 2001 From: fantasai Date: Fri, 13 Dec 2024 00:58:23 -0500 Subject: [PATCH] [css-inline-3] Make text-box-edge non-inherited --- css-inline-3/Overview.bs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/css-inline-3/Overview.bs b/css-inline-3/Overview.bs index 9c3ce548667..288b9bfc81a 100644 --- a/css-inline-3/Overview.bs +++ b/css-inline-3/Overview.bs @@ -1407,9 +1407,11 @@ Trimming Over/Under Text: the 'text-box-trim' property On [=block containers=], as well as on each column of a [=multi-column container=], specifies whether to trim [=half-leading=] - at the start/end of its content - to the specified 'text-box-edge' metric - to better match the box’s [=content edge=] to its text content. + at the start/end of the box's content + to better match its [=content edge=] to its text content. + The trimming edge in this case + is specified by the start/end 'text-box-edge' value + of the affected [=line box=]’s [=containing block=]. Values have the following meanings: @@ -1486,7 +1488,7 @@ Text Trimming Metrics: the 'text-box-edge' property Value: auto | <> Initial: auto Applies to: [=block containers=] and [=inline boxes=] - Inherited: no + Inherited: yes Percentages: N/A Computed value: the specified keyword Animation type: discrete @@ -1495,7 +1497,7 @@ Text Trimming Metrics: the 'text-box-edge' property This property specifies the metrics to use for 'text-box-trim' effects. Values have the same meanings as for 'line-fit-edge'; the auto keyword - uses the value of 'line-fit-edge' on the [=root inline box=] of the the affected [=line box=], + uses the value of 'line-fit-edge', interpreting ''line-fit-edge/leading'' (the [=initial value=]) as ''line-fit-edge/text''. Note: This property can be set together with 'text-box-trim' @@ -3064,6 +3066,9 @@ Changes Changes since the 12 August 2024 Working Draft: