Closed
Bug 610544
Opened 15 years ago
Closed 15 years ago
Navigation toolbar moves a pixel when last normal tab is closed
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 4.0b8
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | final+ |
People
(Reporter: faaborg, Unassigned)
References
Details
(Whiteboard: fixed by bug 582950)
Attachments
(1 file)
|
1.40 KB,
patch
|
dao
:
review-
|
Details | Diff | Splinter Review |
On Windows when the user closes their last normal tab (and they have one or more app tabs open), the tab strip shifts by a single pixel.
Comment 1•15 years ago
|
||
For 200% more fun, remove all the toolbar buttons from the tab bar, then close the last normal tab (while an app tab is open)!
The app tabs completely overlap with the nav bar.
This occurs because we are using Dao's proposed method of fixing the app tabs to the left by setting CSS position: fixed on them. This takes them out of the layout, so their box height is no longer affecting their container's size.
This works fine on Mac, because we have the following line in browser/skin/browser.css:
.tabbrowser-tabs { height: 25px; }
I propose that we fix this similarly for Windows by adding the following line to browser/skin/browser.css:
.tabbrowser-tabs { height: 24px; }
I'll post a patch that does just that.
Status: NEW → ASSIGNED
Version: unspecified → Trunk
Updated•15 years ago
|
blocking2.0: --- → final+
Updated•15 years ago
|
OS: Windows 7 → All
Hardware: x86 → All
Comment 3•15 years ago
|
||
Comment on attachment 489365 [details] [diff] [review]
patch
This isn't quite right, since the tab bar won't always have this height (depends on the font size for instance). Bug 582950 should have fixed this, anyway.
Attachment #489365 -
Flags: review?(dao) → review-
Comment 4•15 years ago
|
||
(In reply to comment #3)
> This isn't quite right, since the tab bar won't always have this height
> (depends on the font size for instance). Bug 582950 should have fixed this,
> anyway.
Not sure why browser.css for OS X is using .tabbrowser-tabs { height: 25px; } then.
See http://hg.mozilla.org/mozilla-central/rev/b490bfe2180a
Resolving, since the issue was fixed by the patch in bug 582950.
Assignee: fryn → nobody
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 5•15 years ago
|
||
(In reply to comment #4)
> Not sure why browser.css for OS X is using .tabbrowser-tabs { height: 25px; }
> then.
> See http://hg.mozilla.org/mozilla-central/rev/b490bfe2180a
It can help to keep the tab bar height constant in different situations, e.g. when you remove buttons. It's not the only way to do it and not necessarily the best one.
Updated•15 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•