Function selectors::parser::is_css2_pseudo_element

source ยท
fn is_css2_pseudo_element(name: &str) -> bool
Expand description

Returns whether the name corresponds to a CSS2 pseudo-element that can be specified with the single colon syntax (in addition to the double-colon syntax, which can be used for all pseudo-elements).