aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/create.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-10-04 11:57:10 -0600
committerbors-servo <metajack+bors@gmail.com>2015-10-04 11:57:10 -0600
commit9eb0effaf674da0f24eb5e0ae8e290c9648598de (patch)
treeae803b1a005ffac95005e04fdf148a68412ac294 /components/script/dom/create.rs
parent02da3a1e34b14a895e2f05d25d40edea171aff99 (diff)
parentadbcb5345c6d87a4ebdf6763de4b4ff4a059cf47 (diff)
downloadservo-9eb0effaf674da0f24eb5e0ae8e290c9648598de.tar.gz
servo-9eb0effaf674da0f24eb5e0ae8e290c9648598de.zip
Auto merge of #7750 - frewsxcv:html-table-section-element-rows, r=nox
HTMLTableSectionElement improvements 'thead' and 'tfoot' now create instances of HTMLTableSectionElement HTMLTableSectionElement.rows has been implemented <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7750) <!-- Reviewable:end -->
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),