W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-sizing-4] aspect-ratio min-content size with % width (#5549)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Sep 2020 19:15:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-701590391-1601493339-sysbot+gh@w3.org>
As in #5537, it would help a lot if I could understand what the desired behavior here was, and why. Right now I'm just looking at a series of testcases showing various behaviors, with no explanation of what's expected or desired and why.

It *looks like* @dvoytenko is trying to use these properties to make an element act like a replaced element. Is this right? If so, why?

It is def the case that c-i-s shouldn't have any relevance here; the behavior you get from contain:size and c-i-s *should* be identical to the behavior you get from a normal element with enough content to produce the same size. So this is purely a question about aspect-ratio.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 September 2020 19:15:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:17 UTC