Remove unused selectors::Element::each_class

This commit is contained in:
Simon Sapin 2017-05-18 00:54:34 +02:00
parent 9376abdd2c
commit c5e37f3d2c
6 changed files with 24 additions and 57 deletions

View file

@ -381,6 +381,9 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
/// Whether an attribute value equals `value`.
fn attr_equals(&self, namespace: &Namespace, attr: &LocalName, value: &Atom) -> bool;
/// Internal iterator for the classes of this element.
fn each_class<F>(&self, callback: F) where F: FnMut(&Atom);
/// Get the pre-existing style to calculate restyle damage (change hints).
///
/// This needs to be generic since it varies between Servo and Gecko.