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

Re: [csswg-drafts] [css-flexbox][css-grid] Choose a single option for resolving padding and margin percent values of grid/flex items

From: Andrew via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Jan 2018 04:02:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-361817060-1517371351-sysbot+gh@w3.org>
Just in case, about the ratio problem...

In Sciter I've introduced width and height **functions**.

height: width(75%);
line-height: height(100%);
width: height(50%)
benefits are clear I think: no need for special units - the feature can be added without changing existing grammar definitions and parsers.


GitHub Notification of comment by c-smile
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2085#issuecomment-361817060 using your GitHub account
Received on Wednesday, 31 January 2018 04:02:56 UTC

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