mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make use of the list of Atoms in ClassSelector
Make use of the list of Atoms in the class attribute selector (ClassSelector) in selector_matching. Fixes #3111
This commit is contained in:
parent
a18633b163
commit
81a0d065f1
8 changed files with 71 additions and 5 deletions
|
@ -30,5 +30,6 @@ pub trait TElement {
|
|||
fn get_id(&self) -> Option<Atom>;
|
||||
fn get_disabled_state(&self) -> bool;
|
||||
fn get_enabled_state(&self) -> bool;
|
||||
fn has_class(&self, name: &str) -> bool;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue