Webstorm showing errors on correct code
I have this code:
h2 {
color: white;
text-shadow: 0px 0px 15px black;
@supports (-webkit-overflow-scrolling: touch) {
text-shadow: none;
}
}
That is showing as bad:

This code is valid less, producing:
h2 {
color: white;
text-shadow: 0px 0px 15px black;
}
@supports (-webkit-overflow-scrolling: touch) {
h2 {
text-shadow: none;
}
}
And can be validated here:
https://jigsaw.w3.org/css-validator/validator
Please sign in to leave a comment.
https://youtrack.jetbrains.com/issue/WEB-38322 is fixed in 2019.2.
Please try the EAP build (https://www.jetbrains.com/webstorm/eap/) - your code is correctly parsed there: