aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlelement.rs')
-rw-r--r--src/components/script/dom/htmlelement.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlelement.rs b/src/components/script/dom/htmlelement.rs
index f8a1cd96a9b..019b531ae38 100644
--- a/src/components/script/dom/htmlelement.rs
+++ b/src/components/script/dom/htmlelement.rs
@@ -23,6 +23,7 @@ pub struct HTMLElement {
impl HTMLElementDerived for EventTarget {
fn is_htmlelement(&self) -> bool {
match self.type_id {
+ NodeTargetTypeId(ElementNodeTypeId(ElementTypeId)) => false,
NodeTargetTypeId(ElementNodeTypeId(_)) => true,
_ => false
}