Implement ShadowRoot.innerHtml attribute (#34335)

* Implement DocumentFragment::fragment_serialization_algorithm

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Implement ShadowRoot innerHtml attribute

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* cargo-clippy

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Reuse existing serialization code and move helpers into Node

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Fix typo

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:
Simon Wülker 2024-11-22 18:07:01 +01:00 committed by GitHub
parent 44ed111c0a
commit 1198b26ec9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 120 additions and 127 deletions

View file

@ -1,3 +0,0 @@
[getComputedStyle-display-none-001.html]
[getComputedStyle gets invalidated in display: none subtrees due to inherited changes to an ancestor shadow host]
expected: FAIL

View file

@ -1,6 +0,0 @@
[selectorText-modification-restyle-002.html]
[Check initial color.]
expected: FAIL
[Check that color changes correctly after shadow stylesheet selector and #container class is changed.]
expected: FAIL

View file

@ -1,18 +1,6 @@
[host-context-pseudo-class-in-has.html]
[Before adding 'a' to #host_parent: Check #subject1 color]
expected: FAIL
[Before adding 'a' to #host_parent: Check #subject2 color]
expected: FAIL
[After adding 'a' to #host_parent: Check #subject1 color]
expected: FAIL
[After adding 'a' to #host_parent: Check #subject2 color]
expected: FAIL
[After removing 'a' from #host_parent: Check #subject1 color]
expected: FAIL
[After removing 'a' from #host_parent: Check #subject2 color]
expected: FAIL
expected: FAIL

View file

@ -1,10 +1,4 @@
[host-pseudo-class-in-has.html]
[Before adding 'a' to #host: Check #subject1 color]
expected: FAIL
[Before adding 'a' to #host: Check #subject2 color]
expected: FAIL
[After adding 'a' to #host: Check #subject1 color]
expected: FAIL

View file

@ -1,7 +1,4 @@
[is-where-shadow.html]
[:is() inside :host()]
expected: FAIL
[:is() inside :host-context()]
expected: FAIL