Merge adjacent identical impl sections

Prior to #7416 and #7401, many of these `impl` sections were not
identical
This commit is contained in:
Corey Farwell 2015-08-28 09:52:53 -04:00
parent 6431e8da43
commit 5ccb0d43ef
16 changed files with 0 additions and 52 deletions

View file

@ -77,10 +77,7 @@ impl HTMLElement {
let element = HTMLElement::new_inherited(HTMLElementTypeId::HTMLElement, localName, prefix, document);
Node::reflect_node(box element, document, HTMLElementBinding::Wrap)
}
}
impl HTMLElement {
fn is_body_or_frameset(&self) -> bool {
let eventtarget = EventTargetCast::from_ref(self);
eventtarget.is_htmlbodyelement() || eventtarget.is_htmlframesetelement()