mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Rename HTMLElement::new to HTMLElement::new_inherited.
This commit is contained in:
parent
4ac0dc1bfd
commit
e2c90d1198
65 changed files with 65 additions and 65 deletions
|
@ -16,7 +16,7 @@ pub struct HTMLAnchorElement {
|
||||||
impl HTMLAnchorElement {
|
impl HTMLAnchorElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAnchorElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAnchorElement {
|
||||||
HTMLAnchorElement {
|
HTMLAnchorElement {
|
||||||
htmlelement: HTMLElement::new(HTMLAnchorElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLAnchorElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLAppletElement {
|
||||||
impl HTMLAppletElement {
|
impl HTMLAppletElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAppletElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAppletElement {
|
||||||
HTMLAppletElement {
|
HTMLAppletElement {
|
||||||
htmlelement: HTMLElement::new(HTMLAppletElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLAppletElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLAreaElement {
|
||||||
impl HTMLAreaElement {
|
impl HTMLAreaElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAreaElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLAreaElement {
|
||||||
HTMLAreaElement {
|
HTMLAreaElement {
|
||||||
htmlelement: HTMLElement::new(HTMLAreaElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLAreaElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLBaseElement {
|
||||||
impl HTMLBaseElement {
|
impl HTMLBaseElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLBaseElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLBaseElement {
|
||||||
HTMLBaseElement {
|
HTMLBaseElement {
|
||||||
htmlelement: HTMLElement::new(HTMLBaseElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLBaseElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLBodyElement {
|
||||||
impl HTMLBodyElement {
|
impl HTMLBodyElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLBodyElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLBodyElement {
|
||||||
HTMLBodyElement {
|
HTMLBodyElement {
|
||||||
htmlelement: HTMLElement::new(HTMLBodyElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLBodyElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLBRElement {
|
||||||
impl HTMLBRElement {
|
impl HTMLBRElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLBRElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLBRElement {
|
||||||
HTMLBRElement {
|
HTMLBRElement {
|
||||||
htmlelement: HTMLElement::new(HTMLBRElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLBRElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLButtonElement {
|
||||||
impl HTMLButtonElement {
|
impl HTMLButtonElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLButtonElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLButtonElement {
|
||||||
HTMLButtonElement {
|
HTMLButtonElement {
|
||||||
htmlelement: HTMLElement::new(HTMLButtonElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLButtonElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLCanvasElement {
|
||||||
impl HTMLCanvasElement {
|
impl HTMLCanvasElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLCanvasElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLCanvasElement {
|
||||||
HTMLCanvasElement {
|
HTMLCanvasElement {
|
||||||
htmlelement: HTMLElement::new(HTMLCanvasElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLCanvasElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLDataElement {
|
||||||
impl HTMLDataElement {
|
impl HTMLDataElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDataElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDataElement {
|
||||||
HTMLDataElement {
|
HTMLDataElement {
|
||||||
htmlelement: HTMLElement::new(HTMLDataElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLDataElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLDataListElement {
|
||||||
impl HTMLDataListElement {
|
impl HTMLDataListElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDataListElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDataListElement {
|
||||||
HTMLDataListElement {
|
HTMLDataListElement {
|
||||||
htmlelement: HTMLElement::new(HTMLDataListElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLDataListElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLDirectoryElement {
|
||||||
impl HTMLDirectoryElement {
|
impl HTMLDirectoryElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDirectoryElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDirectoryElement {
|
||||||
HTMLDirectoryElement {
|
HTMLDirectoryElement {
|
||||||
htmlelement: HTMLElement::new(HTMLDirectoryElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLDirectoryElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLDivElement {
|
||||||
impl HTMLDivElement {
|
impl HTMLDivElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDivElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDivElement {
|
||||||
HTMLDivElement {
|
HTMLDivElement {
|
||||||
htmlelement: HTMLElement::new(HTMLDivElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLDivElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLDListElement {
|
||||||
impl HTMLDListElement {
|
impl HTMLDListElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDListElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLDListElement {
|
||||||
HTMLDListElement {
|
HTMLDListElement {
|
||||||
htmlelement: HTMLElement::new(HTMLDListElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLDListElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ pub struct HTMLElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl HTMLElement {
|
impl HTMLElement {
|
||||||
pub fn new(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLElement {
|
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLElement {
|
||||||
HTMLElement {
|
HTMLElement {
|
||||||
element: Element::new(type_id, tag_name, document)
|
element: Element::new(type_id, tag_name, document)
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLEmbedElement {
|
||||||
impl HTMLEmbedElement {
|
impl HTMLEmbedElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLEmbedElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLEmbedElement {
|
||||||
HTMLEmbedElement {
|
HTMLEmbedElement {
|
||||||
htmlelement: HTMLElement::new(HTMLEmbedElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLEmbedElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub struct HTMLFieldSetElement {
|
||||||
impl HTMLFieldSetElement {
|
impl HTMLFieldSetElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFieldSetElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFieldSetElement {
|
||||||
HTMLFieldSetElement {
|
HTMLFieldSetElement {
|
||||||
htmlelement: HTMLElement::new(HTMLFieldSetElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLFieldSetElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLFontElement {
|
||||||
impl HTMLFontElement {
|
impl HTMLFontElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFontElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFontElement {
|
||||||
HTMLFontElement {
|
HTMLFontElement {
|
||||||
htmlelement: HTMLElement::new(HTMLFontElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLFontElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLFormElement {
|
||||||
impl HTMLFormElement {
|
impl HTMLFormElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFormElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFormElement {
|
||||||
HTMLFormElement {
|
HTMLFormElement {
|
||||||
htmlelement: HTMLElement::new(HTMLFormElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLFormElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLFrameElement {
|
||||||
impl HTMLFrameElement {
|
impl HTMLFrameElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFrameElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFrameElement {
|
||||||
HTMLFrameElement {
|
HTMLFrameElement {
|
||||||
htmlelement: HTMLElement::new(HTMLFrameElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLFrameElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLFrameSetElement {
|
||||||
impl HTMLFrameSetElement {
|
impl HTMLFrameSetElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFrameSetElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLFrameSetElement {
|
||||||
HTMLFrameSetElement {
|
HTMLFrameSetElement {
|
||||||
htmlelement: HTMLElement::new(HTMLFrameSetElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLFrameSetElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub struct HTMLHeadElement {
|
||||||
impl HTMLHeadElement {
|
impl HTMLHeadElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHeadElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHeadElement {
|
||||||
HTMLHeadElement {
|
HTMLHeadElement {
|
||||||
htmlelement: HTMLElement::new(HTMLHeadElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLHeadElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ pub struct HTMLHeadingElement {
|
||||||
impl HTMLHeadingElement {
|
impl HTMLHeadingElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument, level: HeadingLevel) -> HTMLHeadingElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument, level: HeadingLevel) -> HTMLHeadingElement {
|
||||||
HTMLHeadingElement {
|
HTMLHeadingElement {
|
||||||
htmlelement: HTMLElement::new(HTMLHeadingElementTypeId, localName, document),
|
htmlelement: HTMLElement::new_inherited(HTMLHeadingElementTypeId, localName, document),
|
||||||
level: level,
|
level: level,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLHRElement {
|
||||||
impl HTMLHRElement {
|
impl HTMLHRElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHRElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHRElement {
|
||||||
HTMLHRElement {
|
HTMLHRElement {
|
||||||
htmlelement: HTMLElement::new(HTMLHRElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLHRElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLHtmlElement {
|
||||||
impl HTMLHtmlElement {
|
impl HTMLHtmlElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHtmlElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLHtmlElement {
|
||||||
HTMLHtmlElement {
|
HTMLHtmlElement {
|
||||||
htmlelement: HTMLElement::new(HTMLHtmlElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLHtmlElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ impl HTMLIFrameElement {
|
||||||
impl HTMLIFrameElement {
|
impl HTMLIFrameElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLIFrameElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLIFrameElement {
|
||||||
HTMLIFrameElement {
|
HTMLIFrameElement {
|
||||||
htmlelement: HTMLElement::new(HTMLIframeElementTypeId, localName, document),
|
htmlelement: HTMLElement::new_inherited(HTMLIframeElementTypeId, localName, document),
|
||||||
frame: None,
|
frame: None,
|
||||||
size: None,
|
size: None,
|
||||||
sandbox: None,
|
sandbox: None,
|
||||||
|
|
|
@ -24,7 +24,7 @@ pub struct HTMLImageElement {
|
||||||
impl HTMLImageElement {
|
impl HTMLImageElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLImageElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLImageElement {
|
||||||
HTMLImageElement {
|
HTMLImageElement {
|
||||||
htmlelement: HTMLElement::new(HTMLImageElementTypeId, localName, document),
|
htmlelement: HTMLElement::new_inherited(HTMLImageElementTypeId, localName, document),
|
||||||
image: None,
|
image: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLInputElement {
|
||||||
impl HTMLInputElement {
|
impl HTMLInputElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLInputElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLInputElement {
|
||||||
HTMLInputElement {
|
HTMLInputElement {
|
||||||
htmlelement: HTMLElement::new(HTMLInputElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLInputElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLLabelElement {
|
||||||
impl HTMLLabelElement {
|
impl HTMLLabelElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLabelElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLabelElement {
|
||||||
HTMLLabelElement {
|
HTMLLabelElement {
|
||||||
htmlelement: HTMLElement::new(HTMLLabelElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLLabelElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLLegendElement {
|
||||||
impl HTMLLegendElement {
|
impl HTMLLegendElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLegendElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLegendElement {
|
||||||
HTMLLegendElement {
|
HTMLLegendElement {
|
||||||
htmlelement: HTMLElement::new(HTMLLegendElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLLegendElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLLIElement {
|
||||||
impl HTMLLIElement {
|
impl HTMLLIElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLIElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLIElement {
|
||||||
HTMLLIElement {
|
HTMLLIElement {
|
||||||
htmlelement: HTMLElement::new(HTMLLIElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLLIElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLLinkElement {
|
||||||
impl HTMLLinkElement {
|
impl HTMLLinkElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLinkElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLLinkElement {
|
||||||
HTMLLinkElement {
|
HTMLLinkElement {
|
||||||
htmlelement: HTMLElement::new(HTMLLinkElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLLinkElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub struct HTMLMainElement {
|
||||||
impl HTMLMainElement {
|
impl HTMLMainElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMainElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMainElement {
|
||||||
HTMLMainElement {
|
HTMLMainElement {
|
||||||
htmlelement: HTMLElement::new(HTMLMainElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLMainElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLMapElement {
|
||||||
impl HTMLMapElement {
|
impl HTMLMapElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMapElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMapElement {
|
||||||
HTMLMapElement {
|
HTMLMapElement {
|
||||||
htmlelement: HTMLElement::new(HTMLMapElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLMapElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ pub struct HTMLMediaElement {
|
||||||
impl HTMLMediaElement {
|
impl HTMLMediaElement {
|
||||||
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLMediaElement {
|
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLMediaElement {
|
||||||
HTMLMediaElement {
|
HTMLMediaElement {
|
||||||
htmlelement: HTMLElement::new(type_id, tag_name, document)
|
htmlelement: HTMLElement::new_inherited(type_id, tag_name, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLMetaElement {
|
||||||
impl HTMLMetaElement {
|
impl HTMLMetaElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMetaElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMetaElement {
|
||||||
HTMLMetaElement {
|
HTMLMetaElement {
|
||||||
htmlelement: HTMLElement::new(HTMLMetaElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLMetaElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLMeterElement {
|
||||||
impl HTMLMeterElement {
|
impl HTMLMeterElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMeterElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLMeterElement {
|
||||||
HTMLMeterElement {
|
HTMLMeterElement {
|
||||||
htmlelement: HTMLElement::new(HTMLMeterElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLMeterElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLModElement {
|
||||||
impl HTMLModElement {
|
impl HTMLModElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLModElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLModElement {
|
||||||
HTMLModElement {
|
HTMLModElement {
|
||||||
htmlelement: HTMLElement::new(HTMLModElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLModElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub struct HTMLObjectElement {
|
||||||
impl HTMLObjectElement {
|
impl HTMLObjectElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLObjectElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLObjectElement {
|
||||||
HTMLObjectElement {
|
HTMLObjectElement {
|
||||||
htmlelement: HTMLElement::new(HTMLObjectElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLObjectElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLOListElement {
|
||||||
impl HTMLOListElement {
|
impl HTMLOListElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOListElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOListElement {
|
||||||
HTMLOListElement {
|
HTMLOListElement {
|
||||||
htmlelement: HTMLElement::new(HTMLOListElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLOListElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLOptGroupElement {
|
||||||
impl HTMLOptGroupElement {
|
impl HTMLOptGroupElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOptGroupElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOptGroupElement {
|
||||||
HTMLOptGroupElement {
|
HTMLOptGroupElement {
|
||||||
htmlelement: HTMLElement::new(HTMLOptGroupElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLOptGroupElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLOptionElement {
|
||||||
impl HTMLOptionElement {
|
impl HTMLOptionElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOptionElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOptionElement {
|
||||||
HTMLOptionElement {
|
HTMLOptionElement {
|
||||||
htmlelement: HTMLElement::new(HTMLOptionElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLOptionElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLOutputElement {
|
||||||
impl HTMLOutputElement {
|
impl HTMLOutputElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOutputElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOutputElement {
|
||||||
HTMLOutputElement {
|
HTMLOutputElement {
|
||||||
htmlelement: HTMLElement::new(HTMLOutputElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLOutputElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLParagraphElement {
|
||||||
impl HTMLParagraphElement {
|
impl HTMLParagraphElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLParagraphElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLParagraphElement {
|
||||||
HTMLParagraphElement {
|
HTMLParagraphElement {
|
||||||
htmlelement: HTMLElement::new(HTMLParagraphElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLParagraphElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLParamElement {
|
||||||
impl HTMLParamElement {
|
impl HTMLParamElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLParamElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLParamElement {
|
||||||
HTMLParamElement {
|
HTMLParamElement {
|
||||||
htmlelement: HTMLElement::new(HTMLParamElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLParamElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLPreElement {
|
||||||
impl HTMLPreElement {
|
impl HTMLPreElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLPreElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLPreElement {
|
||||||
HTMLPreElement {
|
HTMLPreElement {
|
||||||
htmlelement: HTMLElement::new(HTMLPreElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLPreElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLProgressElement {
|
||||||
impl HTMLProgressElement {
|
impl HTMLProgressElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLProgressElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLProgressElement {
|
||||||
HTMLProgressElement {
|
HTMLProgressElement {
|
||||||
htmlelement: HTMLElement::new(HTMLProgressElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLProgressElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLQuoteElement {
|
||||||
impl HTMLQuoteElement {
|
impl HTMLQuoteElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLQuoteElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLQuoteElement {
|
||||||
HTMLQuoteElement {
|
HTMLQuoteElement {
|
||||||
htmlelement: HTMLElement::new(HTMLQuoteElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLQuoteElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLScriptElement {
|
||||||
impl HTMLScriptElement {
|
impl HTMLScriptElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLScriptElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLScriptElement {
|
||||||
HTMLScriptElement {
|
HTMLScriptElement {
|
||||||
htmlelement: HTMLElement::new(HTMLScriptElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLScriptElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct HTMLSelectElement {
|
||||||
impl HTMLSelectElement {
|
impl HTMLSelectElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLSelectElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLSelectElement {
|
||||||
HTMLSelectElement {
|
HTMLSelectElement {
|
||||||
htmlelement: HTMLElement::new(HTMLSelectElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLSelectElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLSourceElement {
|
||||||
impl HTMLSourceElement {
|
impl HTMLSourceElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLSourceElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLSourceElement {
|
||||||
HTMLSourceElement {
|
HTMLSourceElement {
|
||||||
htmlelement: HTMLElement::new(HTMLSourceElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLSourceElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub struct HTMLSpanElement {
|
||||||
impl HTMLSpanElement {
|
impl HTMLSpanElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLSpanElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLSpanElement {
|
||||||
HTMLSpanElement {
|
HTMLSpanElement {
|
||||||
htmlelement: HTMLElement::new(HTMLSpanElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLSpanElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLStyleElement {
|
||||||
impl HTMLStyleElement {
|
impl HTMLStyleElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLStyleElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLStyleElement {
|
||||||
HTMLStyleElement {
|
HTMLStyleElement {
|
||||||
htmlelement: HTMLElement::new(HTMLStyleElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLStyleElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTableCaptionElement {
|
||||||
impl HTMLTableCaptionElement {
|
impl HTMLTableCaptionElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableCaptionElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableCaptionElement {
|
||||||
HTMLTableCaptionElement {
|
HTMLTableCaptionElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTableCaptionElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTableCaptionElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ pub struct HTMLTableCellElement {
|
||||||
impl HTMLTableCellElement {
|
impl HTMLTableCellElement {
|
||||||
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLTableCellElement {
|
pub fn new_inherited(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLTableCellElement {
|
||||||
HTMLTableCellElement {
|
HTMLTableCellElement {
|
||||||
htmlelement: HTMLElement::new(type_id, tag_name, document)
|
htmlelement: HTMLElement::new_inherited(type_id, tag_name, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTableColElement {
|
||||||
impl HTMLTableColElement {
|
impl HTMLTableColElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableColElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableColElement {
|
||||||
HTMLTableColElement {
|
HTMLTableColElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTableColElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTableColElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTableElement {
|
||||||
impl HTMLTableElement {
|
impl HTMLTableElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableElement {
|
||||||
HTMLTableElement {
|
HTMLTableElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTableElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTableElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTableRowElement {
|
||||||
impl HTMLTableRowElement {
|
impl HTMLTableRowElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableRowElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableRowElement {
|
||||||
HTMLTableRowElement {
|
HTMLTableRowElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTableRowElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTableRowElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTableSectionElement {
|
||||||
impl HTMLTableSectionElement {
|
impl HTMLTableSectionElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableSectionElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTableSectionElement {
|
||||||
HTMLTableSectionElement {
|
HTMLTableSectionElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTableSectionElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTableSectionElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub struct HTMLTemplateElement {
|
||||||
impl HTMLTemplateElement {
|
impl HTMLTemplateElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTemplateElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTemplateElement {
|
||||||
HTMLTemplateElement {
|
HTMLTemplateElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTemplateElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTemplateElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTextAreaElement {
|
||||||
impl HTMLTextAreaElement {
|
impl HTMLTextAreaElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTextAreaElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTextAreaElement {
|
||||||
HTMLTextAreaElement {
|
HTMLTextAreaElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTextAreaElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTextAreaElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTimeElement {
|
||||||
impl HTMLTimeElement {
|
impl HTMLTimeElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTimeElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTimeElement {
|
||||||
HTMLTimeElement {
|
HTMLTimeElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTimeElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTimeElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTitleElement {
|
||||||
impl HTMLTitleElement {
|
impl HTMLTitleElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTitleElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTitleElement {
|
||||||
HTMLTitleElement {
|
HTMLTitleElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTitleElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTitleElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLTrackElement {
|
||||||
impl HTMLTrackElement {
|
impl HTMLTrackElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTrackElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLTrackElement {
|
||||||
HTMLTrackElement {
|
HTMLTrackElement {
|
||||||
htmlelement: HTMLElement::new(HTMLTrackElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLTrackElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub struct HTMLUListElement {
|
||||||
impl HTMLUListElement {
|
impl HTMLUListElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLUListElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLUListElement {
|
||||||
HTMLUListElement {
|
HTMLUListElement {
|
||||||
htmlelement: HTMLElement::new(HTMLUListElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLUListElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub struct HTMLUnknownElement {
|
||||||
impl HTMLUnknownElement {
|
impl HTMLUnknownElement {
|
||||||
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLUnknownElement {
|
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLUnknownElement {
|
||||||
HTMLUnknownElement {
|
HTMLUnknownElement {
|
||||||
htmlelement: HTMLElement::new(HTMLUnknownElementTypeId, localName, document)
|
htmlelement: HTMLElement::new_inherited(HTMLUnknownElementTypeId, localName, document)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue