Re: [csswg-drafts] Proposal: content-size CSS property (#4229)

It would be nice for the spec to explicitly call out layout modes where the contain: size layout is not empty. The two examples I know of are:
- `<select multiple>`, that lays out as if it had a default number of default height items. My proposal is if content-size is not none, then it should lay out with all of its contents being sized to content-size (not just a single child, which would be the case with the current wording)
- grid layout, which may be sized to something based on various grid parameters. It's unclear whether it's a good idea to pretend we have a child, place it, and size based on that.

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

Received on Tuesday, 3 September 2019 15:17:22 UTC