style: Remove some XBL code in the style system.

Differential Revision: https://phabricator.services.mozilla.com/D50554
This commit is contained in:
Emilio Cobos Álvarez 2019-10-25 12:19:21 +00:00
parent 854c480177
commit 5f30ecc9b1
6 changed files with 3 additions and 125 deletions

View file

@ -776,14 +776,6 @@ pub trait TElement:
return data.hint.has_animation_hint();
}
/// Returns the anonymous content for the current element's XBL binding,
/// given if any.
///
/// This is used in Gecko for XBL.
fn xbl_binding_anonymous_content(&self) -> Option<Self::ConcreteNode> {
None
}
/// The shadow root this element is a host of.
fn shadow_root(&self) -> Option<<Self::ConcreteNode as TNode>::ConcreteShadowRoot>;