LeaVerou / css3test

How does your browser score for its CSS3 support?
http://css3test.com
MIT License
214 stars 83 forks source link

Pseudo-elements incorrectly marked as supported with `-webkit-` prefix #253

Closed SebastianZ closed 3 months ago

SebastianZ commented 3 months ago

Unsupported pseudo-elements are currently marked as supported using the -webkit- prefix.

The reason for this is a web compatibility quirk required by Selectors 4 that says that pseudo-elements with that prefix have to be treated valid at parse time. So testing them with document.querySelector() does not throw in this case.

That means we have to find another way to test these pseudo-elements.

Sebastian