w3c / css-validator

W3C CSS Validation Service
https://jigsaw.w3.org/css-validator/
Other
204 stars 105 forks source link

Incorrect css shows as correct #398

Open em92 opened 1 year ago

em92 commented 1 year ago

See attached: web.assets_backend.css.gz

The whole file is compilation of other css files, and there is culprit, that makes browser to ignore some styles from that css file above:

/* /shatatel_razmetki/static/src/css/styles.css */
.somestyle1 {

.somestyle2 {
}

First style misses closing "}" bracket.

ylafon commented 5 months ago

Your example is raising an error somestyle2 is a CSS hack isn't the the expected behaviour?