serenity/Tests/LibWeb/Ref/box-without-scrollable-overflow-should-not-consume-scroll-events.html
matjojo cd1eeb3cdd LibWeb: Do not consume scroll event in PaintableBox without overflow
Specifically, without scrollable overflow.

Fixes #24009, both on brave.com and on the reduction.
2024-05-07 14:04:02 +00:00

27 lines
646 B
HTML

<!DOCTYPE html>
<link rel="match" href="reference/box-without-scrollable-overflow-should-not-consume-scroll-events-ref.html" />
<style>
.item {
width: 100px;
height: 100px;
box-sizing: border-box;
border: 1px solid black;
}
.item1 { overflow: auto; }
.scrollable {
overflow-y: scroll;
width: 100px;
height: 300px;
scrollbar-width: none;
}
</style>
<div class="scrollable">
<div class="item item1">1</div>
<div class="item">2</div>
<div class="item">3</div>
<div class="item">4</div>
</div>
<script>
internals.wheel(10, 10, 0, 100);
</script>