Navigation Menu

Skip to content

Commit

Permalink
auto merge of #2086 : Ms2ger/servo/htmlelement-cast, r=jdm
Browse files Browse the repository at this point in the history
  • Loading branch information
bors-servo committed Apr 10, 2014
2 parents 2b12be6 + 0dfbfa0 commit fe1267e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/script/dom/htmlelement.rs
Expand Up @@ -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
}
Expand Down

0 comments on commit fe1267e

Please sign in to comment.