style: Fix servo build.

This commit is contained in:
Emilio Cobos Álvarez 2019-11-30 15:02:48 +01:00
parent 85da1dda29
commit 226c9807df
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
4 changed files with 60 additions and 0 deletions

View file

@ -3073,6 +3073,14 @@ impl<'a> SelectorsElement for DomRoot<Element> {
false
}
fn exported_part(&self, _: &Atom) -> Option<Atom> {
None
}
fn imported_part(&self, _: &Atom) -> Option<Atom> {
None
}
fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool {
Element::has_class(&**self, name, case_sensitivity)
}