-
Notifications
You must be signed in to change notification settings - Fork 707
[css-grid] fr unit and other length units #955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The CSS Grid Layout spec actually doesn't define the
(where Since the
which doesn't allow |
Yes, I saw that it was defined as a "Flexible Length", but the fact that it is not a "length" despite its name (unlike "relative length" and "absolute length") would deserve a better definition in the spec (and ideally be moved to the css-values spec), as in other specifications, it is quite common to use "length" and not "length, but not of the flexible kind, as it is not a real length". |
Agree. 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? At least, I believe that they should have a special section in CSS Indexes page. |
Yup. We refer to it colloquially as a "length", because it serves a similar purpose, but it's very specifically not a subtype of
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 |
We need to clarify whether fr units represent lengths and are combinable with them in |
This was discussed in today's teleconference concluding with:
|
grid defines the 'fr' unit as a flexible length, how does this kind of length relates to relative and absolute lengths that are defined in https://www.w3.org/TR/css3-values/#lengths ?
What would be the behaviour if 1fr was used as the width of an element?
The definition should be more explicit about the scope of this unit and its relationship to other length units.
The text was updated successfully, but these errors were encountered: