Re: [csswg-drafts] [css-multicol] What is the max-content width of a muticol container with only column-width:<length> (#9103)

Been poking around some more at this, just to clarify:

With a:

- `column-width: <length>`
- `column-count: auto`
- `inline-size: max-content` on the multicol container

Firefox makes the max-content size the width of one column, and puts all content into that one column.

Chrome and WebKit make the max-content size the size it would be if we do inline-size: max-content in block layout. Then put the content into as many columns in as will fit.

I think Firefox is doing what the removed text says though not sure if that's what people would expect of a max-content multicol container.

Adding to the agenda to ask the following questions:

1. Should this be defined in Sizing or in Multicol (level 2 at this point)? The current multicol L1 spec states that another spec is expected to define it.
2. What behavior do we want when a multicol container has an inline-size of `max-content`?

Browsers do seem to be interoperable with `inline-size: max-content` and a `column-count: <integer>`. Example of both here: https://codepen.io/rachelandrew/pen/dyadbaL

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


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

Received on Tuesday, 21 November 2023 09:37:59 UTC