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

FF121 Custom State in Custom Elements #21283

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

hamishwillee
Copy link
Collaborator

FF121 adds support for the Custom State Pseudo Class spec in https://bugzilla.mozilla.org/show_bug.cgi?id=1861466 behind a preference.

This updates CustomStateSet with support info and MDN + spec links. It also updates ElementInternals.states with the preference info.

There isn't any specific feature for the pseudo class itself - at least not obvious and not in the original updates to this #10976

Related docs work can be tracked in mdn/content#30339

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Nov 20, 2023
@@ -67,14 +83,23 @@
},
"clear": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CustomStateSet/clear",
"spec_url": "https://wicg.github.io/custom-state-pseudo-class/#customstateset",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note, this follows the pattern of other set-likes, linking to the closest thing that shows the setlike. Note that add is an exception as there is a specific link to it in the spec.

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Thanks Hamish! 👍

@Elchi3 Elchi3 merged commit 6865bd6 into mdn:main Nov 20, 2023
3 checks passed
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.

None yet

2 participants