Closed Bug 932719 Opened 11 years ago Closed 11 years ago

Zoom controls percentage label is too narrow when on the toolbar on OS X (at least on hidpi)

Categories

(Firefox :: Theme, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: Gijs, Assigned: jaws)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [Australis:P4][Australis:M9])

Attachments

(2 files)

No description provided.
Summary: Zoom controls percentage label is too narrow on OS X (at least on hidpi) → Zoom controls percentage label is too narrow when on the toolbar on OS X (at least on hidpi)
It shouldn't be visible in the toolbar. This is a regression.
I wonder what broke this...
(In reply to Mike de Boer [:mikedeboer] from comment #1) > It shouldn't be visible in the toolbar. This is a regression. This was a deliberate change. Bug 924933.
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Disabling the min-width on the toolbarbutton for the #zoom-reset-button was necessary to get the .toolbarbutton-text min-width to apply. Also tweaked the values for OSX and Windows to look better.
Attachment #824769 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 824769 [details] [diff] [review] Patch Review of attachment 824769 [details] [diff] [review]: ----------------------------------------------------------------- LGTM!
Attachment #824769 - Flags: review?(gijskruitbosch+bugs) → review+
Whiteboard: [Australis:P4] → [Australis:P4][Australis:M9][fixed-in-ux]
Comment on attachment 824769 [details] [diff] [review] Patch Review of attachment 824769 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/shared/customizableui/panelUIOverlay.inc.css @@ +410,5 @@ > display: none; > } > > #zoom-controls[cui-areatype="toolbar"] > #zoom-reset-button > .toolbarbutton-text { > +%ifdef XP_MACOSX don't we have OS-specific panelUIOverlay.css files for this? (I was looking at this patch, because I'm touching the widgets too ;) )
Yeah, we do. We need to have a larger discussion around when we think it is acceptable to place OS-specific styling side-by-side like here or in a separate file. For this case, I felt that it was better to have them close to each other instead of the OS-specific one overriding the shared style.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P4][Australis:M9][fixed-in-ux] → [Australis:P4][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: