bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

[10.7] animate growing of lion-style scrollbars

NEW
Unassigned

Status

()

Core
Widget: Cocoa
5 years ago
5 years ago

People

(Reporter: spohl, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [lion-scrollbars-])

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
This is broken out of bug 636564 to allow for the patches there to land.

The growing of the lion-style scrollbars on hover in bug 636564 is not currently animated. Animate it!
(Reporter)

Comment 1

5 years ago
Created attachment 740582 [details] [diff] [review]
Patch

Initial work by Markus. Not fully working yet, but a great place to start.
(Reporter)

Updated

5 years ago
Duplicate of this bug: 868421
(Reporter)

Updated

5 years ago
Blocks: 636564
No longer depends on: 636564
(Reporter)

Updated

5 years ago
No longer blocks: 636564
Depends on: 636564
Whiteboard: [lion-scrollbars-]

Comment 3

5 years ago
Bug 863920 asks for the fade to be implemented with CSS transitions. Is this an option for this bug, too?
Maybe, but I doubt it. The question is what CSS property to do the transition on. Probably on either width (either on the whole scrollbar or only on the thumb inside) or padding. But these properties have values that are set through nsNativeThemeCocoa with the CSS being agnostic of their actual values; I'd like to keep it that way. Another problem is that any px value would be subject to zooming again, like in bug 868416. Maybe a percentage width on the thumb would work... Another thing is that I don't know whether CSS transitions would trigger the right reflows in the scrollbar frames. And it would be better to have an animation that doesn't require changing frame sizes, i.e. that works without reflows and only affects rendering.
You need to log in before you can comment on or make changes to this bug.