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 five new web platform feature groups #78

Merged
merged 10 commits into from
Mar 8, 2023

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Mar 1, 2023

Hi @captainbrosset and @anthumchris! Thanks for taking the time to review some of this. Hopefully this won't take a ton of time, but feel free to limit the time you spend on this to a level that's comfortable for your schedule and interest.

This PR adds five new features to the feature set. I'd like your first impressions, as someone who knows about web technologies in general (though perhaps not specifically these features), but does not know anything about the specifics of feature-set.

Please note that this is an experiment. So far, Philip and I are the only ones to have reviewed new features. We don't yet know what other reviewers might need to make good use of reviewing time. Finding the stumbling blocks is as important as coming up with good features and definitions for them.

Third, I've written some optional prompts in the next section to help you understand what I'm looking for, but feel free to go off script. 🙂

Feedback hints

I'm looking for feedback both substantive and procedural. Here are some prompts which may guide you:

  • While you review, make a note of any questions you have. What's obvious and familiar? What's unclear, unknown, or confusing to you?
  • Look at the file names. Do you recognize a feature? Does the file name give you an idea about what feature I'm talking about?
  • Compare each file name to the file's contents. Does content seem closely related to the name? If you recognized a feature by name, are the contents consistent with your expectations about what you'd find inside?
  • Look at the file's compat_features. I don't expect you're a browser-compat-data expert, but does the list of related features look plausible?
  • If you have independent knowledge of the feature, are you surprised by anything you see? Are you surprised by anything you did not see?
  • What would you expect to see next? Any features you're curious about?

Copy link
Contributor

@captainbrosset captainbrosset left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love where this is going. I left a few comments which, I hope, will be useful.
In terms of next steps, I'd be curious to see what a "web components" group would look like (since you've already done custom elements and shadow dom, it seems like a good next step).

@@ -0,0 +1,30 @@
spec: https://drafts.csswg.org/css-grid-3/
caniuse: css-grid
compat_features:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're missing the place-content, place-items, place-self, align-content, and justify-content properties.
You've got self and items for both justify and align directions, but you also need content (which applies to a grid container element and applies to the alignment "subjects" in the grid, aka the row and column tracks). And you need place too, which is the short-hand for align and justify.

Copy link
Collaborator Author

@ddbeck ddbeck Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the missing properties (fea20dc).

I noticed an interesting omission in the process: there also exist legacy aliases (grid-column-gap and grid-row-gap) to the current column-gap and row-gap. Makes me wonder whether we should acknowledge them somehow, though it would require some changes to BCD (the data for those aliases is present, but incorrectly structured).

cc: @foolip

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the data is structured correctly the question becomes: should we treat aliases or prefixes as full support, and making the feature eligible for baseline, or should we treat it like an important note that should be called out when support is summarized? I'd lean towards the latter.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good question! I've opened #86 to preserve it (and to raise some closely related questions).

spec: https://drafts.csswg.org/css-grid-3/
caniuse: css-grid
compat_features:
- css.properties.align-items
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the minmax function too? I don't know where it is in BCD right now though. Maybe it's already included in the repeat function which you've already added.
Also, the auto-fit and auto-fill values should be in there somewhere (they probably already are in the repeat function in fact).

Copy link
Collaborator Author

@ddbeck ddbeck Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the missing minmax value (fea20dc).

auto-fit and auto-fill don't exist as separate features in BCD. BCD doesn't always contain CSS type/value subfeatures, especially when they're likely to be implemented simultaneously with the parent type or property. I don't think that's a problem here, though it's fixable if we have reason to believe that the support differs.

feature-group-definitions/grid.yml Show resolved Hide resolved
feature-group-definitions/font-face.yml Outdated Show resolved Hide resolved
feature-group-definitions/custom-elements.yml Outdated Show resolved Hide resolved
feature-group-definitions/custom-elements.yml Outdated Show resolved Hide resolved
feature-group-definitions/custom-elements.yml Outdated Show resolved Hide resolved
feature-group-definitions/custom-elements.yml Show resolved Hide resolved
@ddbeck ddbeck mentioned this pull request Mar 7, 2023
3 tasks
@ddbeck
Copy link
Collaborator Author

ddbeck commented Mar 8, 2023

Thanks for the reviews, y'all. I'm going to merge this and dig into some of the consequences. 👍

@ddbeck ddbeck merged commit ef6d48e into web-platform-dx:main Mar 8, 2023
@ddbeck ddbeck deleted the features-mar-2023 branch March 8, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants