Skip to content
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

[css-grid] Grid spec text about "all other properties" needs to be more specific #249

Closed
dholbert opened this issue Jun 28, 2016 · 1 comment

Comments

@dholbert
Copy link
Member

The grid shorthand section has this spec text in the explanation of its syntax:

Sets up auto-flow, by setting the tracks [...] grid-auto-flow is also set to either row or column accordingly, with dense if it’s specified.

All other properties are reset to their initial values.

Link: https://drafts.csswg.org/css-grid-1/#grid-shorthand

Nit about the above quote: "All other properties" is a bit too broad. Taken literally, it means that a "grid: ..." declaration would reset completely unrelated properties like e.g. font-face, stroke-width, etc. to their initial values. That's clearly not the intent, but it's what the spec literally says right now.

I think this really wants to say:

All other grid sub-properties are reset to their initial values.

@dholbert
Copy link
Member Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants