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

Re: [csswg-drafts] [css-grid] fr unit and other length units

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 23 Jan 2017 21:00:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-274615190-1485205207-sysbot+gh@w3.org>
> The CSS Grid Layout spec actually doesn't define the fr unit as a 
length unit of any kind.

Yup. We refer to it colloquially as a "length", because it serves a 
similar purpose, but it's very specifically not a subtype of 
`<length>` in the spec.  Using it in 'width' would be invalid due to 
grammar reasons.

> Maybe we should raise a "meta-issue": do all CSS dimensions and 
values defined anywhere (even in one module only) need to be reflected
 in css-values?

Our general rule is that anything which is widely applicable across 
specs belongs in the V&U spec.  Specialized dimensions don't need to 
live there, but all `<length>`s are CSS-wide, and should have their 
definitions in V&U.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
using your GitHub account
Received on Monday, 23 January 2017 21:00:15 UTC

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