Skip to content
  • vsevik@chromium.org's avatar
    Web Inspector: TabbedPane should use tabElement width measuring to layout tab... · 8331732e
    vsevik@chromium.org authored
    Web Inspector: TabbedPane should use tabElement width measuring to layout tab elements when width is too small to fit them.
    https://bugs.webkit.org/show_bug.cgi?id=75005
    
    Reviewed by Pavel Feldman.
    
    Source/WebCore:
    
    Test: inspector/tabbed-pane-max-tab-width-calculation.html
    
    * inspector/front-end/NetworkItemView.js:
    (WebInspector.NetworkItemView.prototype.wasShown):
    * inspector/front-end/TabbedPane.js:
    (WebInspector.TabbedPane):
    (WebInspector.TabbedPane.prototype.appendTab):
    (WebInspector.TabbedPane.prototype._createTabElement):
    (WebInspector.TabbedPane.prototype.onResize):
    (WebInspector.TabbedPane.prototype._maybeMeasureAndUpdate):
    (WebInspector.TabbedPane.prototype._measureTab):
    (WebInspector.TabbedPane.prototype._updateWidths):
    (WebInspector.TabbedPane.prototype._calculateMaxWidth):
    (WebInspector.TabbedPaneTab):
    * inspector/front-end/inspector.css:
    (.tabbed-pane-header):
    (.tabbed-pane-header-tabs):
    (.tabbed-pane-header-tab):
    (.tabbed-pane-header-tab.measuring):
    (.tabbed-pane-header-tab.selected):
    * inspector/front-end/scriptsPanel.css:
    (#scripts-navigator-tabbed-pane .tabbed-pane-header-tabs):
    
    LayoutTests:
    
    * inspector/tabbed-pane-max-tab-width-calculation-expected.txt: Added.
    * inspector/tabbed-pane-max-tab-width-calculation.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8331732e