Steps to reproduce:
On mac
./mach run https://en.wikipedia.org/wiki/Main_Page --release
I just recorded a gif to show the behavior.
Here's the minimized test case.
<style>
.outer {
border: 1px solid red;
background-color: #efefef;
overflow: auto;
}
</style>
<div class="outer">
<h2>Today's featured picture</h2>
</div>
After commenting the border: 1px solid red;
, I can't scroll inside that div anymore.
Also, if there's only border
and no overflow
, I can't scroll either.
I think the issue is related to overflow
with border
.
cc @emilio
My educated guess is that the border is somehow calculated as part of the content, which may erroneously cause the weird scrolling behavior we see there.
Most helpful comment
Here's the minimized test case.
After commenting the
border: 1px solid red;
, I can't scroll inside that div anymore.Also, if there's only
border
and nooverflow
, I can't scroll either.I think the issue is related to
overflow
withborder
.cc @emilio