`overflow: scroll` behaves as `overflow: auto`
Categories
(Core :: Layout: Scrolling and Overflow, defect)
Tracking
()
People
(Reporter: vsevolodgol, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Steps to reproduce:
<div style="display:block;position:absolute;width:200px;height:200px;overflow:scroll;left:0;top:0px;background-color:bisque">
</div>
Actual results:
No scrollbars visible. Not when hovering, never.
Expected results:
Scrollbars should be visible regardless of if there is actually overflow or not. Both https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#syntax and https://www.w3.org/TR/css-overflow-3/#propdef-overflow say so.
Comment 1•10 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Scrolling and Overflow' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•10 months ago
|
||
The severity field is not set for this bug.
:hiro, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•10 months ago
|
||
This is by design if you're using overlay scrollbars. Overlay scrollbars overlay content, and thus can't be unconditionally shown without hiding content.
Description
•