Auto merge of #8633 - rilut:remove-node-is-anchor-element, r=nox

Remove 'Node::is_anchor_element'

Should fixes #8631.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8633)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-21 16:01:37 +05:30
commit 28582bb9f5
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