- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Jul 2020 17:09:06 +0000
- To: public-css-archive@w3.org
@fantasai @tabatkins > But if we place the float into a large container, it takes its max-content size, which would be 300px. This is not what an author would expect: they would expect the float to be its aspect-ratio-constrained width (floored by the min-content width if necessary), but no larger than that. So the difference with "Option 2" is that we aren't actually using STF sizing in the float case. If we have a `width: auto`, with an aspect-ratio, and a definite height, STF doesn't apply. I.e. 1) `width: auto` (which wouldn't be STF as it has an aspect ratio with a definite height) would resolve to `100px`. 2) `min-width: auto` would be `150px` (applying the minimum automatic size rule). Thoughts? -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5032#issuecomment-655644637 using your GitHub account
Received on Wednesday, 8 July 2020 17:09:08 UTC