- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 02 Aug 2022 14:31:18 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Clarify contain-intrinsic-size with multicol/grid`, and agreed to the following: * `RESOLVED: Clarify that setting c-i-s to a size overrides the content size, even if there is other sizing info such as grid column widths` <details><summary>The full IRC log of that discussion</summary> <fantasai> Subtopic: Clarify contain-intrinsic-size with multicol/grid<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/7520<br> <fantasai> oriol: spec defines c-i-s as setting the intrinsic inner size<br> <fantasai> oriol: then it says that this causes the box to size as if its in-flow contents ...<br> <fantasai> oriol: but what exactly are its in-flow contents?<br> <fantasai> oriol: multicol container or grid container<br> <fantasai> oriol: in a multicol container, the size, it sets the width of the box<br> <fantasai> oriol: but if you have columns or tracks, the total width of the column/container will be bigger than that<br> <fantasai> oriol: in ?? it's the opposite,<br> <fantasai> oriol: but here, c-i-s, was setting the content size of the grid<br> <vmpstr> s/??/grid/<br> <fantasai> oriol: ...<br> <fantasai> oriol: I don't think it's completely clear, and I want to have a resolution on this<br> <iank_> our multi-col intrinsic sizing isn't particularly good in this respect.<br> <fantasai> TabAtkins: the Grid behavior is correct. Multicol is wrong<br> <fantasai> TabAtkins: we didn't think about multicol when writing this, but thought about grid, and ignoring the grid stuff is the intended behavior<br> <fantasai> TabAtkins: multicol should be fixed, and get a clarification in the spec to make extra clear<br> <fantasai> oriol: if you specify c-i-s: none and then in grid it may become greater than zero<br> <fantasai> oriol: if you have .e.g. fixed tracks<br> <fantasai> oriol: but if you specify c-i-s: zero<br> <fantasai> oriol: then it will override grid template properties?<br> <fantasai> TabAtkins: correct<br> <fantasai> TabAtkins: If no setting the size, you pretend no children, but grid is still there<br> <fantasai> TabAtkins: but if set a size, you get that size<br> <fantasai> fantasai: what's the behavior with multicol?<br> <fantasai> TabAtkins: if you set c-i-s to a length, you get that size, not size of columns<br> <fantasai> fantasai: columns are usually less fixed-size than fixed-size columns anyway<br> <fantasai> Rossen_: is that the only clarification we need?<br> <fantasai> TabAtkins: this isn't a clarification for multicol specification, just make clear that things such as multicol or grid don't do anything special, size just gets overridden<br> <fantasai> Rossen_: what's the proposed resolution?<br> <fantasai> TabAtkins: clarify spec that layout systems that can have sizing effects even with empty children don't matter, c-i-s overrides all of that and sets a particular content size<br> <fantasai> RESOLVED: Clarify that setting c-i-s to a size overrides the content size, even if there is other sizing info such as grid column widths<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7520#issuecomment-1202700898 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 2 August 2022 14:31:20 UTC