mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
Auto merge of #8201 - KiChjang:add-missing-htmlpreelement, r=jdm
Add missing htmlpreelement Fixes #7995. My tests came out pretty weird, with additional crashes and timeouts. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8201) <!-- Reviewable:end -->
This commit is contained in:
commit
6c051ce828
3 changed files with 3 additions and 12 deletions
|
@ -197,6 +197,7 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
|
|||
atom!("output") => make!(HTMLOutputElement),
|
||||
atom!("p") => make!(HTMLParagraphElement),
|
||||
atom!("param") => make!(HTMLParamElement),
|
||||
atom!("plaintext") => make!(HTMLPreElement),
|
||||
atom!("pre") => make!(HTMLPreElement),
|
||||
atom!("progress") => make!(HTMLProgressElement),
|
||||
atom!("q") => make!(HTMLQuoteElement),
|
||||
|
@ -239,6 +240,7 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
|
|||
atom!("var") => make!(HTMLElement),
|
||||
atom!("video") => make!(HTMLVideoElement),
|
||||
atom!("wbr") => make!(HTMLElement),
|
||||
atom!("xmp") => make!(HTMLPreElement),
|
||||
_ => make!(HTMLUnknownElement),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2355,21 +2355,9 @@
|
|||
[HTMLPreElement interface: document.createElement("listing") must inherit property "width" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLPreElement must be primary interface of document.createElement("plaintext")]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of document.createElement("plaintext")]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLPreElement interface: document.createElement("plaintext") must inherit property "width" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLPreElement must be primary interface of document.createElement("xmp")]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of document.createElement("xmp")]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLPreElement interface: document.createElement("xmp") must inherit property "width" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -8,3 +8,4 @@
|
|||
|
||||
[document.createTouchList exists and correctly creates a TouchList from two Touch objects]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue