mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Fix a few incorrect Element interfaces
This commit is contained in:
parent
202a7e3f13
commit
cc8994422b
3 changed files with 14 additions and 52 deletions
|
@ -116,9 +116,13 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
|
||||||
atom!("base") => make!(HTMLBaseElement),
|
atom!("base") => make!(HTMLBaseElement),
|
||||||
atom!("bdi") => make!(HTMLElement),
|
atom!("bdi") => make!(HTMLElement),
|
||||||
atom!("bdo") => 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!("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!("body") => make!(HTMLBodyElement),
|
||||||
atom!("br") => make!(HTMLBRElement),
|
atom!("br") => make!(HTMLBRElement),
|
||||||
atom!("button") => make!(HTMLButtonElement),
|
atom!("button") => make!(HTMLButtonElement),
|
||||||
|
@ -166,7 +170,8 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
|
||||||
atom!("img") => make!(HTMLImageElement),
|
atom!("img") => make!(HTMLImageElement),
|
||||||
atom!("input") => make!(HTMLInputElement),
|
atom!("input") => make!(HTMLInputElement),
|
||||||
atom!("ins") => make!(HTMLModElement),
|
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!("kbd") => make!(HTMLElement),
|
||||||
atom!("label") => make!(HTMLLabelElement),
|
atom!("label") => make!(HTMLLabelElement),
|
||||||
atom!("legend") => make!(HTMLLegendElement),
|
atom!("legend") => make!(HTMLLegendElement),
|
||||||
|
@ -178,7 +183,11 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
|
||||||
atom!("marquee") => make!(HTMLElement),
|
atom!("marquee") => make!(HTMLElement),
|
||||||
atom!("meta") => make!(HTMLMetaElement),
|
atom!("meta") => make!(HTMLMetaElement),
|
||||||
atom!("meter") => make!(HTMLMeterElement),
|
atom!("meter") => make!(HTMLMeterElement),
|
||||||
|
// https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:multicol
|
||||||
|
atom!("multicol") => make!(HTMLUnknownElement),
|
||||||
atom!("nav") => make!(HTMLElement),
|
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!("nobr") => make!(HTMLElement),
|
||||||
atom!("noframes") => make!(HTMLElement),
|
atom!("noframes") => make!(HTMLElement),
|
||||||
atom!("noscript") => make!(HTMLElement),
|
atom!("noscript") => make!(HTMLElement),
|
||||||
|
@ -202,7 +211,8 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
|
||||||
atom!("select") => make!(HTMLSelectElement),
|
atom!("select") => make!(HTMLSelectElement),
|
||||||
atom!("small") => make!(HTMLElement),
|
atom!("small") => make!(HTMLElement),
|
||||||
atom!("source") => make!(HTMLSourceElement),
|
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!("span") => make!(HTMLSpanElement),
|
||||||
atom!("strike") => make!(HTMLElement),
|
atom!("strike") => make!(HTMLElement),
|
||||||
atom!("strong") => make!(HTMLElement),
|
atom!("strong") => make!(HTMLElement),
|
||||||
|
|
|
@ -2109,24 +2109,6 @@
|
||||||
[HTMLUnknownElement interface: existence and properties of interface object]
|
[HTMLUnknownElement interface: existence and properties of interface object]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLUnknownElement must be primary interface of document.createElement("bgsound")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Stringification of document.createElement("bgsound")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLUnknownElement must be primary interface of document.createElement("isindex")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Stringification of document.createElement("isindex")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLUnknownElement must be primary interface of document.createElement("spacer")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Stringification of document.createElement("spacer")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLHtmlElement interface: existence and properties of interface object]
|
[HTMLHtmlElement interface: existence and properties of interface object]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -2445,12 +2427,6 @@
|
||||||
[HTMLQuoteElement interface: attribute cite]
|
[HTMLQuoteElement interface: attribute cite]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLQuoteElement must be primary interface of document.createElement("blockquote")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Stringification of document.createElement("blockquote")]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLQuoteElement interface: document.createElement("blockquote") must inherit property "cite" with the proper type (0)]
|
[HTMLQuoteElement interface: document.createElement("blockquote") must inherit property "cite" with the proper type (0)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
[interfaces.html]
|
[interfaces.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[Interfaces for bgsound]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for blockquote]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for isindex]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for keygen]
|
[Interfaces for keygen]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -27,9 +18,6 @@
|
||||||
[Interfaces for plaintext]
|
[Interfaces for plaintext]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for spacer]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for tfoot]
|
[Interfaces for tfoot]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -45,15 +33,6 @@
|
||||||
[Interfaces for command]
|
[Interfaces for command]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for BGSOUND]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for BLOCKQUOTE]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for ISINDEX]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for KEYGEN]
|
[Interfaces for KEYGEN]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -72,9 +51,6 @@
|
||||||
[Interfaces for PLAINTEXT]
|
[Interfaces for PLAINTEXT]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for SPACER]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for TFOOT]
|
[Interfaces for TFOOT]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue