Closed Bug 876871 Opened 11 years ago Closed 11 years ago

vertical crop on focus indicator on OS X / Australis

Categories

(Firefox :: Theme, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: davida, Assigned: dao)

References

Details

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

Attachments

(3 files, 3 obsolete files)

Attached image screenshot
When I focus on the Google search field on OS X, the halo is cropped at the top and bottom, breaking the glowing metaphor.  See screenshot attachment.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20130527 Firefox/24.0
Not taking this for Australis:M7.
I don't know if there are bugs for these too, but the downloads button is having the same problem.
*is a bug for this.
Doesn't seem as severe for me (Retina, 10.8) with a current build, vs screenshot. Did this get better?
Whiteboard: [Australis:M?] → [Australis:M?][Australis:P4]
(In reply to Justin Dolske [:Dolske] from comment #4)
> Doesn't seem as severe for me (Retina, 10.8) with a current build, vs
> screenshot. Did this get better?

It did. We can ensure this just doesn't happen by changing our overflow settings for the overflowable toolbar. This will also mitigate bug 886939. Patch in a second.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Trivial patch.
Attachment #808623 - Flags: review?(jaws)
Attachment #808623 - Flags: review?(jaws) → review+
Component: Search → Toolbars and Customization
https://hg.mozilla.org/projects/ux/rev/5a056faa9b62
Whiteboard: [Australis:M?][Australis:P4] → [Australis:M9][Australis:P4][fixed-in-ux]
Except, of course, this sets overflow-y: auto still, which doesn't really do what we want it to do. In fact, because the back button is 31px high, with a negative margin, we trigger a vertical scrollbar on OS X. Sigh.
Attachment #808668 - Flags: review?(jaws)
Attachment #808668 - Flags: review?(jaws) → review+
Backed out in bug 0e19ff24a086 because using overflow: hidden in one direction means that even if you explicitly set overflow: visible, Gecko will actually render it as overflow: auto/scroll. See bug 353599. I'm hoping this will make nightlies so that we don't get a slew of "my navbar has a scrollbar" bugs filed.

Seems like the only way to fix this permanently would be to increase the inner height of the toolbar with a min-height, or stop using overflow altogether. I'm not sure if the latter is possible. Unassigning as I'm not sure of what a permanent fix here would entail. :-(
Assignee: gijskruitbosch+bugs → nobody
Whiteboard: [Australis:M9][Australis:P4][fixed-in-ux] → [Australis:M?][Australis:P4]
Attachment #808668 - Attachment is obsolete: true
Attachment #808623 - Attachment is obsolete: true
Attached patch patch (obsolete) — Splinter Review
How about this?
Assignee: nobody → dao
Attachment #809073 - Flags: feedback?(gijskruitbosch+bugs)
Attached patch patch v2Splinter Review
or even this, if that other patch isn't enough (I don't have OS X available to test this)
Comment on attachment 809075 [details] [diff] [review]
patch v2

This wfm. I believe that per spec, we need to change the horizontal padding on the navbar to be less than 4px (that is, the back button is currently too far out of the border), but we can take care of that in another bug.
Attachment #809075 - Flags: review+
Comment on attachment 809073 [details] [diff] [review]
patch

(In reply to :Gijs Kruitbosch from comment #10)
> Backed out in bug 0e19ff24a086 because using overflow: hidden in one
> direction means that even if you explicitly set overflow: visible, Gecko
> will actually render it as overflow: auto/scroll. See bug 353599. I'm hoping
> this will make nightlies so that we don't get a slew of "my navbar has a
> scrollbar" bugs filed.

BTW, note that this sadly didn't happen. So today's nightly, at least on OS X (but possibly elsewhere) will have a vertical scrollbar in the navbar. Sorry. (we can't retrigger nightlies because of bug 846104)
Attachment #809073 - Attachment is obsolete: true
Attachment #809073 - Flags: feedback?(gijskruitbosch+bugs)
https://hg.mozilla.org/projects/ux/rev/f74f64b2e35b
Component: Toolbars and Customization → Theme
Whiteboard: [Australis:M?][Australis:P4] → [Australis:M9][Australis:P4][fixed-in-ux]
https://hg.mozilla.org/mozilla-central/rev/f74f64b2e35b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M9][Australis:P4][fixed-in-ux] → [Australis:M9][Australis:P4]
Target Milestone: --- → Firefox 28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: