- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 14:52:45 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-grid-3][Masonry] Auto repeat and other intrinsic track sizes`, and agreed to the following: * `RESOLVED: allow this syntax expansion for both masonry and grid, and come back with implementation experience` <details><summary>The full IRC log of that discussion</summary> <andreubotella> alisonmaher: today we don't allow intrinsic track size next to an autorepeat<br> <andreubotella> .. now we're considering intrinsic autorepeats, now we want ...<br> <andreubotella> .. do we want to allow intrinsically sized tracks next to autorepeats?<br> <andreubotella> .. at first i thought it seemed reasonable, but if you start mixing intrinsicly sized tracks, it gets more complex<br> <andreubotella> astearns: are you saying masonry and grid should be consistent in this case?<br> <andreubotella> alisonmaher: yes<br> <TabAtkins> q+<br> <astearns> zakim, open queue<br> <Zakim> ok, astearns, the speaker queue is open<br> <andreubotella> TabAtkins: the implication of the speak is, we should be able to mix different intrinsic keywords in autorepeat<br> <andreubotella> .. we resolve by expanding all autorepeats once, do one quick layout that way, and we use that to determine how many repeats<br> <andreubotella> alisonmaher: maybe that wouldn't be bad<br> <andreubotella> TabAtkins: the old model, you only had one autorepeat, but with multiple it wouldn't be more complex<br> <andreubotella> .. the grid ones, trying to come up with a definition for what intrinsics do in repeat in grid is hard<br> <andreubotella> .. i don't know what to do with that<br> <astearns> ack fantasai<br> <andreubotella> fantasai: the masonry heuristics you have only makes sense if you repeat an auto track listing<br> <andreubotella> .. cause you had your spanning heuristic<br> <TabAtkins> s/an auto track/a single intrinsic track/<br> <andreubotella> fantasai: I don't feel very strongly about this, it's fine if we want to start with something more restrictive and expand later<br> <andreubotella> TabAtkins: I think for masonry there's no reason to have a syntax restriction<br> <andreubotella> .. whatever we had to do for grid to allow intrinsic sizes in autorepeat, we need to make sure it is consistent considering how we handle intrinsic sizes outside of autorepeat in grid<br> <andreubotella> fantasai: A typical case, you have a container with 200px, maybe you have intrinsic tracks, and you subtract that space, and figure out the numbre of intrinsic tracks<br> <andreubotella> .. if you have auto track outside of that range, how do you calculate the size of that track?<br> <andreubotella> .. if we have a count, we're making an assumption<br> <andreubotella> .. if you were creating a layout with one auto size track, and a repeat with auto sized tracks, this auto sized track in the end might not necesarily influence the others<br> <andreubotella> .. it seems a bit complicated<br> <andreubotella> TabAtkins: since this is for determining how many repetitions, and eventual layout doesn't pay attention to this<br> <andreubotella> .. and this whole thing is invalid in grid right now, so we're not compat constrained<br> <andreubotella> .. i'm fine with using the same behavior for intrinsic keywords inside or outside the autorepeat<br> <andreubotella> fantasai: I think in general, autorepeat with auto will give weird repeats if you have tracks outside of the repeater<br> <andreubotella> .. because the items in those tracks will influence the size but will not participate<br> <andreubotella> TabAtkins: in masonry there's no guarantee the items will cross between the specified and autorepeat tracks<br> <andreubotella> .. if you want to guarantee you have at least 3, you spell it auto auto, or autorepeat auto<br> <andreubotella> fantasai: we could also restrict the placement of items in some tracks but not others<br> <andreubotella> .. those items would not necessarily need to contribute to the stack of this range of columns<br> <andreubotella> .. assuming we had that feature, would we want it to work that way?<br> <andreubotella> TabAtkins: right now we force them into pretending to be autoplaced<br> <andreubotella> .. but that doesn't have to be the case forever<br> <andreubotella> fantasai: happy to defer to alison<br> <andreubotella> alisonmaher: convinced it's fairly doable<br> <andreubotella> .. and would be weird not autorepeat autofill auto<br> <TabAtkins> (use-case, if you want at least three auto tracks, could spell that `grid-template-columns: auto auto repeat(auto-fill, auto);`<br> <TabAtkins> )<br> <andreubotella> astearns: are we considering allowing this for both masonry and grid?<br> <fantasai> Didn't we take a resolution to have min/max repetition values? I vaguely remember discussing that... we should fish around and check<br> <andreubotella> TabAtkins: under the proposed behavior change for grid where we do allow intrinsic track sizing, yes<br> <andreubotella> .. everything we're adding now is invalid for grid right now<br> <andreubotella> fantasai: I'm somewhat inclined to not increase that syntax space right now<br> <andreubotella> .. to reduce the work needed for an initial implementation<br> <andreubotella> .. I don't have an objection, just worried about increasing the amount of work<br> <andreubotella> PROPOSED RESOLUTION: allow this syntax expansion for both masonry and grid, and come back with implementation experience<br> <andreubotella> fantasai: we could mark it at risk<br> <andreubotella> astearns: I prefer not marking it at risk until implementation experience says we should<br> <andreubotella> fantasai: marking things at risk means this is an area we might not get to<br> <andreubotella> .. if we have impl experience that says no, we remove it from the spec<br> <andreubotella> astearns: fair enough<br> <andreubotella> PROPOSED RESOLUTION: allow this syntax expansion for both masonry and grid with an at risk marker<br> <andreubotella> astearns: any objections?<br> <andreubotella> RESOLVED: allow this syntax expansion for both masonry and grid, and come back with implementation experience<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12580#issuecomment-3201090594 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 August 2025 14:52:46 UTC