Closed Bug 1512903 Opened 7 years ago Closed 7 years ago

buggy behavior with tabs when max-width is set to something other than default value

Categories

(Firefox :: Tabbed Browser, defect)

63 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: yeahokplease, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: I made the following entry in userChrome: .tabbrowser-tab:not([pinned]) {max-width: 325px !important;} Actual results: When I close the next to last tab and open a new one, there's a good chance the new one will be misaligned on the tab bar. Also if last tab is closed and browser.tabs.closeWindowWithLastTab is set to false, the last tab will misalign itself to some other location on the tab bar. Expected results: All tabs should be aligned properly. Being able to increase default tab width needs to work especially in light of higher resolution displays, 4k, etc. Thanks.
Component: Untriaged → Toolbars and Customization
Given this doesn't happen without the userChrome, this is an issue with your specific userChrome style. In particular, AFAICT there's JS code that tries to set element.style.maxWidth when removing tabs, and you're messing with that because your style has "!important" and thus permanently overrides the element-set style. Try removing the `!important`. Either way, this isn't a Firefox bug that we can fix.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Component: Toolbars and Customization → Tabbed Browser
You need to log in before you can comment on or make changes to this bug.