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

W3C CSS Validation Service

Results 50 css-validator issues
Sort by recently updated
recently updated
newest added

Especially when the output is not the default one. It must use the same template as normal for those cases.

See https://www.w3.org/TR/2014/CR-css-masking-1-20140826/

SVG

Some messages that get reported have a `skippedString` appended that isn’t useful; for example: > Value Error : background top is not a color value ) The `)` at the...

enhancement

`` should just be `` and the message should be adapted `(close the img tag with > instead of /> if using HTML

enhancement

Currently it clutters up the root directly something fierce.

This can be done via https://github.com/w3c/css-validator/releases You can+should also include a JAR for the release via the indicated field of GitHub release UI:

It looks like the validator does not recognize custom property values with the "background-color" and "fill" properties. Consider the following example: CSS: `:root { --primary-color: light-dark(#000,#fff); } ... body {...

``` main, aside { container: my-layout / inline-size; } ``` from https://www.w3.org/TR/css-contain-3/#container-queries is not recognized as valid. Returns `Property container doesn't exist. The closest matching property name is contain :...

``` @container my-layout (inline-size > 45em) { .media-object { grid-template: 'img content' auto / auto 1fr; } } ``` from https://www.w3.org/TR/css-contain-3/#container-queries is not recognized as valid

It looks like the validator does not recognize shorthand hexadecimal colors (e.g., #000) in the CSS validator when inside a custom variable. Consider the following example: CSS: `:root { --primary-color:...