Closed Bug 947709 Opened 11 years ago Closed 11 years ago

Selecting the last tab in the toolbox tabstrip jiggles the tab content

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 947708

People

(Reporter: vporof, Assigned: bgrins)

References

Details

Attachments

(2 files)

Attached image screencast.gif
See gif. Happens after bug 941579, at least on OS X.
Blocks: 941579
Victor, this patch should fix the problem.  Can you confirm?
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Attachment #8344339 - Flags: review?(vporof)
Comment on attachment 8344339 [details] [diff] [review]
lasttab-jiggle.patch

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

::: browser/themes/shared/devtools/toolbars.inc.css
@@ +549,5 @@
>    padding-left: 1px;
>  }
>  
> +.devtools-tab[selected=true]:last-child {
> +  padding-right: 1px;

This fixes the problem, but you need to use -moz-padding-end and -moz-padding-start here and throughout the file.

I think it's better to file a separate patch for localizing all the remaining CSS, but at least let's use the proper rules in this bug.

Basically, if you see "left" and "right" in css, it's probably not localized and shouldn't pass review.

https://wiki.mozilla.org/DevTools/CSSTips#Localization
Attachment #8344339 - Flags: review?(vporof) → review-
Fixed by Bug 947708
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: