mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Merge adjacent identical impl
sections
Prior to #7416 and #7401, many of these `impl` sections were not identical
This commit is contained in:
parent
6431e8da43
commit
5ccb0d43ef
16 changed files with 0 additions and 52 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue