aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index f7b694300af..d6907ae7cac 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -435,11 +435,6 @@ impl Node {
}
#[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
}