diff options
author | bors-servo <release+servo@mozilla.com> | 2013-08-08 16:36:40 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-08-08 16:36:40 -0700 |
commit | 1da9f340825fa75e0c76c26a62662a9def641a32 (patch) | |
tree | d8f6ff47cc2af4e8308aa51312cbd00baaf1af40 /src/components/script/html/hubbub_html_parser.rs | |
parent | c91359f071e980a50e69b85746d6cdd2095e08f0 (diff) | |
parent | fa395d2b27e99b760945b6073f29108ea1f8a873 (diff) | |
download | servo-1da9f340825fa75e0c76c26a62662a9def641a32.tar.gz servo-1da9f340825fa75e0c76c26a62662a9def641a32.zip |
auto merge of #701 : saneyuki/servo/tbody, r=jdm
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r-- | src/components/script/html/hubbub_html_parser.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs index c8220eda7ed..245b7fd37aa 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -12,7 +12,7 @@ use dom::element::{HTMLElementTypeId, HTMLMetaElementTypeId, HTMLOListElementTypeId, HTMLOptionElementTypeId, HTMLParagraphElementTypeId, HTMLScriptElementTypeId, HTMLSelectElementTypeId, HTMLSmallElementTypeId, - HTMLSpanElementTypeId, HTMLStyleElementTypeId, HTMLTableBodyElementTypeId, + HTMLSpanElementTypeId, HTMLStyleElementTypeId, HTMLTableSectionElementTypeId, HTMLTableCellElementTypeId, HTMLTableElementTypeId, HTMLTableRowElementTypeId, HTMLTitleElementTypeId, HTMLUListElementTypeId, UnknownElementTypeId}; @@ -22,7 +22,7 @@ use dom::element::{HTMLBRElement, HTMLInputElement, HTMLLinkElement, HTMLOptionElement, HTMLParagraphElement, HTMLListItemElement, HTMLSelectElement, HTMLSmallElement, - HTMLSpanElement, HTMLTableBodyElement, + HTMLSpanElement, HTMLTableCellElement, HTMLTableRowElement, HTMLTitleElement, HTMLUListElement}; use dom::element::{HTMLHeadingElementTypeId, Heading1, Heading2, Heading3, Heading4, Heading5, @@ -37,6 +37,7 @@ use dom::htmlolistelement::HTMLOListElement; use dom::htmlscriptelement::HTMLScriptElement; use dom::htmlstyleelement::HTMLStyleElement; use dom::htmltableelement::HTMLTableElement; +use dom::htmltablesectionelement::HTMLTableSectionElement; use dom::element::{Element, Attr}; use dom::htmlelement::HTMLElement; use dom::node::{AbstractNode, Comment, Doctype, ElementNodeTypeId, Node, ScriptView}; @@ -232,7 +233,7 @@ fn build_element_from_tag(cx: *JSContext, tag: &str) -> AbstractNode<ScriptView> handle_element!(cx, tag, "small", HTMLSmallElementTypeId, HTMLSmallElement, []); handle_element!(cx, tag, "span", HTMLSpanElementTypeId, HTMLSpanElement, []); handle_element!(cx, tag, "style", HTMLStyleElementTypeId, HTMLStyleElement, []); - handle_element!(cx, tag, "tbody", HTMLTableBodyElementTypeId, HTMLTableBodyElement, []); + handle_element!(cx, tag, "tbody", HTMLTableSectionElementTypeId, HTMLTableSectionElement, []); handle_element!(cx, tag, "td", HTMLTableCellElementTypeId, HTMLTableCellElement, []); handle_element!(cx, tag, "table", HTMLTableElementTypeId, HTMLTableElement, []); handle_element!(cx, tag, "tr", HTMLTableRowElementTypeId, HTMLTableRowElement, []); |