Changeset 27504 in webkit


Ignore:
Timestamp:
Nov 7, 2007 12:11:58 AM (17 years ago)
Author:
mitz@apple.com
Message:

WebCore:

Reviewed by Brady Eidson.

Test: fast/block/float/overhanging-after-height-decrease-offsets.html

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlock):

LayoutTests:

Reviewed by Brady Eidson.

  • fast/block/float/overhanging-after-height-decrease-offsets.html: Added.
  • platform/mac-leopard/fast/block/float/overhanging-after-height-decrease-offsets-expected.checksum: Added.
  • platform/mac-leopard/fast/block/float/overhanging-after-height-decrease-offsets-expected.png: Added.
  • platform/mac/fast/block/float/overhanging-after-height-decrease-offsets-expected.txt: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r27502 r27504  
     12007-11-07  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Brady Eidson.
     4
     5        - test for http://bugs.webkit.org/show_bug.cgi?id=15877
     6          REGRESSION: r27486 caused a layout regression at my bank's website
     7
     8        * fast/block/float/overhanging-after-height-decrease-offsets.html: Added.
     9        * platform/mac-leopard/fast/block/float/overhanging-after-height-decrease-offsets-expected.checksum: Added.
     10        * platform/mac-leopard/fast/block/float/overhanging-after-height-decrease-offsets-expected.png: Added.
     11        * platform/mac/fast/block/float/overhanging-after-height-decrease-offsets-expected.txt: Added.
     12
    1132007-11-06  Adam Roben  <aroben@apple.com>
    214
  • trunk/WebCore/ChangeLog

    r27499 r27504  
     12007-11-07  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Brady Eidson.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=15877
     6          REGRESSION: r27486 caused a layout regression at my bank's website
     7
     8        Test: fast/block/float/overhanging-after-height-decrease-offsets.html
     9
     10        * rendering/RenderBlock.cpp:
     11        (WebCore::RenderBlock::layoutBlock):
     12
    1132007-11-06  Beth Dakin  <bdakin@apple.com>
    214
  • trunk/WebCore/rendering/RenderBlock.cpp

    r27486 r27504  
    604604                    RenderBlock* block = static_cast<RenderBlock*>(child);
    605605                    if (block->floatBottom() + block->yPos() > m_height)
    606                         addOverhangingFloats(block, block->xPos(), block->yPos());
     606                        addOverhangingFloats(block, -block->xPos(), -block->yPos());
    607607                }
    608608            }
Note: See TracChangeset for help on using the changeset viewer.