Changeset 143555 in webkit


Ignore:
Timestamp:
Feb 20, 2013 7:26:10 PM (11 years ago)
Author:
ojan@chromium.org
Message:

AutoTableLayout applies min-width redundantly with RenderTable
https://bugs.webkit.org/show_bug.cgi?id=110426

Reviewed by Emil A Eklund.

  • rendering/AutoTableLayout.cpp:

(WebCore::AutoTableLayout::computePreferredLogicalWidths):
This code used to do something, but has since been superceded by
code in RenderTable::computePreferredLogicalWidths.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143554 r143555  
     12013-02-20  Ojan Vafai  <ojan@chromium.org>
     2
     3        AutoTableLayout applies min-width redundantly with RenderTable
     4        https://bugs.webkit.org/show_bug.cgi?id=110426
     5
     6        Reviewed by Emil A Eklund.
     7
     8        * rendering/AutoTableLayout.cpp:
     9        (WebCore::AutoTableLayout::computePreferredLogicalWidths):
     10        This code used to do something, but has since been superceded by
     11        code in RenderTable::computePreferredLogicalWidths.
     12
    1132013-02-20  Dirk Schulze  <krit@webkit.org>
    214
  • trunk/Source/WebCore/rendering/AutoTableLayout.cpp

    r140047 r143555  
    261261        maxWidth = tableMaxWidth;
    262262    }
    263 
    264     Length tableLogicalMinWidth = m_table->style()->logicalMinWidth();
    265     if (tableLogicalMinWidth.isFixed() && tableLogicalMinWidth.isPositive()) {
    266         minWidth = max<int>(minWidth, tableLogicalMinWidth.value());
    267         maxWidth = max<int>(minWidth, maxWidth);
    268     }
    269263}
    270264
Note: See TracChangeset for help on using the changeset viewer.