aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/servo/selector_parser.rs')
-rw-r--r--components/style/servo/selector_parser.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/style/servo/selector_parser.rs b/components/style/servo/selector_parser.rs
index 72c47e65dda..977a6c59a85 100644
--- a/components/style/servo/selector_parser.rs
+++ b/components/style/servo/selector_parser.rs
@@ -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| {