Show
Ignore:
Timestamp:
03/31/07 01:26:24 (22 months ago)
Author:
ap
Message:

2007-03-31 Mitz Pettel <mitz@webkit.org>

Reviewed by Hyatt.

Test: fast/repaint/list-marker-2.html

A list marker can increase the horizontal overflow after layoutInlineChildren(),
so made that function return only the vertical bounds of the repaint rect. As the
horizontal bounds, made layoutBlock() just use the overflow bounds after layout.

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlock):
  • rendering/RenderBlock.h:
  • rendering/bidi.cpp: (WebCore::RenderBlock::layoutInlineChildren):
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/rendering/RenderBlock.h

    r20610 r20636  
    111111    virtual void layoutBlock(bool relayoutChildren); 
    112112    void layoutBlockChildren(bool relayoutChildren); 
    113     IntRect layoutInlineChildren(bool relayoutChildren); 
     113    void layoutInlineChildren(bool relayoutChildren, int& repaintTop, int& repaintBottom); 
    114114 
    115115    void layoutPositionedObjects(bool relayoutChildren);