Include non-shadowdom children of shadow hosts in style calculation (#34298)

* Include non-shadowdom children of shadow hosts in style calculation

This was previously causing crashes because the layout nodes
of those children would never be assigned style data by stylo.

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

* Update WPT expectations

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-20 20:28:35 +01:00 committed by GitHub
parent 2889e934f5
commit f3ad078358
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
77 changed files with 284 additions and 96 deletions

View file

@ -1,2 +1,3 @@
[declarative-after-attachshadow.html]
expected: CRASH
[Declarative Shadow DOM: declarative shadow should fail if attachShadow() already called]
expected: FAIL

View file

@ -1,2 +1,9 @@
[declarative-shadow-dom-repeats.html]
expected: CRASH
[Repeated declarative shadow roots keep only the first]
expected: FAIL
[Calling attachShadow() on declarative shadow root must match mode]
expected: FAIL
[Calling attachShadow() on declarative shadow root must match all parameters]
expected: FAIL

View file

@ -1,2 +1,3 @@
[innerhtml-on-ordinary-template.html]
expected: CRASH
[Declarative Shadow DOM: innerHTML should work on <template shadowroot> that is left over]
expected: FAIL