Re: [csswg-drafts] [css-box-4] Applying `margin-trim` to fragmentation containers (#10761)

The CSS Working Group just discussed ``[css-box-4] Applying `margin-trim` to fragmentation containers``.

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> dholbert: it's observable wrt what fits in the column, and if the multicol box itself is auto-height<br>
&lt;florian> q+<br>
&lt;andreubotella> fantasai: Jen and I think it makes sense if an author applies margin-trim to a multicolumn container, that it should apply to both the top and bottom<br>
&lt;fantasai> of the column box<br>
&lt;andreubotella> bfgeek: For grid and flex I don't think it's a problem. For block layout, we have the same problem as before: start is fine, end is even more complex than text-box-trim<br>
&lt;andreubotella> When you're processing an element, you fundamentally don't know the end margin of it<br>
&lt;fantasai> andreubotella: for line-clamp: auto I'm keeping track of the bottom margins in order to subtract relevant sizes when computing block size<br>
&lt;fantasai> andreubotella: that's currently implemented in Blink, but only when you have line-clamp<br>
&lt;fantasai> andreubotella: idk if it could be useful for this<br>
&lt;astearns> ack florian<br>
&lt;andreubotella> florian: in terms of use cases, this is important to consider, because trimming the margins at the start of all columns is something authors may want<br>
&lt;fantasai> https://www.w3.org/TR/css-break-4/#break-margins<br>
&lt;andreubotella> ... this exists in AntennaHouse, which means there's demand for it<br>
&lt;andreubotella> fantasai: we have that spec'd on the ... property. If it says keep, you keep it regardless of margin-trim<br>
&lt;fantasai> s/.../margin-break/<br>
&lt;andreubotella> bfgeek: I'm oscillating between "it's actually easier" and "it's harder". I'd like to talk to Morten about it<br>
&lt;andreubotella> we could resolve that it only applies to block layout<br>
&lt;andreubotella> that might be something to make forward progress<br>
&lt;andreubotella> PROPOSED: margin-trim only applies to a multicolumn container by trimming block-level margins at the top and bottom of each column box<br>
&lt;andreubotella> florian: Is this only multicolumn? Pages printed side-by-side have the same demands<br>
&lt;andreubotella> fantasai: What are you setting it on then?<br>
&lt;andreubotella> florian: The root?<br>
&lt;andreubotella> fantasai: They're both kind of similar, I'd like to resolve on this one sooner than later<br>
&lt;andreubotella> bfgeek: I'll meet with Morten next week and chat with him abotu this<br>
&lt;andreubotella> astearns: If we have not come back to this by TPAC, I'll make sure it's on the agenda then<br>
&lt;iank_> ive got to drop now soryr.<br>
</details>


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


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

Received on Wednesday, 4 September 2024 23:41:15 UTC