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,5 +1,4 @@
[checkVisibility.html]
expected: CRASH
[checkVisibility on visibility:hidden element.]
expected: FAIL
@ -29,3 +28,18 @@
[checkVisibility on content-visibility:hidden element after forced layout update.]
expected: FAIL
[checkVisibility on element slotted in content-visibility: hidden shadow host.]
expected: FAIL
[checkVisibility on element slotted in display:none shadow host.]
expected: FAIL
[checkVisibility on display:contents element.]
expected: FAIL
[checkVisibility on element slotted in opacity: 0; shadow host.]
expected: FAIL
[checkVisibility on root element with content-visibility: hidden returns true.]
expected: FAIL