ladybird/Userland/Libraries/LibWeb/Page
Timothy Flynn 96b5646fc1 LibWeb: Properly handle when (shift+)tab wraps around the page
We have support for using (shift+)tab to move focus to the next/previous
element on the page. However, there were several ways for this to crash
as written. This updates our implementation to check if we did not find
a node to move focus to, and to reset focus to the first/last node in
the document.

This doesn't seem to work when wrapping around from the first to the
last node. A FIXME has been added for that, as this would already not
work before this patch (the main focus here is not crashing).
2024-10-10 10:41:10 +02:00
..
DragAndDropEventHandler.cpp LibWeb+LibWebView+WebContent: Return a named enum from UI event handlers 2024-09-12 17:38:36 -04:00
DragAndDropEventHandler.h LibWeb+LibWebView+WebContent: Return a named enum from UI event handlers 2024-09-12 17:38:36 -04:00
EditEventHandler.cpp LibWeb: Note what's causing a style invalidation to happen 2024-09-08 09:45:31 +02:00
EditEventHandler.h LibWeb: Move the navigable's cursor position to be owned by the document 2024-08-02 18:40:39 +02:00
EventHandler.cpp LibWeb: Properly handle when (shift+)tab wraps around the page 2024-10-10 10:41:10 +02:00
EventHandler.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
EventResult.h LibWeb+LibWebView+WebContent: Return a named enum from UI event handlers 2024-09-12 17:38:36 -04:00
InputEvent.cpp LibWeb+LibWebView+WebContent: Add IPC to send drag-and-drop events 2024-08-19 13:29:19 +02:00
InputEvent.h LibWeb+LibWebView+WebContent: Add IPC to send drag-and-drop events 2024-08-19 13:29:19 +02:00
Page.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Page.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00