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

[csswg-drafts] [css-sizing] Golden Ratio keyword in 'aspect-ratio' (#5320)

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Jul 2020 05:57:17 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-656348609-1594706236-sysbot+gh@w3.org>
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing] Golden Ratio keyword in 'aspect-ratio'  ==
Since [`<ratio>`](https://drafts.csswg.org/css-values-4/#ratio-value) includes `<number>` now #3757, authors can use irrational values in [`'aspect-ratio'`](https://drafts.csswg.org/css-sizing-4/#ratios), e. g. `calc((1 + sqrt(5)) / 2)` yielding the Golden Ratio of c. 1.618. *If* `phi` was not accepted to be added as a predefined numeric constant #4702, it would be useful to have it available as a classic keyword, e.g. `golden` or `golden-ratio`, in this property for the reasons provided in that issue already. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5320 using your GitHub account
Received on Tuesday, 14 July 2020 05:57:19 UTC

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