ladybird/Userland/Services
Timothy Flynn 9f872d9aab WebContent: Do not use NodeIterator to iterate DOM nodes backwards
A NodeIterator rooted at some element cannot produce an element before
that root. That is, in a DOM tree such as:

    <div id=one><div id=two><div id=three></div></div></div>

If we create a NodeIterator rooted at element `three`, then invoking the
previousNode() method on that iterator is guaranteed to return null.

There was also a bug here where if we ever did enter the while() loop,
we would have looped indefinitely, as we were not updating the current
node.
2024-10-24 18:59:51 -04:00
..
ImageDecoder LibIPC+Everywhere: Introduce an IPC Transport abstraction 2024-10-23 12:29:01 -06:00
RequestServer LibIPC+Everywhere: Introduce an IPC Transport abstraction 2024-10-23 12:29:01 -06:00
WebContent WebContent: Do not use NodeIterator to iterate DOM nodes backwards 2024-10-24 18:59:51 -04:00
WebDriver LibIPC+Everywhere: Introduce an IPC Transport abstraction 2024-10-23 12:29:01 -06:00
WebWorker LibIPC+Everywhere: Introduce an IPC Transport abstraction 2024-10-23 12:29:01 -06:00