Closed Bug 924182 Opened 11 years ago Closed 11 years ago

Don't draw the TabsToolbar bottom border unless using a lightweight theme

Categories

(Firefox :: Theme, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: mconley, Assigned: mconley)

References

Details

(Keywords: perf, Whiteboard: [Australis:M9][Australis:P1])

Attachments

(1 file, 1 obsolete file)

We have a hack-y rule that draws a bottom border on the TabsToolbar, but the border isn't really necessary unless using a lightweight theme.
Attached patch Patch v1 (obsolete) (deleted) — Splinter Review
Makes this rule specific to lightweight themes. Tested with both light and dark themes. Everything seemed hunky-dory there, and fine with the default theme.
Attachment #814186 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 814186 [details] [diff] [review] Patch v1 Review of attachment 814186 [details] [diff] [review]: ----------------------------------------------------------------- This is the right idea, but breaks when drawInTitlebar = false, as there's no bottom border for the navbar. Also, even with drawInTitlebar = true, there's a subtle change in the contrast with the (unselected) tab separators (according to my eyes and the digital color meter thing in OS X when comparing two screenshots of current trunk and trunk + 924181 + 924182). I think we should land this when you fix the drawInTitlebar case, but we should file a P5 followup to check with Stephen and get new images for those separators if necessary.
Attachment #814186 - Flags: review?(gijskruitbosch+bugs)
(In reply to :Gijs Kruitbosch from comment #2) > there's no bottom border for the navbar. I meant the tabbar, of course. :-|
Ah, good eyes! Ok, I'll fix the drawInTitlebar = false case.
Attached patch Patch v1.1 (deleted) — Splinter Review
Handles not drawing in the titlebar
Attachment #814186 - Attachment is obsolete: true
Comment on attachment 814202 [details] [diff] [review] Patch v1.1 How does this look to you?
Attachment #814202 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 814202 [details] [diff] [review] Patch v1.1 Review of attachment 814202 [details] [diff] [review]: ----------------------------------------------------------------- (In reply to Mike Conley (:mconley) from comment #6) > Comment on attachment 814202 [details] [diff] [review] > Patch v1.1 > > How does this look to you? It makes me sad we don't have any way to tell whether tabsintitlebar is true from the tabstrip itself. Yucky descendant selectors. But otherwise, yeah, that WFM, and works with drawInTitlebar turned off. Thanks!
Attachment #814202 - Flags: review?(gijskruitbosch+bugs) → review+
Status: NEW → ASSIGNED
Whiteboard: [Australis:M9][Australis:P1][fixed-in-ux]
Depends on: 926286
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M9][Australis:P1][fixed-in-ux] → [Australis:M9][Australis:P1]
Target Milestone: --- → Firefox 28
Blocks: 1016742
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: