mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
This avoids keeping elements cached in an HTMLCollection alive longer than necessary in the following scenario: 1. The HTMLCollection cache is populated by querying it. 2. Elements that were included in the cache are removed from the DOM. 3. The cached elements are kept alive by strong references in the cache until it is updated, which might never happen.
6.2 KiB
6.2 KiB