- From: Christoph Päper via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Feb 2020 08:49:04 +0000
- To: public-css-archive@w3.org
Firstly, `var(--phi)` is more cumbersome to read and write than plain `phi`, especially inside other parentheses. If they know what they are doing, authors could even rewrite many calculations to incorporate the rational and the irrational summand of φ or its divisor elsewhere, thereby obfuscating the use of the Golden Ratio, which degrades code readability and thus maintenance. Secondly, due to its casdading nature, a custom property can be overwritten with a different value, but φ is a **constant** with a globally unique, unchallenged definition (even though its numeric precision is up to implementation constraints) and authors should be able to rely on that. -- GitHub Notification of comment by Crissov Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4702#issuecomment-585096732 using your GitHub account
Received on Wednesday, 12 February 2020 08:49:16 UTC