Skip to main content

UNSUPPORTED_SYNTAX

Constant UNSUPPORTED_SYNTAX 

Source
pub const UNSUPPORTED_SYNTAX: &[(char, &str)];
Expand description

The CSS syntax this engine deliberately does not read, and what to write instead.

★ A CATALOGUE, NOT A LIST OF CHECKS. Each entry carries its own sentence, so adding a form the engine cannot evaluate means writing the explanation the author will read — there is nowhere to add one silently.

★ AND EVERY ONE OF THESE USED TO PARSE AS A NAME. compound() takes the leading run up to #, . or [ as the TAG, so > became a tag named > and li:first-child a tag named li:first-child. Both matched nothing — the same answer a correct selector gives for a page that genuinely has none — so Expect the count of "ul > li" to be 0. passed, and would have passed with five hundred items on the page.