mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
layout: fix Servo build.
This commit is contained in:
parent
561018da7d
commit
0000e4cec2
7 changed files with 112 additions and 72 deletions
|
@ -3075,6 +3075,10 @@ impl<'a> SelectorsElement for DomRoot<Element> {
|
|||
.map_or(false, |atom| case_sensitivity.eq_atom(id, atom))
|
||||
}
|
||||
|
||||
fn is_part(&self, _name: &Atom) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool {
|
||||
Element::has_class(&**self, name, case_sensitivity)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue