Tests tabbed pane max tab element width calculation.

Bug 75005