mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Call non-functional pseudo-elements simple pseudo-element.
This commit is contained in:
parent
01ea3cc3e3
commit
2649d0332a
4 changed files with 9 additions and 8 deletions
|
@ -121,7 +121,7 @@ impl SelectorImpl {
|
|||
pub fn each_precomputed_pseudo_element<F>(mut fun: F)
|
||||
where F: FnMut(PseudoElement),
|
||||
{
|
||||
Self::each_pseudo_element(|pseudo| {
|
||||
Self::each_simple_pseudo_element(|pseudo| {
|
||||
if pseudo.is_precomputed() {
|
||||
fun(pseudo)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue