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

Re: [csswg-drafts] [css-values] Use upper case for Q unit

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Oct 2017 00:18:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-335644673-1507681078-sysbot+gh@w3.org>
By convention, units and keywords in css are specified in lower case, but as the spec says: "Like keywords, unit identifiers are ASCII case-insensitive". Therefore "q" and "Q" are the same thing, and it is already possible to use the unit with an upper case "Q" or a lower case "q", as the author prefers, even without this proposed change.

This proposed change has no normative effect, and is an editorial change to follow the casing convention of the "Q" unit instead of the casing convention of CSS.

I would be in favor of continuing to follow internal CSS conventions over external ones, but I will note that this convention is already not fully followed, as the "hz" unit is described as "Hz", so there is precedent.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/1857#issuecomment-335644673 using your GitHub account
Received on Wednesday, 11 October 2017 00:18:00 UTC

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