aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-06-01 15:49:23 -0400
committerbors-servo <release+servo@mozilla.com>2014-06-01 15:49:23 -0400
commit05acf4131713259d54750ea751f1619e5813ff29 (patch)
tree9a99fce92eec94756577b50520d6773fc405b967 /src/components/script/html/hubbub_html_parser.rs
parent6751990c0d6e55d694ecc83371197536f4c87c47 (diff)
parent49362aa2557086be158057ea234c3e52512733ca (diff)
downloadservo-05acf4131713259d54750ea751f1619e5813ff29.tar.gz
servo-05acf4131713259d54750ea751f1619e5813ff29.zip
auto merge of #2544 : saneyuki/servo/rm_main, r=jdm
Fix #2541
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index d06f6191700..9c06a91a31b 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -229,7 +229,7 @@ pub fn build_element_from_tag(tag: DOMString, document: &JSRef<Document>) -> Tem
handle_element!(document, tag, "legend", HTMLLegendElement);
handle_element!(document, tag, "li", HTMLLIElement);
handle_element!(document, tag, "link", HTMLLinkElement);
- handle_element!(document, tag, "main", HTMLMainElement);
+ handle_element!(document, tag, "main", HTMLElement);
handle_element!(document, tag, "map", HTMLMapElement);
handle_element!(document, tag, "mark", HTMLElement);
handle_element!(document, tag, "marquee", HTMLElement);