W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

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

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Sep 2017 05:06:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-330746229-1505883950-sysbot+gh@w3.org>
What now? Trigonometric functions always operate on angles! You are just used to implicit `rad` because that is all most programming languages support (and the unit is hardly used explicitly in math either because its dimension is unity indeed). 

In `hsl()`, on the other hand, `deg` (or `°` elsewhere) is often omitted. Nothing good ever comes from omitting unit symbols.

GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/309#issuecomment-330746229 using your GitHub account
Received on Wednesday, 20 September 2017 05:06:25 UTC

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