mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Don't match native anonymous content to user/author rules.
This commit is contained in:
parent
210b1be1d0
commit
22b62e0913
5 changed files with 83 additions and 60 deletions
|
@ -398,4 +398,9 @@ impl<E: Element<Impl=SelectorImpl>> ElementExt for E {
|
|||
fn is_link(&self) -> bool {
|
||||
self.match_non_ts_pseudo_class(NonTSPseudoClass::AnyLink)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn matches_user_and_author_rules(&self) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue