Remove 'Node::is_anchor_element'

This commit is contained in:
Rizky Luthfianto 2015-11-21 11:44:10 +07:00
parent 8b6bfb615a
commit d3c852ed85
2 changed files with 3 additions and 7 deletions

View file

@ -434,11 +434,6 @@ impl Node {
self.children_count.get()
}
#[inline]
pub fn is_anchor_element(&self) -> bool {
self.type_id() == NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLAnchorElement))
}
#[inline]
pub fn is_doctype(&self) -> bool {
self.type_id() == NodeTypeId::DocumentType