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