validator icon indicating copy to clipboard operation
validator copied to clipboard

There is no validation of @media and pseudo elements

Open PavelFil opened this issue 1 year ago • 1 comments

This code doesn't print any error.

::gsdfgsdf {}
@media gsdfgdfg {}

PavelFil avatar Sep 29 '24 01:09 PavelFil

CSSTree and validator have no support for selector validation yet. The @media example is valid, since gsdfgdfg is matching as media-type and it defined as <ident>, so it can be any identifier. image

lahmatiy avatar Oct 10 '24 16:10 lahmatiy