Closed Bug 1890751 Opened 10 months ago Closed 10 months ago

`overflow: scroll` behaves as `overflow: auto`

Categories

(Core :: Layout: Scrolling and Overflow, defect)

Firefox 124
defect

Tracking

()

RESOLVED INVALID

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.

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.

Component: Untriaged → Layout: Scrolling and Overflow
Product: Firefox → Core

The severity field is not set for this bug.
:hiro, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(hikezoe.birchill)

This is by design if you're using overlay scrollbars. Overlay scrollbars overlay content, and thus can't be unconditionally shown without hiding content.

Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Flags: needinfo?(hikezoe.birchill)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.