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

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