Function selectors::parser::is_css2_pseudo_element [] [src]

pub fn is_css2_pseudo_element(name: &str) -> bool

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).