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 guidance about using DOMTokenList #1231

Open
josepharhar opened this issue Oct 11, 2023 · 0 comments
Open

Add guidance about using DOMTokenList #1231

josepharhar opened this issue Oct 11, 2023 · 0 comments

Comments

@josepharhar
Copy link
Contributor

What is the issue with the DOM Standard?

It was suggested here that we should add guidance about when to use DOMTokenList (as opposed to setlike?): whatwg/html#8467 (comment)

I suppose there was some talk about setlike supporting "non-boolean" states which is why setlike was chosen instead of DOMTokenList for CSS custom state, but I'm not entirely sure if that's what we should be saying with regards to guidance.

@annevk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant