-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add missing grid keys #1854
Add missing grid keys #1854
Conversation
@mirisuzanne Can you verify that none of the new keys in the dist are features that are separate from what's already in the grid feature? |
features/grid.yml.dist
Outdated
- css.properties.grid-auto-flow.column | ||
- css.properties.grid-auto-flow.dense | ||
- css.properties.grid-auto-flow.row |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These version ranges make no sense. I sent mdn/browser-compat-data#24539 to fix this so it matches the other Safari 10.1 items.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ddbeck I've updated the dist with the BCD changes here, and it looks much better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamesnw There are some potential overlapping features here – alignment, gap – that work in various layout models, and the list changes over time. The grid_context
qualifier makes those keys specific to the grid feature, and I think that's probably a fine choice.
Gap in flexbox context arrived late (after flexbox), and allignment in block context is fairly new (despite blocks being old) - so it won't always work to combine these things in the other places. But I think that's also probably fine?
This is a place where it might be useful at some point to have overlapping features.
The confusingly named flex
type is correctly associated with Grid and not Flexbox. 🤷🏻♀️
None of these keys seem to warrant new features. The
grid-auto-flow
keys have incorrect Safari data, but will likely have the same support as the other added keys once that is resolved on BCD.