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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 21c427d07b1..3fc51c10fff 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -2368,8 +2368,8 @@ impl<'a> NodeMethods for &'a Node {
fn is_equal_element(node: &Node, other: &Node) -> bool {
let element: &Element = ElementCast::to_ref(node).unwrap();
let other_element: &Element = ElementCast::to_ref(other).unwrap();
- // FIXME: namespace prefix
(*element.namespace() == *other_element.namespace()) &&
+ (*element.prefix() == *other_element.prefix()) &&
(*element.local_name() == *other_element.local_name()) &&
(element.attrs().len() == other_element.attrs().len())
}