Closed
Bug 726132
Opened 12 years ago
Closed 8 years ago
Adding toolbarseparator to tabs toolbar increases height of tabs
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jorge.es.iu, Unassigned)
References
Details
Attachments
(2 files)
21.47 KB,
image/png
|
Details | |
1.37 KB,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0a1) Gecko/20120210 Firefox/13.0a1 Build ID: 20120210040207 Steps to reproduce: When you drag a separator to tabs toolbar, tabs became broken in the bottom. Tried in new profile and it happens too.
Updated•12 years ago
|
Component: Untriaged → Theme
QA Contact: untriaged → theme
Comment 1•12 years ago
|
||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0a1) Gecko/20120208 Firefox/13.0a1 I can confirm this on the latest Nightly. Issue is visible with the Default theme enabled. Setting status of this bug to NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•12 years ago
|
||
OK, so bug 583510 added a min-height of 22px to the separators. This was to overcome the fact that toolbarseparators had a height of 0 (caused by setting -moz-box-align to the toolbars). So, since the toolbarseparator in this case has a height of 22px it will vertically stretch the tabs toolbar. It appears that the same thing happens when adding a toolbarseparator to the personal toolbar (toolbar increases in height). Now, the tabs toolbar have "-moz-box-align: stretch", so setting the toolbarseparator's min-height to 0 (if the separator is in the tabs toolbar) would fix this bug. But we'd still have the issue with the personal toolbar. Markus (mstange): do you think it would be OK to revert to -moz-box-align: stretch for all toolbars except for the #nav-bar? We could differentiate the height of toolbarseparators depending on what toolbar they are in, but...
Blocks: 583510
Comment 3•12 years ago
|
||
JFTR, the -moz-box-align change is bug 559033.
Comment 4•12 years ago
|
||
Actually, it's the tabs element that increases in height.
Summary: Separator in tabs toolbar → Adding toolbarseparator to tabs toolbar increases height of tabs
Comment 5•12 years ago
|
||
Markus, another question: do you remember the reason for adding '-moz-box-align: center' to the personal toolbar (bug 546874)?
Comment 6•12 years ago
|
||
Hmm, I'm I wonder if we can keep the 'center' as is, but exclude the #PersonalToolbar while keeping the css sane. That could be an alternative, if we don't want this patch.
Comment 7•12 years ago
|
||
(In reply to Stefan [:stefanh] from comment #2) > Markus (mstange): do you think it would be OK to revert to -moz-box-align: > stretch for all toolbars except for the #nav-bar? Probably. According to bug 559033 comment 11 there wasn't really a reason to set it on other toolbars, except for consistency. (In reply to Stefan [:stefanh] from comment #5) > Markus, another question: do you remember the reason for adding > '-moz-box-align: center' to the personal toolbar (bug 546874)? I don't know if it necessarily needs to be applied to the toolbar, but it needs to be ensured that bookmarks buttons aren't stretched vertically even if bigger buttons are placed in the bookmarks toolbar. But bookmarks buttons have some wrapper elements around them anyway, so align:center can probably be set on of those wrappers. In general, -moz-box-align: stretch expresses that the controls in the toolbar don't determine their own height, but depend on each other for their height. But that's not the case in toolbars; the separator is an unfortunate exception. How many pixels is the separator to high in the toolbars? Can we just decrease its height?
Comment 9•12 years ago
|
||
Any news. This bug is still present in FF 12. Come on!
Comment 10•8 years ago
|
||
We no longer support toolbar separators in Firefox.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•