W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

Re: [csswg-drafts] [css-grid] Do all percentages behave as auto when computing minimum contribution? (#3612)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Sat, 02 Nov 2019 22:59:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-549088666-1572735552-sysbot+gh@w3.org>
@MatsPalmgren I discussed this with @fantasai and @FremyCompany, and seemingly it can only be said that a value behaves as auto when specifying auto instead of that value would have no effect. In this case, a percentage is equivalent to auto while resolving the intrinsic track sizes, but once we know the size of the grid area, the percentage is no longer treated as auto. So the percentage doesn't behave as auto.

Therefore, we considered saying "contains a percentage", but this wouldn't cover things like a future `stretch`. So we decided for "depends on the size of its containing block".

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3612#issuecomment-549088666 using your GitHub account
Received on Saturday, 2 November 2019 22:59:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC