1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 17:14:58 +00:00
serenity/Tests/LibWeb/Ref/reference/scroll-using-mousewheel-event-ref.html
Aliaksandr Kalenik 40246adfb9 LibWeb: Add internals.wheel() to simulate mouse wheel events
This function allows us to write tests for scrolling scenarios where
the events are processed by the EventHandler.
2024-02-10 11:18:40 +01:00

12 lines
215 B
HTML

<!DOCTYPE html>
<style>
.item {
width: 100px;
height: 100px;
box-sizing: border-box;
border: 1px solid black;
}
</style>
<div class="item">2</div>
<div class="item">3</div>
<div class="item">4</div>