W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

Re: [csswg-drafts] [css-values] Redundancy of atan2() (#4485)

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Nov 2019 23:01:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-550062614-1572994898-sysbot+gh@w3.org>
If we copied `rgb` and `rgba`, we would have both allowing one or two arguments, with serialization rules that `atan` and `atan2` serialize as `atan` if they have one argument and `atan2` if they have two arguments.

I'd prefer that we be consistent with JavaScript. Intent is clearer when authors always use `atan` with one argument and `atan2` with two arguments.

GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4485#issuecomment-550062614 using your GitHub account
Received on Tuesday, 5 November 2019 23:01:42 UTC

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