Closed
Bug 525724
Opened 15 years ago
Closed 15 years ago
Use CSS transitions for the tab bar overflow animation
Categories
(Firefox :: Tabbed Browser, enhancement)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 3.7a1
People
(Reporter: dao, Assigned: dao)
References
Details
Attachments
(1 file)
9.63 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #409586 -
Flags: review?(vladimir)
Comment on attachment 409586 [details] [diff] [review] patch Neat!
Attachment #409586 -
Flags: review?(vladimir) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 2•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/50ebd8af726d
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Comment 3•15 years ago
|
||
This doesn't work well... In this case (write userChrome.css): .tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active { background-color: #ff0000 !important; } :hover:active does animation. This is not preferable behavior. This doesn't work well either: .tabbrowser-arrowscrollbox > .scrollbutton-down:not(:hover:active) { -moz-transition: 1s background-color ease-out; }
Assignee | ||
Comment 4•15 years ago
|
||
You don't need to use background-color for the transition if this interferes with other states. See for instance gnomestripe, which uses -moz-box-shadow.
Comment 5•15 years ago
|
||
(In reply to comment #4) > You don't need to use background-color for the transition if this interferes > with other states. See for instance gnomestripe, which uses -moz-box-shadow. These work well. .tabbrowser-arrowscrollbox > .scrollbutton-down { -moz-transition: 1s background-color ease-out; } .tabbrowser-arrowscrollbox > .scrollbutton-down:hover, .tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active { -moz-transition: none; } .tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active { background-color: #ff0000; } However, I don't understand whether a present implement is good or bad.
Comment 6•15 years ago
|
||
Dao, while checking this bug I miss some information. So is it just an improvement when you scroll the tab bar? Or is it about the arrows on both sides?
Assignee | ||
Comment 7•15 years ago
|
||
This is about the scroll arrow at the end of the tab strip, which me animate briefly when a tab has been opened offscreen.
Comment 8•15 years ago
|
||
That's neat! Thanks for the info. Now that I can see it with one of the latest Minefield nightlies. Verified fixed on all platforms with builds like Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20091109 Minefield/3.7a1pre ID:20091109034249
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•