Closed Bug 947708 Opened 11 years ago Closed 11 years ago

Last tab's border in the toolbox tabstrip is much brighter than the rest

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 28

People

(Reporter: vporof, Assigned: bgrins)

References

Details

(Whiteboard: [good first verify])

Attachments

(3 files, 1 obsolete file)

See screenshot. Happens after bug 941579, at least on OS X.
Blocks: 941579
Attached patch lasttabborder.patch (obsolete) — Splinter Review
Uses consistent border color for last tab
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Attachment #8344338 - Flags: review?(vporof)
Comment on attachment 8344338 [details] [diff] [review]
lasttabborder.patch

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

::: browser/themes/shared/devtools/toolbars.inc.css
@@ +496,5 @@
>    border-left-width: 0;
>  }
>  
>  .devtools-tab:last-child {
> +  border-right: 1px solid #42484f;

Need to use -moz-border-end and -moz-border-start here and throughout the file for proper localization.
Attachment #8344338 - Flags: review?(vporof) → review-
Here's how it looks like on RTL.
Same comment in bug 947709 applies here as well: https://bugzilla.mozilla.org/show_bug.cgi?id=947709#c2

Let's fix localization for the remaining CSS in a different patch, but at least let's use the proper rules in this bug.

https://wiki.mozilla.org/DevTools/CSSTips
(In reply to Victor Porof [:vp] from comment #4)
> Same comment in bug 947709 applies here as well:
> https://bugzilla.mozilla.org/show_bug.cgi?id=947709#c2
> 
> Let's fix localization for the remaining CSS in a different patch, but at
> least let's use the proper rules in this bug.
> 
> https://wiki.mozilla.org/DevTools/CSSTips

Got it, thanks for the info.  I'm going to upload a patch here that also fixes Bug 947709 since they have become related to each other.
Attached patch tabbar-rtl.patchSplinter Review
This adds rtl support to the tab bar.  It also fixes:

* Brighter border on last tab
* Jiggle on last tab (Bug 947709)
* Opacity on the image when tab is selected isn't 1 (you can see this by selecting a tab then hovering over it - the opacity shouldn't change in this case).
Attachment #8344338 - Attachment is obsolete: true
Attachment #8344344 - Flags: review?(vporof)
Comment on attachment 8344344 [details] [diff] [review]
tabbar-rtl.patch

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

Bokay! Thank you :)

I guess we can dupe the other bugs to this one now.
Attachment #8344344 - Flags: review?(vporof) → review+
https://hg.mozilla.org/mozilla-central/rev/550462c1dae0
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Blocks: 916766
Whiteboard: [good first verify]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: