Closed Bug 1194943 Opened 9 years ago Closed 9 years ago

Consolidate URL and search bar :hover and [focused] border styling across Windows Vista / 7 and 8

Categories

(Firefox :: Theme, defect)

Unspecified
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 43
Tracking Status
firefox43 --- fixed

People

(Reporter: dao, Assigned: dao)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
On Windows 8 we use the same hardcoded border color as on Windows Vista and 7 for the default state, but strangely not the accompanying colors for :hover and [focused]. This patch removes this inconsistency.

Alternatively, we could make Windows 8 use the Windows 10 styling. I think this would actually make sense but it would be a more radical change from what we've been doing on Windows 8.
Attachment #8648347 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 8648347 [details] [diff] [review]
patch

Review of attachment 8648347 [details] [diff] [review]:
-----------------------------------------------------------------

Code-wise, this looks excellent.

Visually, I'm not entirely convinced. I rather liked the darker blue for the focused state. It also seems like it matches the hover state for the toolbarbuttons on the bookmarks bar (caused by moz-appearance: toolbarbutton, so not entirely sure what the colors are there and judging purely by eye) better. Is that just me? Maybe check in with Philipp/Steven?
Attachment #8648347 - Flags: review?(gijskruitbosch+bugs) → review+
(In reply to :Gijs Kruitbosch from comment #1)
> Comment on attachment 8648347 [details] [diff] [review]
> patch
> 
> Review of attachment 8648347 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Code-wise, this looks excellent.
> 
> Visually, I'm not entirely convinced. I rather liked the darker blue for the
> focused state. It also seems like it matches the hover state for the
> toolbarbuttons on the bookmarks bar

I don't think we should over-rotate on this. Windows 8 should soon be a walking dead thanks to the free and aggressive Win10 upgrade. Generally I think our quality on 8 will benefit from treating it like 7 or 10 where appropriate rather than having special treatment that engineers and testers are increasingly unlikely to dogfood.
Philipp, do you have thoughts on this? Should we use the URL and search bar's hover and focused styling we introduced for Windows 10 on Windows 8 too? If not, I think we should align it with the Windows 7 style as done by my patch; this would be a rather subtle change from what we're currently doing on Windows 8.
Flags: needinfo?(philipp)
Here's another option. The focus color hardcoded for 7 is very close to the native Highlight color, so by just using that we can get the desired blue shades across the board.
Attachment #8652849 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 8652849 [details] [diff] [review]
alternative patch

Yes, I prefer this. Thanks!

(I also ran into bug 1010676 when reviewing this, and I wonder if we should port the fix you wrote in bug 550366 to the new-style customization mode, because bug 559561 doesn't seem to be getting too much traction...)
Flags: needinfo?(philipp)
Attachment #8652849 - Flags: review?(gijskruitbosch+bugs) → review+
Attachment #8648347 - Attachment is obsolete: true
Summary: Use URL and search bar :hover and [focused] border styling for Windows Vista and 7 on Windows 8 too → Consolidate URL and search bar :hover and [focused] border styling across Windows Vista / 7 and 8
https://hg.mozilla.org/mozilla-central/rev/719b74e30b3e
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: