No comment in property value
strarsis opened this issue · 2 comments
strarsis commented
- Operating System (or Browser): WSL 2
- Node Version: v14.16.0
- postcss-values-parser Version: 5.0.0
How Do We Reproduce?
- Use the following input styles:
.test {
background: /*test*/ red;
}
This is valid CSS. The background
property contains a comment in its value.
Expected Behavior
Comment nodes are parsed out.
Actual Behavior
No comment nodes.
shellscape commented
would gladly accept a pull request to resolve this issue
strarsis commented
So after some testing I came to the conclusion that not this parser skips comments but this is rather something in PostCSS (Declaration node).