W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [CSS-grid-3][masonry][dense] Clarify masonry justify-tracks behaviour when a hanging span-ed element affects the track in dense mode (#5902)

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Jan 2021 14:14:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-769081977-1611843274-sysbot+gh@w3.org>
Masonry layout doesn't have an exclusion model to prevent items from overlapping when applying alignment in the masonry axis (`justify-tracks`/`align-tracks`). Each track aligns the items that starts in it. It doesn't take items that starts in other tracks and span into its track into account at all. (The spec warns that it's easy to make spanning items overlap and advice against using alignment in the masonry axis in this case.)

> honour hanging elements as well during justifying.

I guess this issue is a feature request to spec an exclusion model for the alignment that would avoid causing spanning items to overlap.

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5902#issuecomment-769081977 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 January 2021 14:14:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC