fix: support parsing camel case in container queries by tanhauhau · Pull Request #11131 · sveltejs/svelte (original) (raw)

Fixes #10845

The eatIdent(...) method from css-tree somehow expects lowercase identifiers only, and thus not working for camel case container names. switching to a more generic eat(Ident) would work. Since we already know the current token is an identifier with the name, we dont have to assert the content of the identifier via eatIdent()

Before submitting the PR, please make sure you do the following

Tests and linting