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

Please ignore non-existing pseudo-class on pseudo-element vendor extension

Open mthuurne opened this issue 7 years ago • 1 comments

Validate the following fragment while treating vendor extensions as warnings:

::-webkit-scrollbar:vertical {
	border: 1px solid black;
}

The validator will report the ::-webkit-scrollbar pseudo-element vendor extension as a warning, as expected. However, it reports the :vertical pseudo-class as an error. Maybe that is formally correct, but from a practical point of view, I would very much prefer if vertical would be ignored because it applies to a vendor extension.

mthuurne avatar Dec 04 '18 11:12 mthuurne

To me it is more a bug than en enhancement as the initial goal was what you described.

ylafon avatar Dec 04 '18 12:12 ylafon