mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
Previously we would look for a matching ID, and then for a matching name. If there was an element in the collection which had a matching ID as well as an element with a matching name, we would always return the element with a matching ID irrespective of what order that element was in.
6 lines
60 B
Text
6 lines
60 B
Text
HTMLCollection
|
|
anchor1
|
|
anchor2
|
|
anchor3
|
|
anchor1
|
|
anchor2
|