Re: [csswg-drafts] [css-inline-3] inline boxes and line-fit-edge vs text-box-trim/edge (#10834)

The CSS Working Group just discussed `[css-inline-3] inline boxes and line-fit-edge vs text-box-trim/edge`, and agreed to the following:

* `RESOLVED: text-box-trim trims inline to the text-box-edge; otherwise use the line-fit-edge; both for sizing and for painting`

<details><summary>The full IRC log of that discussion</summary>
&lt;matthieud> fantasai:  we split property into 2<br>
&lt;matthieud> fantasai:  one detail we should clarify : when you paint an inline box what edge to you use to paint the box<br>
&lt;matthieud> fantasai: when text-box-trim is on, we should use the edge to paint the background<br>
&lt;matthieud> fantasai: what edge do we use to size the text ?<br>
&lt;matthieud> fantasai: do we use the painted edge ? or we still size it against the line-fit-edge ?<br>
&lt;matthieud> fantasai: if text-box-trim is off, and we have border/background, what edge to we draw them ? (line-fit or text edges)<br>
&lt;matthieud> fantasai:  in the new line box model, we want to use the visible edges of the box to show the contribution of the box<br>
&lt;matthieud> fantasai: to be consistent, text-box-edge should trim an inline box according to text-box-trim. if not, the edge use for drawing and sizing is the edge specified by line-fit-edge<br>
&lt;matthieud> fantasai: otherwise that creates inconsistency between box used for sizing and box used for background<br>
&lt;Rossen16> q?<br>
&lt;fantasai> PROPOSED: text-box-trim trims inline to the text-box-edge; otherwise use the line-fit-edge; both for sizing and for painting<br>
&lt;fantasai> (except when line-fit-edge is normal and we do the weird old thing)<br>
&lt;fantasai> RESOLVED: text-box-trim trims inline to the text-box-edge; otherwise use the line-fit-edge; both for sizing and for painting<br>
&lt;florian> seems fine<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10834#issuecomment-2417402713 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 16 October 2024 16:56:59 UTC