mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Before this change, removing a style element from inside a shadow tree would cause it to be unregistered with the document-level list of sheets instead of the shadow-root-level list. This would eventually lead to a verification failure if someone tried to update the text contents of that style element, since it was still in the shadow-root-level list, but now with a null owner element. Fixes a crash on https://www.swedbank.se/
5 lines
155 B
Plaintext
5 lines
155 B
Plaintext
hello [object StyleSheetList]
|
|
Before remove, sheet count: 1
|
|
After remove, sheet count: 0
|
|
After setting innerText of removed sheet, we're still alive!
|