[csswg-drafts] [css-values] Radians considered useless without π

Crissov has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-values] Radians considered useless without π ==
`rad` has been a valid  [angular 
unit](https://drafts.csswg.org/css-values-3/#angles) since they have 
existed in CSS, but it never has been useful or widely used. A major 
reason for this, despite popular familiarity with degrees, is most 
probably that values in radians tend to be long floats with a single 
digit before the decimal marker and hence make authors feel unable to 
express definite values that won’t be rounded in an unexpected way. 
(Many intuitively expect decimal rounding, although it’s usually 
hexadecimal/binary.) This is due to a lack of the constant π in CSS. 

Although a `turn` unit has already been defined, which equals 2π, I’d 
like to suggest another **unit for radians muliplied by π**: either 
`pirad` or just `pi`. It’s okay to defer it to the next level, 
although I believe it should already have been included in Level 2.

Length units may benefit from other irrational multipliers, e.g. √2, 
but there’s no obvious identifier comprised of only ASCII letters for 
them. We do have precedents for unit prefixes with `dp…`, `ms` and 
`kHz` (and if there was `m`, also `mm` and `cm`).

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/309 using your GitHub 
account

Received on Monday, 11 July 2016 10:30:44 UTC