Changeset 84755 in webkit


Ignore:
Timestamp:
Apr 24, 2011 1:17:39 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-24 Rik Cabanier <cabanier@adobe.com>

Reviewed by Simon Fraser.

Tables are not rendered correctly
https://bugs.webkit.org/show_bug.cgi?id=59138

  • fast/table/auto-100-percent-width.html: Added.
  • platform/mac/fast/table/auto-100-percent-width-expected.txt: Added.

2011-04-24 Rik Cabanier <cabanier@adobe.com>

Reviewed by Simon Fraser.

Tables are not rendered correctly
https://bugs.webkit.org/show_bug.cgi?id=59138

Test: fast/table/auto-100-percent-width.html

  • rendering/AutoTableLayout.cpp: (WebCore::AutoTableLayout::computePreferredLogicalWidths):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r84750 r84755  
     12011-04-24  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Tables are not rendered correctly
     6        https://bugs.webkit.org/show_bug.cgi?id=59138
     7
     8        * fast/table/auto-100-percent-width.html: Added.
     9        * platform/mac/fast/table/auto-100-percent-width-expected.txt: Added.
     10
    1112011-04-23  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r84753 r84755  
     12011-04-24  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Tables are not rendered correctly
     6        https://bugs.webkit.org/show_bug.cgi?id=59138
     7
     8        Test: fast/table/auto-100-percent-width.html
     9
     10        * rendering/AutoTableLayout.cpp:
     11        (WebCore::AutoTableLayout::computePreferredLogicalWidths):
     12
    1132011-04-23  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/rendering/AutoTableLayout.cpp

    r81625 r84755  
    266266        minWidth = max(minWidth, tableLogicalWidth.value());
    267267        maxWidth = minWidth;
    268     }
    269    
    270     // if there was no remaining percent, maxWidth is invalid.
    271     if (!remainingPercent && maxNonPercent)
     268    } else if (!remainingPercent && maxNonPercent) {
     269        // if there was no remaining percent, maxWidth is invalid.
    272270        maxWidth = intMaxForLength;       
     271    }
    273272}
    274273
Note: See TracChangeset for help on using the changeset viewer.