stylo: Fix pseudo element matching for XBL stylesheets (Bug 1371577)

MozReview-Commit-ID: GzWbztqW0V1
This commit is contained in:
Ting-Yu Lin 2017-06-12 14:30:37 +08:00
parent c6da6ba060
commit e80cb09be3
3 changed files with 58 additions and 26 deletions

View file

@ -573,7 +573,8 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
/// Gets declarations from XBL bindings from the element. Only gecko element could have this.
fn get_declarations_from_xbl_bindings<V>(&self,
_: &mut V)
_pseudo_element: Option<&PseudoElement>,
_applicable_declarations: &mut V)
-> bool
where V: Push<ApplicableDeclarationBlock> + VecLike<ApplicableDeclarationBlock> {
false