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 CSSGroupingRule properties #11631

Merged
merged 1 commit into from
Jul 20, 2021
Merged

Conversation

rachelandrew
Copy link
Collaborator

CSSGroupingRule was missing properties, this PR adds them and their specdata https://drafts.csswg.org/cssom/#cssgroupingrule

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 20, 2021
"spec_url": "https://drafts.csswg.org/cssom/#dom-cssgroupingrule-cssrules",
"support": {
"chrome": {
"version_added": "45"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This could be correct, but due to #7844 I'm suspicious of any Chrome 45 versions. What testing was done to get this version? There are generated tests for this in mdn-bcd-collector, but they were broken. I've sent foolip/mdn-bcd-collector#1323 to fix it and then it should be possible to use these tests:
https://staging-dot-mdn-bcd-collector.appspot.com/tests/api/CSSGroupingRule

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I copied the data from the main interface (that I haven't changed), after searching to see if there was any indication that this had been partly implemented. So if it's wrong, the main interface is likely wrong too.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like this came from https://bugs.chromium.org/p/chromium/issues/detail?id=496381, and the date does line up with Chrome 45. I've confirmed that the CSSGroupingRule is there in Chrome 45, but not in 44.

That just shuffled the prototype chain around a little bit and is a case of https://github.com/mdn/browser-compat-data/blob/main/docs/data-guidelines.md#apis-moved-on-the-prototype-chain, but sorting that out need not block this PR. I'll review.

@foolip foolip mentioned this pull request Jul 20, 2021
"version_added": "32"
},
"safari": {
"version_added": false
Copy link
Collaborator

Choose a reason for hiding this comment

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

Safari does have CSSGroupingRule, but the parent feature is wrong too. I've filed #11644.

@foolip foolip merged commit 1ff1f67 into mdn:main Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants