aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorPrabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com>2016-02-16 00:24:35 +0530
committerPrabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com>2016-02-16 00:24:35 +0530
commitae80b9bcf07c14125fe7d0951505cdfb652eefd9 (patch)
treef415ace96e7124950a04eb8cc68eb32451098872 /components/script/dom
parent87c6889f44f67e9c8a186e1b4d95066a4e67ecd3 (diff)
downloadservo-ae80b9bcf07c14125fe7d0951505cdfb652eefd9.tar.gz
servo-ae80b9bcf07c14125fe7d0951505cdfb652eefd9.zip
fix Node-isEqualNode.html test failure
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 5e02dc3d0e6..c42635a3762 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -2134,7 +2134,7 @@ impl NodeMethods for Node {
}
fn is_equal_node(this: &Node, node: &Node) -> bool {
// Step 2.
- if this.type_id() != node.type_id() {
+ if this.NodeType() != node.NodeType() {
return false;
}