diff options
author | bors-servo <release+servo@mozilla.com> | 2013-08-09 13:42:37 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-08-09 13:42:37 -0700 |
commit | 0f957c9e223629545ed678829155a1b83d4ea609 (patch) | |
tree | 4052ee0c0991d851c42470270b04666c6778bbe9 /src/components/script/dom/bindings/node.rs | |
parent | 2ab430b9b15b7876ddd4fbbf7a261776030811fe (diff) | |
parent | 6f2c24eca7e944c904360b66521c453bb22fa5dc (diff) | |
download | servo-0f957c9e223629545ed678829155a1b83d4ea609.tar.gz servo-0f957c9e223629545ed678829155a1b83d4ea609.zip |
auto merge of #710 : jdm/servo/titleelem, r=jdm
Diffstat (limited to 'src/components/script/dom/bindings/node.rs')
-rw-r--r-- | src/components/script/dom/bindings/node.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/node.rs b/src/components/script/dom/bindings/node.rs index 3a4b01d2b6b..3c824a07e24 100644 --- a/src/components/script/dom/bindings/node.rs +++ b/src/components/script/dom/bindings/node.rs @@ -10,7 +10,7 @@ use dom::element::{HTMLElementTypeId}; use dom::element::{HTMLHeadElementTypeId, HTMLHtmlElementTypeId, HTMLAnchorElementTypeId}; use dom::element::{HTMLDivElementTypeId, HTMLImageElementTypeId, HTMLSpanElementTypeId}; use dom::element::{HTMLBodyElementTypeId, HTMLHRElementTypeId, HTMLIframeElementTypeId}; -use dom::element::{HTMLBRElementTypeId}; +use dom::element::{HTMLBRElementTypeId, HTMLTitleElementTypeId}; use dom::element::{HTMLParagraphElementTypeId, HTMLScriptElementTypeId, HTMLMetaElementTypeId}; use dom::element::{HTMLOListElementTypeId, HTMLStyleElementTypeId, HTMLTableElementTypeId}; use dom::element::{HTMLTableRowElementTypeId, HTMLTableSectionElementTypeId}; @@ -32,6 +32,7 @@ use dom::htmltableelement::HTMLTableElement; use dom::htmltablerowelement::HTMLTableRowElement; use dom::htmltablesectionelement::HTMLTableSectionElement; use dom::htmltextareaelement::HTMLTextAreaElement; +use dom::htmltitleelement::HTMLTitleElement; use dom::htmlulistelement::HTMLUListElement; use dom::node::{AbstractNode, Node, ElementNodeTypeId, TextNodeTypeId, CommentNodeTypeId}; use dom::node::{DoctypeNodeTypeId, ScriptView, Text}; @@ -118,6 +119,7 @@ pub fn create(cx: *JSContext, node: &mut AbstractNode<ScriptView>) -> *JSObject ElementNodeTypeId(HTMLTableRowElementTypeId) => generate_element!(HTMLTableRowElement), ElementNodeTypeId(HTMLTableSectionElementTypeId) => generate_element!(HTMLTableSectionElement), ElementNodeTypeId(HTMLTextAreaElementTypeId) => generate_element!(HTMLTextAreaElement), + ElementNodeTypeId(HTMLTitleElementTypeId) => generate_element!(HTMLTitleElement), ElementNodeTypeId(HTMLUListElementTypeId) => generate_element!(HTMLUListElement), ElementNodeTypeId(_) => element::create(cx, node).ptr, CommentNodeTypeId | |