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
fix(css/parser): <general-enclosed>
parsing + fix todo
#6380
Conversation
@@ -45,7 +45,7 @@ div { | |||
background: url('\"foo\"'); | |||
} | |||
.bar { | |||
background: url(http://example.com/image.svg param(--color var(--primary-color); | |||
background: url(http://example.com/image.svg param(--color var(--primary-color))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we don't lose )
in declarations when we have BadUrl or BadStr
@@ -1,5 +1,5 @@ | |||
|
|||
x Expected function or '(' token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid using token
in error messages, because developers can don't know what is token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_css_parser
30954a5
to
f11e03f
Compare
@kdy1 Rebased 👍 |
Description:
Fix
<general-enclosed>
parsing with whitespaces + fix TODOBREAKING CHANGE:
No
Related issue (if exists):
No