pub enum ParseErrorRecovery {
DiscardList,
IgnoreInvalidSelector,
}
Expand description
How to treat invalid selectors in a selector list.
Variants§
DiscardList
Discard the entire selector list, this is the default behavior for almost all of CSS.
IgnoreInvalidSelector
Ignore invalid selectors, potentially creating an empty selector list.
This is the error recovery mode of :is() and :where()