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

Changes to attr in rules parser #1317

Open
bcardarella opened this issue Apr 17, 2024 · 0 comments
Open

Changes to attr in rules parser #1317

bcardarella opened this issue Apr 17, 2024 · 0 comments
Assignees

Comments

@bcardarella
Copy link
Collaborator

We want to more closely align with CSS's own format: https://developer.mozilla.org/en-US/docs/Web/CSS/attr

  1. attr(foo-bar) should be supported without quotes. In fact we want to drop support for the quoted version
  2. attr(foo-bar, "default") should use the 2nd argument as a default value if the first attribute results in an empty string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants