Bug 75005 - Web Inspector: TabbedPane should use tabElement width measuring to layout tab elements when width is too small to fit them.
Summary: Web Inspector: TabbedPane should use tabElement width measuring to layout tab...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Vsevolod Vlasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 04:28 PST by Vsevolod Vlasov
Modified: 2011-12-21 06:39 PST (History)
10 users (show)

See Also:


Attachments
Patch (12.54 KB, patch)
2011-12-21 05:32 PST, Vsevolod Vlasov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2011-12-21 04:28:25 PST
TabbedPane should use tabElement width measuring to layout tab elements when width is too small to fit them.
Comment 1 Vsevolod Vlasov 2011-12-21 05:32:45 PST
Created attachment 120172 [details]
Patch
Comment 2 Pavel Feldman 2011-12-21 05:55:32 PST
Comment on attachment 120172 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=120172&action=review

> Source/WebCore/inspector/front-end/TabbedPane.js:85
> +        this._maybeMeasureAndUpdate();

onResize is anyways getting called.

> Source/WebCore/inspector/front-end/TabbedPane.js:150
> +        for (var i = measuredWidths.length - 1; i > 0; i--) {

--i
Comment 3 Vsevolod Vlasov 2011-12-21 06:39:08 PST
Committed r103406: <http://trac.webkit.org/changeset/103406>