Changeset 25224 in webkit


Ignore:
Timestamp:
Aug 24, 2007, 5:28:30 PM (18 years ago)
Author:
bdakin
Message:

WebCore:

Reviewed by Hyatt and Adele.

Fix for <rdar://problem/5417203> Google Gmail 1.0 widget - unread
count is missing

  • rendering/FixedTableLayout.cpp: (WebCore::FixedTableLayout::calcWidthArray): Calc pref widths for our cells, if needed.

LayoutTests:

Reviewed by Hyatt and Adele.

Test for <rdar://problem/5417203> Google Gmail 1.0 widget - unread
count is missing

  • fast/table/cell-pref-width-invalidation.html: Added.
  • platform/mac/fast/table/cell-pref-width-invalidation-expected.checksum: Added.
  • platform/mac/fast/table/cell-pref-width-invalidation-expected.png: Added.
  • platform/mac/fast/table/cell-pref-width-invalidation-expected.txt: Added.
Location:
trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r25211 r25224  
     12007-08-24  Beth Dakin  <bdakin@apple.com>
     2
     3        Reviewed by Hyatt and Adele.
     4
     5        Test for <rdar://problem/5417203> Google Gmail 1.0 widget - unread
     6        count is missing
     7
     8        * fast/table/cell-pref-width-invalidation.html: Added.
     9        * platform/mac/fast/table/cell-pref-width-invalidation-expected.checksum: Added.
     10        * platform/mac/fast/table/cell-pref-width-invalidation-expected.png: Added.
     11        * platform/mac/fast/table/cell-pref-width-invalidation-expected.txt: Added.
     12
    1132007-08-23  Kevin McCullough  <kmccullough@apple.com>
    214
  • trunk/WebCore/ChangeLog

    r25223 r25224  
     12007-08-24  Beth Dakin  <bdakin@apple.com>
     2
     3        Reviewed by Hyatt and Adele.
     4
     5        Fix for <rdar://problem/5417203> Google Gmail 1.0 widget - unread
     6        count is missing
     7
     8        * rendering/FixedTableLayout.cpp:
     9        (WebCore::FixedTableLayout::calcWidthArray): Calc pref widths for
     10        our cells, if needed.
     11
    1122007-08-24  Kevin McCullough  <kmccullough@apple.com>
    213
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r25169 r25224  
    1176911769                        productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
    1177011770                        projectDirPath = "";
     11771                        projectRoot = "";
    1177111772                        targets = (
    1177211773                                93F198A508245E59001E9ABC /* WebCore */,
  • trunk/WebCore/rendering/FixedTableLayout.cpp

    r21079 r25224  
    153153            if (child->isTableCell()) {
    154154                RenderTableCell* cell = static_cast<RenderTableCell*>(child);
     155                if (cell->prefWidthsDirty())
     156                    cell->calcPrefWidths();
     157
    155158                Length w = cell->styleOrColWidth();
    156159                int span = cell->colSpan();
Note: See TracChangeset for help on using the changeset viewer.