summaryrefslogtreecommitdiffstats
path: root/servo/components/selectors/tree.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--servo/components/selectors/tree.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/servo/components/selectors/tree.rs b/servo/components/selectors/tree.rs
index c1ea8ff5ae..1c440a124d 100644
--- a/servo/components/selectors/tree.rs
+++ b/servo/components/selectors/tree.rs
@@ -134,6 +134,11 @@ pub trait Element: Sized + Clone + Debug {
case_sensitivity: CaseSensitivity,
) -> bool;
+ fn has_custom_state(
+ &self,
+ name: &<Self::Impl as SelectorImpl>::Identifier,
+ ) -> bool;
+
/// Returns the mapping from the `exportparts` attribute in the reverse
/// direction, that is, in an outer-tree -> inner-tree direction.
fn imported_part(