aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2019-11-30 15:02:48 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-11-30 20:45:08 +0100
commit226c9807dfb657b33569662d25bad1aad0667ec0 (patch)
tree240fcc23b8a12cff2ec05557ed4746c791956063 /components/style/servo/selector_parser.rs
parent85da1dda294970d6f96d3e16ec05698efbcd0b47 (diff)
downloadservo-226c9807dfb657b33569662d25bad1aad0667ec0.tar.gz
servo-226c9807dfb657b33569662d25bad1aad0667ec0.zip
style: Fix servo build.
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| {