Changeset 30595 in webkit


Ignore:
Timestamp:
Feb 26, 2008 11:01:53 AM (16 years ago)
Author:
mitz@apple.com
Message:

WebCore:

Reviewed by Darin Adler.

Test: fast/dynamic/subtree-table-cell-height.html

  • rendering/RenderObject.cpp: (WebCore::objectIsRelayoutBoundary): Exclude table cells, since their height depends on their contents even if the CSS height property is fixed.

LayoutTests:

Reviewed by Darin Adler.

  • fast/dynamic/subtree-table-cell-height.html: Added.
  • platform/mac/fast/dynamic/subtree-table-cell-height-expected.checksum: Added.
  • platform/mac/fast/dynamic/subtree-table-cell-height-expected.png: Added.
  • platform/mac/fast/dynamic/subtree-table-cell-height-expected.txt: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r30592 r30595  
     12008-02-26  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        - test for http://bugs.webkit.org/show_bug.cgi?id=17555
     6          <rdar://problem/5766016> REGRESSION (r27351): Thumbnails positioned wrong on Getty Images results page
     7
     8        * fast/dynamic/subtree-table-cell-height.html: Added.
     9        * platform/mac/fast/dynamic/subtree-table-cell-height-expected.checksum: Added.
     10        * platform/mac/fast/dynamic/subtree-table-cell-height-expected.png: Added.
     11        * platform/mac/fast/dynamic/subtree-table-cell-height-expected.txt: Added.
     12
    1132008-02-26  Satoshi Nakagawa  <artension@gmail.com>
    214
  • trunk/WebCore/ChangeLog

    r30593 r30595  
     12008-02-26  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=17555
     6          <rdar://problem/5766016> REGRESSION (r27351): Thumbnails positioned wrong on Getty Images results page
     7
     8        Test: fast/dynamic/subtree-table-cell-height.html
     9
     10        * rendering/RenderObject.cpp:
     11        (WebCore::objectIsRelayoutBoundary): Exclude table cells, since their
     12        height depends on their contents even if the CSS height property is
     13        fixed.
     14
    1152008-02-25  Sam Weinig  <sam@webkit.org>
    216
  • trunk/WebCore/rendering/RenderObject.cpp

    r30564 r30595  
    711711static inline bool objectIsRelayoutBoundary(const RenderObject *obj)
    712712{
    713     // FIXME: In future it may be possible to broaden this condition in order to improve performance
     713    // FIXME: In future it may be possible to broaden this condition in order to improve performance.
     714    // Table cells are excluded because even when their CSS height is fixed, their height()
     715    // may depend on their contents.
    714716    return obj->isTextField() || obj->isTextArea()
    715         || obj->hasOverflowClip() && !obj->style()->width().isIntrinsicOrAuto() && !obj->style()->height().isIntrinsicOrAuto() && !obj->style()->height().isPercent()
     717        || obj->hasOverflowClip() && !obj->style()->width().isIntrinsicOrAuto() && !obj->style()->height().isIntrinsicOrAuto() && !obj->style()->height().isPercent() && !obj->isTableCell()
    716718#if ENABLE(SVG)
    717719           || obj->isSVGRoot()
Note: See TracChangeset for help on using the changeset viewer.