Re: [csswg-drafts] [css-inline] Is `text-box-edge` inherited or not? (#10904)

The CSS Working Group just discussed ``[css-inline] Is `text-box-edge` inherited or not?``, and agreed to the following:

* `RESOLVED: make property text-box-edge inherited`

<details><summary>The full IRC log of that discussion</summary>
&lt;matthieud> fantasai:  this is about inheritance of text-box-edge<br>
&lt;matthieud> fantasai:  we split the text-box-edge into 2 properties<br>
&lt;matthieud> fantasai:  koji thinks both properties should inherited (currently one does not the other)<br>
&lt;matthieud> fantasai:  various scenarios seem to indicate that inheritance makes more sense for jen<br>
&lt;matthieud> fantasai: the proposal is to make text-box-edge inherit<br>
&lt;matthieud> fantasai: when triming, we use the value of text-box-edge on the containing block of the line box affected<br>
&lt;kizu> q+<br>
&lt;matthieud> fantasai:  if you set text-box-trim on an article and heading says trim to ???, then you will trim the top of the first line to ???, and the bottom of last line to ideographic<br>
&lt;fantasai> s/trim to ???/trim to ex/<br>
&lt;matthieud> kizu:  I have some concerns<br>
&lt;fantasai> s/line to ???/line to ex/<br>
&lt;matthieud> kizu:  being inherited makes it very powerful<br>
&lt;matthieud> kizu: it could break some content inside (cf STP)<br>
&lt;matthieud> kizu:  we will need to provide at least some author guidance to set it on the smallest element possible, otherwise component inside will be trimmed<br>
&lt;Rossen16> ack kizu<br>
&lt;matthieud> fantasai: no text-box-trim will NOT be inherited, only text-box-edge<br>
&lt;matthieud> fantasai:  this change would allow : the box closest to the line box would have the priority about what edge to trim to<br>
&lt;matthieud> fantasai: if you have text with mixed writing mode, this change allow the closest box to the text to decide the edge which is appropriate<br>
&lt;matthieud> kizu: makes sense<br>
&lt;florian> q+<br>
&lt;matthieud> kizu: I dont see any issue if text-box-trim stays non inherited<br>
&lt;Rossen16> ack florian<br>
&lt;matthieud> florian: makes sense to me<br>
&lt;matthieud> florian:  particularly about block boxes<br>
&lt;matthieud> florian:  because text-box-trim also applies to inline, how it works there ?<br>
&lt;matthieud> fantasai:  text-box-edge previously also changes the way line calculation is done, but it has been moved to line-box-edge<br>
&lt;matthieud> fantasai:  text-box-edge has no effect on an inline of any other box, except if this box has text-box-trim also<br>
&lt;matthieud> florian: makes sense that it doesnt apply, but what happens when it applies ? the inline would use the value of text-box-edge itself, not the container ?<br>
&lt;matthieud> fantasai: yes<br>
&lt;matthieud> florian: I support the proposal<br>
&lt;matthieud> RESOLVED: make property text-box-edge inherited<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10904#issuecomment-2417297683 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:15:04 UTC