Don't tell stylo about stylesheets that are not in a browsing context (#35606)

* Don't register stylesheets outside of a browsing context with 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 2025-02-24 21:04:18 +01:00 committed by GitHub
parent be6765447d
commit cdc33b398c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 31 deletions

View file

@ -1,5 +1,4 @@
[slot-element-focusable.tentative.html]
expected: CRASH
[slot element with display: block should be focusable]
expected: FAIL