mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +00:00
LibWeb: Let style elements remember which StyleSheetList they live in
Instead of trying to locate the relevant StyleSheetList on style element removal from the DOM, we now simply keep a pointer to the list instead. This fixes an issue where using attachShadow() on an element that had a declarative shadow DOM would cause any style elements present to use the wrong StyleSheetList when removing themselves from the tree.
This commit is contained in:
parent
2064be708f
commit
8543b8ad6a
Notes:
github-actions[bot]
2024-09-21 06:56:52 +00:00
Author: https://github.com/awesomekling
Commit: 8543b8ad6a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1467
6 changed files with 30 additions and 25 deletions
|
@ -0,0 +1 @@
|
|||
PASS (didn't crash)
|
Loading…
Add table
Add a link
Reference in a new issue