Commit Graph

3 Commits

Author SHA1 Message Date
Zaggy1024
b04f69e842 Tests: Simulate the first click in the double-click-password.html test
This changes the test result, as the input element gets focused as it
should be.

We probably need to look into excluding the contents of password inputs
from getSelection().toString() when the selection encompasses the input
at some point.
2026-03-17 04:01:29 -05:00
Jelle Raaijmakers
f55fe69d4d LibWeb: Rework Internals' mouse control
Instead of defining somewhat high level mouse actions, allow granular
control of mouse clicks and mouse down/up/move events. We will want to
simulate things like holding down a mouse button after double clicking
and then dragging the mouse to another position in the future, and this
enables that.
2026-02-06 14:18:10 +00:00
Timothy Flynn
57b5df21c7 LibWeb: Select the entire input when double clicking password fields
This matches the behavior of other browsers, and hides any indication
of word boundaries in the password.
2025-08-10 11:05:49 +02:00