Closed Bug 1246212 Opened 10 years ago Closed 7 years ago

overflow: scroll should default to always showing a scrollbar on Fennec

Categories

(Firefox for Android Graveyard :: General, defect)

46 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: alex, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:46.0) Gecko/20100101 Firefox/46.0 Build ID: 20160205004003 Firefox for Android Steps to reproduce: For content: <div style="width: 100px; height: 100px; overflow: scroll"> <div style="width: 1000px; height: 1000px;"></div> </div> Actual results: There should be visible scrollbars on Fennec. Expected results: No scrollbar is visible. Chrome on Android currently shows a scrollbar. There are many situations in which it is crucial to show scroll position to the user. I understand the need to maximize space on mobile, but it's often unclear that an element's contents are scrollable without a visual indicator. If I'm not mistaken on Fennec right now there is no way to show a native scrollbar for the above markup. For designers who want to suppress the scrollbar, the ancient "overflow-style" property could be resurrected and implemented with support for "none". See 1011851 and: https://www.w3.org/TR/css3-box/#overflow-style https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-overflow-style Note also that the Overflow Module Level 3: https://drafts.csswg.org/css-overflow-3/ explicitly leaves it up to the UA's discretion whether or not to show scrollbars.
Component: Untriaged → General
Product: Firefox → Firefox for Android
I don't see scroll bars in Chrome for Android using your testcase from comment 0. Using a Nexus 5p.
Thanks for the report! I will close this bug as invalid based on comment 2. If you have another test case and the issue is reproducible, feel free to reopen. Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: