W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

Re: [csswg-drafts] [css-sizing] Percentage sizing section is kind of vague

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 Jan 2018 00:37:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-358829583-1516322255-sysbot+gh@w3.org>
OK, so, afaict: width/min-width/max-width values containing a percentage are treated as the property's initial value for the purpose of calculating the min/max-size contributions. Afterwards, they resolve. E.g. in `width (or min/max-width): calc(300px + 40%)` we ignore the 300px as well as the percentage while calculating its size contribution.

This needs edits and testcases.

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1132#issuecomment-358829583 using your GitHub account
Received on Friday, 19 January 2018 00:37:38 UTC

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