mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 1600436 - Fix servo build.
Depends on D55357 Differential Revision: https://phabricator.services.mozilla.com/D55358 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f628d09be6
commit
1c8bfea810
@ -700,6 +700,14 @@ impl ElementSnapshot for ServoElementSnapshot {
|
||||
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 {
|
||||
self.get_attr(&ns!(), &local_name!("class"))
|
||||
.map_or(false, |v| {
|
||||
|
Loading…
Reference in New Issue
Block a user