Closed Bug 1553669 Opened 6 years ago Closed 6 years ago

scrollbar-color property also changes scrollbar thickness and thumb shape on Linux

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox69 --- affected

People

(Reporter: botond, Unassigned)

Details

Attachments

(1 file)

Attached file Testcase

STR:

Load the attached testcase in Firefox Nightly on Linux.

Expected results:

The scrollbars of the two divs differ only in the color of the track and thumb.

Actual results:

The scrollbars additionally differ in thickness, and shape of thumb (rectangular vs. rounded).

I think that this is kind of expected given how these properties work. They disable native theming, which is what otherwise gives us the thickness of the scroller.

It's not much different than: data:text/html,<button>Foo</button><button style="border-color: green">Bar</button>

But Xidorn can confirm.

Flags: needinfo?(xidorn+moz)

Yeah, that's expected, because Linux's theme is too flexible and it is almost impossible to provide the functionality on top of what provided by the system.

An alternative is to always use the custom rendering of scrollbar so that they are consistent. I suspect that would be more controversial. So I'd say this is a WONTFIX.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(xidorn+moz)
Resolution: --- → WONTFIX

There is also no more change in appearance when the mouse hovers over the thumb.

Is that expected as well? Are there plans to allow for this with scrollbar-color?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: