aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2013-10-31 15:53:43 +0100
committerMs2ger <ms2ger@gmail.com>2013-10-31 15:53:43 +0100
commit7c17970c216fb1f3d2b5d56b973de8043a044de7 (patch)
tree420e4e0ef95a837b58805b10e243c167dd74ec87 /src/components/script/html
parent8e5cd9f3a86798ab382e3cfdefe37e06ed121544 (diff)
downloadservo-7c17970c216fb1f3d2b5d56b973de8043a044de7.tar.gz
servo-7c17970c216fb1f3d2b5d56b973de8043a044de7.zip
Introduce HTMLIFrameElement::new.
Diffstat (limited to 'src/components/script/html')
-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 7d8553b6099..ff7b17d5997 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -271,7 +271,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_element!(cx, document, tag, "ul", HTMLUListElementTypeId, HTMLUListElement, []);
handle_element!(cx, document, tag, "img", HTMLImageElementTypeId, HTMLImageElement, [(image: None)]);
- handle_element!(cx, document, tag, "iframe", HTMLIframeElementTypeId, HTMLIFrameElement, [(frame: None), (size: None), (sandbox: None)]);
handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement);
handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement);
@@ -286,6 +285,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_newable_element!(document, tag, "h4", HTMLHeadingElement, Heading4);
handle_newable_element!(document, tag, "h5", HTMLHeadingElement, Heading5);
handle_newable_element!(document, tag, "h6", HTMLHeadingElement, Heading6);
+ handle_newable_element!(document, tag, "iframe", HTMLIFrameElement);
handle_newable_element!(document, tag, "td", HTMLTableDataCellElement);
handle_newable_element!(document, tag, "th", HTMLTableHeaderCellElement);
handle_newable_element!(document, tag, "video", HTMLVideoElement);