Files
ladybird/Tests/LibWeb/Text/input/UIEvents/auxevent.html
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

23 lines
455 B
HTML

<!DOCTYPE html>
<style>
body {
margin: 0px;
padding: 5px;
width: 200px;
height: 200px;
}
</style>
<script src="../include.js"></script>
<script>
asyncTest(done => {
document.body.onauxclick = () => {
println("auxclick event fired");
done();
};
window.onload = () => {
internals.click(10, 10, 1, internals.BUTTON_MIDDLE);
};
});
</script>