mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Add focused coverage for the ElementByIdMap that is easy to regress while optimizing lookup paths. The dynamic mutations test verifies duplicate id tree order semantics remain correct after reordering, id changes, removals, and reintroduction. The shadow root routing test verifies lookups stay routed to the correct scope when an element with an id is removed and moved across shadow roots and into the document.
6 lines
123 B
Plaintext
6 lines
123 B
Plaintext
initial: first
|
|
after reorder: second
|
|
after first id change: second
|
|
after removing second: null
|
|
after restoring first: true
|