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

Add missing grid keys #1854

Merged
merged 4 commits into from
Sep 30, 2024
Merged

Add missing grid keys #1854

merged 4 commits into from
Sep 30, 2024

Conversation

jamesnw
Copy link
Collaborator

@jamesnw jamesnw commented Sep 26, 2024

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.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Sep 26, 2024
@jamesnw
Copy link
Collaborator Author

jamesnw commented Sep 26, 2024

@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?

Comment on lines 193 to 195
- css.properties.grid-auto-flow.column
- css.properties.grid-auto-flow.dense
- css.properties.grid-auto-flow.row
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

Copy link
Contributor

@mirisuzanne mirisuzanne left a 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. 🤷🏻‍♀️

@jamesnw jamesnw requested a review from ddbeck September 30, 2024 14:58
@ddbeck ddbeck merged commit 5caff0e into web-platform-dx:main Sep 30, 2024
3 checks passed
@ddbeck ddbeck mentioned this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants