aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/create.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/create.rs')
-rw-r--r--components/script/dom/create.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/create.rs b/components/script/dom/create.rs
index e7fb121f758..f2b8182cdc3 100644
--- a/components/script/dom/create.rs
+++ b/components/script/dom/create.rs
@@ -223,7 +223,11 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
atom!("td") => make!(HTMLTableDataCellElement),
atom!("template") => make!(HTMLTemplateElement),
atom!("textarea") => make!(HTMLTextAreaElement),
+ // https://html.spec.whatwg.org/multipage/#the-tfoot-element:concept-element-dom
+ atom!("tfoot") => make!(HTMLTableSectionElement),
atom!("th") => make!(HTMLTableHeaderCellElement),
+ // https://html.spec.whatwg.org/multipage/#the-thead-element:concept-element-dom
+ atom!("thead") => make!(HTMLTableSectionElement),
atom!("time") => make!(HTMLTimeElement),
atom!("title") => make!(HTMLTitleElement),
atom!("tr") => make!(HTMLTableRowElement),