diff options
Diffstat (limited to 'components/style/gecko/snapshot.rs')
-rw-r--r-- | components/style/gecko/snapshot.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/components/style/gecko/snapshot.rs b/components/style/gecko/snapshot.rs index cffb78d3e9e..02707682b4d 100644 --- a/components/style/gecko/snapshot.rs +++ b/components/style/gecko/snapshot.rs @@ -194,6 +194,16 @@ impl ElementSnapshot for GeckoElementSnapshot { } #[inline] + fn exported_part(&self, name: &Atom) -> Option<Atom> { + snapshot_helpers::exported_part(&*self.mAttrs, name) + } + + #[inline] + fn imported_part(&self, name: &Atom) -> Option<Atom> { + snapshot_helpers::imported_part(&*self.mAttrs, name) + } + + #[inline] fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool { if !self.has_any(Flags::MaybeClass) { return false; |