mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
cd1eeb3cdd
Specifically, without scrollable overflow. Fixes #24009, both on brave.com and on the reduction.
26 lines
646 B
HTML
26 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>
|