aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/dom.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/dom.rs')
-rw-r--r--components/style/dom.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs
index 64e11b2faf0..870690c2027 100644
--- a/components/style/dom.rs
+++ b/components/style/dom.rs
@@ -22,6 +22,7 @@ use selector_parser::{PseudoClassStringArg, PseudoElement};
use selectors::matching::{ElementSelectorFlags, VisitedHandlingMode};
use shared_lock::Locked;
use sink::Push;
+use smallvec::VecLike;
use std::fmt;
#[cfg(feature = "gecko")] use std::collections::HashMap;
use std::fmt::Debug;
@@ -562,6 +563,14 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
.map_or(false, |r| r.hint.has_animation_hint());
}
+ /// Gets declarations from XBL bindings from the element. Only gecko element could have this.
+ fn get_declarations_from_xbl_bindings<V>(&self,
+ _: &mut V)
+ -> bool
+ where V: Push<ApplicableDeclarationBlock> + VecLike<ApplicableDeclarationBlock> {
+ false
+ }
+
/// Gets the current existing CSS transitions, by |property, end value| pairs in a HashMap.
#[cfg(feature = "gecko")]
fn get_css_transitions_info(&self)