- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Thu, 29 Jan 2026 22:16:46 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-grid-3][masonry] Handling negative margins and dense packing for baseline calculation in the masonry axis`, and agreed to the following: * `RESOLVED: Negative margins don't affect ordering for purpose of baseline determination; but dense packing does.` <details><summary>The full IRC log of that discussion</summary> <sgill> yanling: this is follow up on baseline alignment<br> <sgill> when items shift or overlap due to dense packing or negative margins how we determine what item is first or last in track?<br> <sgill> order they were placed or original positions?<br> <sgill> tab suggested placement rules<br> <sgill> makes sense and keeps things predictable<br> <sgill> in example 3 of description<br> <sgill> item 5 has negative margin top and w/o dense packing item 2 would serve as candidate but w/ dense packing it is repositioned<br> <sgill> in that case we would still treat item 5 as the candidate<br> <astearns> ack fantasai<br> <sgill> fantasai: def negative margins and such should not affect just like we do in multicol and elsewhere<br> <sgill> not sure about dense packing<br> <sgill> TabAtkins: treat as same as grid<br> <fantasai> PROPOSED: Negative margins don't affect ordering for purpose of baseline determination; but dense packing does.<br> <TabAtkins> TabAtkins: if dense packing puts an item first in a track (because a spanner left that space open), then that item *is* first in its track and can influence baseline of the container<br> <fantasai> RESOLVED: Negative margins don't affect ordering for purpose of baseline determination; but dense packing does.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13165#issuecomment-3820715999 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 January 2026 22:16:47 UTC