OSX lion scrollbars may require CSS change to themes (Fx24+)

Discuss application theming and theme development.
Post Reply
spohl
Posts: 1
Joined: September 9th, 2013, 5:24 pm

OSX lion scrollbars may require CSS change to themes (Fx24+)

Post by spohl »

Recently, while working on lion style (overlay) scrollbars for Mac OSX (https://bugzilla.mozilla.org/show_bug.cgi?id=636564), we became aware of an issue that may affect themes. The issue is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=912686.

When users connect/disconnect an external mouse from MacBooks, the system preference for scrollbars can change from permanently visible to disappearing scrollbars, and vice-versa. The CSS for scrollbars was modified in Firefox to handle this situation and may need to be propagated to themes. Without this change, scrollbars may no longer display correctly on web pages when an external mouse is connected/disconnected from the system until the individual pages are refreshed.

The changed CSS of interest is in nativescrollbars.css between the following lines:
http://hg.mozilla.org/mozilla-central/annotate/218d4334d29e/toolkit/themes/osx/global/nativescrollbars.css#l8
http://hg.mozilla.org/mozilla-central/annotate/218d4334d29e/toolkit/themes/osx/global/nativescrollbars.css#l32

For comparison, here is the file before the necessary changes:
http://hg.mozilla.org/mozilla-central/annotate/7318b2b26843/toolkit/themes/osx/global/nativescrollbars.css

The overlay scrollbars are scheduled to be released in Fx24.

If there is any other info that you think might be helpful to update your themes and become compatible with lion style scrollbars on OSX, please let me know. Thanks!

:spohl
User avatar
dkgo
Posts: 56
Joined: January 28th, 2008, 7:27 am

Re: OSX lion scrollbars may require CSS change to themes (Fx

Post by dkgo »

thanks spohl
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: OSX lion scrollbars may require CSS change to themes (Fx

Post by mcdavis »

Thanks spohl, it was nice of you to post.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
Robert S.
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Re: OSX lion scrollbars may require CSS change to themes (Fx

Post by Robert S. »

Thanks for posting the changes!
Post Reply