Closed Bug 923543 Opened 11 years ago Closed 11 years ago

Figure out what to do with blanket Toolbar.png rule on Linux

Categories

(Firefox :: Theme, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

(Whiteboard: [Australis:P3][Australis:M9])

Attachments

(1 file)

https://hg.mozilla.org/projects/ux/file/b46dbad96b50/browser/themes/linux/browser.css#l487

This is a little sad. I contained the problem right now by using a -moz-image-region that uses the fallback icon. AFAICT the Toolbar.png reference can just be removed, because it was only ever useful for a very small number of buttons (see http://mxr.mozilla.org/mozilla-central/source/browser/themes/linux/Toolbar.png ) and all of those are now covered by toolbarbuttons.inc.css, I believe.

Does that sound OK to people? (I didn't do this immediately because I didn't want to cause havoc in a bustage fix if there was something I was missing)
No longer blocks: 874674
Depends on: 874674
The more I think about this, the more I think this is the right idea. We don't have this rule on our other platforms, and the only thing this could break is buttons that we don't explicitly set icons for in toolbarbuttons.inc but did rely on this behaviour, which could only be add-ons reusing our icons within the main browser window, which would be a bad idea anyway.
Attachment #815537 - Flags: review?(mconley)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment on attachment 815537 [details] [diff] [review]
remove blanket toolbar.png rule,

Can you remove -moz-box-orient: vertical; as well? Not sure what the point of min-width: 0; is.
Attachment #815537 - Flags: review?(mconley) → review+
With comments addressed: https://hg.mozilla.org/projects/ux/rev/a99a67ddfb41

(I've left the min-width, but I don't understand it either. Perhaps we should just remove that, too?)
Whiteboard: [Australis:P3][Australis:M?] → [Australis:P3][Australis:M9][fixed-in-ux]
https://hg.mozilla.org/mozilla-central/rev/a99a67ddfb41
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3][Australis:M9][fixed-in-ux] → [Australis:P3][Australis:M9]
Target Milestone: --- → Firefox 28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: