Changeset 31446 in webkit


Ignore:
Timestamp:
Mar 30, 2008 2:52:47 PM (16 years ago)
Author:
mitz@apple.com
Message:

WebCore:

Reviewed by Sam Weinig.

Test: fast/repaint/lines-with-layout-delta.html

  • rendering/RenderObject.cpp: (WebCore::RenderObject::repaintRectangle): Made this method take layout delta into account.

LayoutTests:

Reviewed by Sam Weinig.

  • fast/repaint/lines-with-layout-delta.html: Added.
  • platform/mac/fast/repaint/lines-with-layout-delta-expected.checksum: Added.
  • platform/mac/fast/repaint/lines-with-layout-delta-expected.png: Added.
  • platform/mac/fast/repaint/lines-with-layout-delta-expected.txt: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r31445 r31446  
     12008-03-30  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - repaint test for http://bugs.webkit.org/show_bug.cgi?id=18115
     6          REGRESSION (r31250): Incomplete repaint of GoogleReader sidebar while reading unread posts
     7
     8        * fast/repaint/lines-with-layout-delta.html: Added.
     9        * platform/mac/fast/repaint/lines-with-layout-delta-expected.checksum: Added.
     10        * platform/mac/fast/repaint/lines-with-layout-delta-expected.png: Added.
     11        * platform/mac/fast/repaint/lines-with-layout-delta-expected.txt: Added.
     12
    1132008-03-30  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/WebCore/ChangeLog

    r31445 r31446  
     12008-03-30  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=18115
     6          REGRESSION (r31250): Incomplete repaint of GoogleReader sidebar while reading unread posts
     7
     8        Test: fast/repaint/lines-with-layout-delta.html
     9
     10        * rendering/RenderObject.cpp:
     11        (WebCore::RenderObject::repaintRectangle): Made this method take layout
     12        delta into account.
     13
    1142008-03-30  Dan Bernstein  <mitz@apple.com>
    215
  • trunk/WebCore/rendering/RenderObject.cpp

    r31257 r31446  
    17911791        return; // Don't repaint if we're printing.
    17921792    IntRect absRect(r);
     1793    absRect.move(view->layoutDelta());
    17931794    computeAbsoluteRepaintRect(absRect);
    17941795    view->repaintViewRectangle(absRect, immediate);
Note: See TracChangeset for help on using the changeset viewer.