diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-13 06:23:42 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-13 06:23:42 -0600 |
commit | dbd614045b415640c0d466a68ea26cd94ece356c (patch) | |
tree | 81b7a74efe56487a74908b78f49702a2a8a2fadd /components/script | |
parent | b05f4aa3aa3085e65cb75433ae37bf272216d033 (diff) | |
parent | be3352f3794c5ee761a2da3f080748b34d346255 (diff) | |
download | servo-dbd614045b415640c0d466a68ea26cd94ece356c.tar.gz servo-dbd614045b415640c0d466a68ea26cd94ece356c.zip |
Auto merge of #7614 - frewsxcv:incorrect-element-interfaces, r=nox
Fix a few incorrect Element interfaces
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7614)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/create.rs | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/components/script/dom/create.rs b/components/script/dom/create.rs index 9b226c73e33..55bef524640 100644 --- a/components/script/dom/create.rs +++ b/components/script/dom/create.rs @@ -116,9 +116,13 @@ pub fn create_element(name: QualName, prefix: Option<Atom>, atom!("base") => make!(HTMLBaseElement), atom!("bdi") => make!(HTMLElement), atom!("bdo") => make!(HTMLElement), - atom!("bgsound") => make!(HTMLElement), + // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:bgsound + atom!("bgsound") => make!(HTMLUnknownElement), atom!("big") => make!(HTMLElement), - atom!("blockquote") => make!(HTMLElement), + // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:blink + atom!("blink") => make!(HTMLUnknownElement), + // https://html.spec.whatwg.org/multipage/#the-blockquote-element + atom!("blockquote") => make!(HTMLQuoteElement), atom!("body") => make!(HTMLBodyElement), atom!("br") => make!(HTMLBRElement), atom!("button") => make!(HTMLButtonElement), @@ -166,7 +170,8 @@ pub fn create_element(name: QualName, prefix: Option<Atom>, atom!("img") => make!(HTMLImageElement), atom!("input") => make!(HTMLInputElement), atom!("ins") => make!(HTMLModElement), - atom!("isindex") => make!(HTMLElement), + // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:isindex-2 + atom!("isindex") => make!(HTMLUnknownElement), atom!("kbd") => make!(HTMLElement), atom!("label") => make!(HTMLLabelElement), atom!("legend") => make!(HTMLLegendElement), @@ -178,7 +183,11 @@ pub fn create_element(name: QualName, prefix: Option<Atom>, atom!("marquee") => make!(HTMLElement), atom!("meta") => make!(HTMLMetaElement), atom!("meter") => make!(HTMLMeterElement), + // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:multicol + atom!("multicol") => make!(HTMLUnknownElement), atom!("nav") => make!(HTMLElement), + // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:nextid + atom!("nextid") => make!(HTMLUnknownElement), atom!("nobr") => make!(HTMLElement), atom!("noframes") => make!(HTMLElement), atom!("noscript") => make!(HTMLElement), @@ -202,7 +211,8 @@ pub fn create_element(name: QualName, prefix: Option<Atom>, atom!("select") => make!(HTMLSelectElement), atom!("small") => make!(HTMLElement), atom!("source") => make!(HTMLSourceElement), - atom!("spacer") => make!(HTMLElement), + // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:spacer + atom!("spacer") => make!(HTMLUnknownElement), atom!("span") => make!(HTMLSpanElement), atom!("strike") => make!(HTMLElement), atom!("strong") => make!(HTMLElement), |