mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
stylo: Remove TElement::attr_equals
This commit is contained in:
parent
310408a828
commit
618efc6357
3 changed files with 0 additions and 19 deletions
|
@ -368,9 +368,6 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
|||
/// Whether this element has an attribute with a given namespace.
|
||||
fn has_attr(&self, namespace: &Namespace, attr: &LocalName) -> bool;
|
||||
|
||||
/// 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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue