css-validator icon indicating copy to clipboard operation
css-validator copied to clipboard

Incorrect css shows as correct

Open em92 opened this issue 2 years ago • 1 comments

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.

em92 avatar Apr 08 '23 07:04 em92

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

ylafon avatar Apr 10 '24 01:04 ylafon