Re: [csswg-drafts] [css-grid-3] Renaming `masonry` keyword (#9733)

I'm surprised I haven't seen more mention of the the first two ideas @renet mentioned. `content` and `flex` both make sense as a keyword for `grid-template-rows`. They explain the behaviour using patterns already established in CSS, no new keywords necessary.  

`grid-template-rows: content` seems perfect. One dimension of each child will always be determined by the content in this layout. It follows the pattern of keywords used for width and height, children behave as if they had both `min-content` and `max-content` set on them. In order to avoid confusion with `content:` (the property) maybe `flow-content` would be a better option for the keyword. 

On a side note, I am partial to `cascade`. It represents the layout well, It's a word anyone using CSS should be very familiar with. 😉 

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


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

Received on Wednesday, 8 May 2024 06:30:59 UTC