Skip to main content

dash_match_compound

Function dash_match_compound 

Source
fn dash_match_compound(a: AttrSel, ext: AttrExt) -> CompoundSel
Expand description

[a|=v] を not に入れる 1 件(:not([a=v]):not([a^="v-"]))に組む。外側の not に入るので 「どちらでもない、ではない」=「[a=v] か [a^="v-"]」になり、従来の照合のままで |= の意味になる。