mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -367,11 +367,11 @@ impl SelectorImpl {
|
|||
|
||||
|
||||
#[inline]
|
||||
/// Executes a function for each pseudo-element.
|
||||
pub fn each_pseudo_element<F>(fun: F)
|
||||
/// Executes a function for each simple (not functional) pseudo-element.
|
||||
pub fn each_simple_pseudo_element<F>(fun: F)
|
||||
where F: FnMut(PseudoElement),
|
||||
{
|
||||
PseudoElement::each(fun)
|
||||
PseudoElement::each_simple(fun)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue