mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -101,6 +101,8 @@ impl PseudoElementCascadeType {
|
|||
|
||||
pub trait ElementExt: Element<Impl=SelectorImpl> {
|
||||
fn is_link(&self) -> bool;
|
||||
|
||||
fn matches_user_and_author_rules(&self) -> bool;
|
||||
}
|
||||
|
||||
impl SelectorImpl {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue