aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/element.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2013-08-08 11:06:39 -0700
committerbors-servo <release+servo@mozilla.com>2013-08-08 11:06:39 -0700
commitc91359f071e980a50e69b85746d6cdd2095e08f0 (patch)
treeb91778ffc9a89325222787462ce210205d8861d0 /src/components/script/dom/element.rs
parent0d46164b434c119a0c6b8a553ee0832fb97055cc (diff)
parent9cbaf13334d63d506d50ce2a95e1319635dd4d91 (diff)
downloadservo-c91359f071e980a50e69b85746d6cdd2095e08f0.tar.gz
servo-c91359f071e980a50e69b85746d6cdd2095e08f0.zip
auto merge of #700 : saneyuki/servo/section, r=jdm
This is for these elements which use HTMLElement. * aside * section * b * i Do you have any good idea of this commit log?
Diffstat (limited to 'src/components/script/dom/element.rs')
-rw-r--r--src/components/script/dom/element.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/components/script/dom/element.rs b/src/components/script/dom/element.rs
index 2d547190b7b..20768771edb 100644
--- a/src/components/script/dom/element.rs
+++ b/src/components/script/dom/element.rs
@@ -64,11 +64,10 @@ impl BindingObject for Element {
#[deriving(Eq)]
pub enum ElementTypeId {
+ HTMLElementTypeId,
HTMLAnchorElementTypeId,
- HTMLAsideElementTypeId,
HTMLBRElementTypeId,
HTMLBodyElementTypeId,
- HTMLBoldElementTypeId,
HTMLDivElementTypeId,
HTMLFontElementTypeId,
HTMLFormElementTypeId,
@@ -79,7 +78,6 @@ pub enum ElementTypeId {
HTMLIframeElementTypeId,
HTMLImageElementTypeId,
HTMLInputElementTypeId,
- HTMLItalicElementTypeId,
HTMLLinkElementTypeId,
HTMLListItemElementTypeId,
HTMLMetaElementTypeId,
@@ -87,7 +85,6 @@ pub enum ElementTypeId {
HTMLOptionElementTypeId,
HTMLParagraphElementTypeId,
HTMLScriptElementTypeId,
- HTMLSectionElementTypeId,
HTMLSelectElementTypeId,
HTMLSmallElementTypeId,
HTMLSpanElementTypeId,
@@ -105,21 +102,17 @@ pub enum ElementTypeId {
// Regular old elements
//
-pub struct HTMLAsideElement { parent: HTMLElement }
pub struct HTMLBRElement { parent: HTMLElement }
-pub struct HTMLBoldElement { parent: HTMLElement }
pub struct HTMLDivElement { parent: HTMLElement }
pub struct HTMLFontElement { parent: HTMLElement }
pub struct HTMLFormElement { parent: HTMLElement }
pub struct HTMLHeadElement { parent: HTMLElement }
pub struct HTMLHtmlElement { parent: HTMLElement }
pub struct HTMLInputElement { parent: HTMLElement }
-pub struct HTMLItalicElement { parent: HTMLElement }
pub struct HTMLLinkElement { parent: HTMLElement }
pub struct HTMLListItemElement { parent: HTMLElement }
pub struct HTMLOptionElement { parent: HTMLElement }
pub struct HTMLParagraphElement { parent: HTMLElement }
-pub struct HTMLSectionElement { parent: HTMLElement }
pub struct HTMLSelectElement { parent: HTMLElement }
pub struct HTMLSmallElement { parent: HTMLElement }
pub struct HTMLSpanElement { parent: HTMLElement }