mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
script: Implement Element::GetHTML
and ShadowRoot::GetHTML
(#36106)
* Serialize html fragments without going through html5ever Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Implement ShadowRoot::GetHtml / Element::GetHtml Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Propagate CanGc annotations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
1c9f486f88
commit
19d5f5f06f
12 changed files with 286 additions and 15941 deletions
|
@ -4613,12 +4613,6 @@
|
|||
[DOMStringList interface: calling contains(DOMString) on location.ancestorOrigins with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "getHTML(optional GetHTMLOptions)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: calling getHTML(optional GetHTMLOptions) on document.createElement("noscript") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "innerHTML" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5918,12 +5912,6 @@
|
|||
[ShadowRoot interface: operation setHTMLUnsafe((TrustedHTML or DOMString))]
|
||||
expected: FAIL
|
||||
|
||||
[ShadowRoot interface: operation getHTML(optional GetHTMLOptions)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: operation getHTML(optional GetHTMLOptions)]
|
||||
expected: FAIL
|
||||
|
||||
[OffscreenCanvasRenderingContext2D interface: operation getContextAttributes()]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5966,12 +5954,6 @@
|
|||
[OffscreenCanvasRenderingContext2D interface: attribute lang]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("div") must inherit property "getHTML(optional GetHTMLOptions)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: calling getHTML(optional GetHTMLOptions) on document.createElement("div") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("div") must inherit property "innerHTML" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
[gethtml-ordering.html]
|
||||
expected: ERROR
|
||||
[template position]
|
||||
expected: FAIL
|
||||
|
||||
[both template and attribute position]
|
||||
expected: FAIL
|
||||
|
|
15816
tests/wpt/meta/shadow-dom/declarative/gethtml.html.ini
vendored
15816
tests/wpt/meta/shadow-dom/declarative/gethtml.html.ini
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue