Skip to main content

selector_pseudo_element

Function selector_pseudo_element 

Source
pub(crate) fn selector_pseudo_element(sel: &Selector) -> Option<PseudoElement>
Expand description

セレクタ末尾(サブジェクトのコンパウンドセレクタ)に付与された疑似要素を返す。 ::before / ::after は末尾にのみ意味を持つため最後のステップだけを見る。