Changeset 139664 in webkit


Ignore:
Timestamp:
Jan 14, 2013 2:23:06 PM (11 years ago)
Author:
jchaffraix@webkit.org
Message:

REGRESSION (r132591): Underpainting @ uofmchildrenshospital.org
https://bugs.webkit.org/show_bug.cgi?id=105861

Reviewed by David Hyatt.

Source/WebCore:

Test: fast/repaint/overhanging-float-detach-repaint.html

The issue comes from overhanging float not contributing to their containing block's
overflow. This meant that repaint() would ignore them leading to an under-repaint.
The fix is simple: force all the overhanging floats to repaint themselves.

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::destroyAndCleanupAnonymousWrappers):

LayoutTests:

  • fast/repaint/overhanging-float-detach-repaint-expected.png: Added.
  • fast/repaint/overhanging-float-detach-repaint-expected.txt: Added.
  • fast/repaint/overhanging-float-detach-repaint.html: Added.
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139663 r139664  
     12013-01-14  Julien Chaffraix  <jchaffraix@webkit.org>
     2
     3        REGRESSION (r132591): Underpainting @ uofmchildrenshospital.org
     4        https://bugs.webkit.org/show_bug.cgi?id=105861
     5
     6        Reviewed by David Hyatt.
     7
     8        * fast/repaint/overhanging-float-detach-repaint-expected.png: Added.
     9        * fast/repaint/overhanging-float-detach-repaint-expected.txt: Added.
     10        * fast/repaint/overhanging-float-detach-repaint.html: Added.
     11
    1122013-01-14  Dominic Mazzoni  <dmazzoni@google.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r139663 r139664  
     12013-01-14  Julien Chaffraix  <jchaffraix@webkit.org>
     2
     3        REGRESSION (r132591): Underpainting @ uofmchildrenshospital.org
     4        https://bugs.webkit.org/show_bug.cgi?id=105861
     5
     6        Reviewed by David Hyatt.
     7
     8        Test: fast/repaint/overhanging-float-detach-repaint.html
     9
     10        The issue comes from overhanging float not contributing to their containing block's
     11        overflow. This meant that repaint() would ignore them leading to an under-repaint.
     12        The fix is simple: force all the overhanging floats to repaint themselves.
     13
     14        * rendering/RenderObject.cpp:
     15        (WebCore::RenderObject::destroyAndCleanupAnonymousWrappers):
     16
    1172013-01-14  Dominic Mazzoni  <dmazzoni@google.com>
    218
  • trunk/Source/WebCore/rendering/RenderObject.cpp

    r139444 r139664  
    25292529        if (destroyRoot->isBody())
    25302530            destroyRoot->view()->repaint();
    2531         else
     2531        else {
    25322532            destroyRoot->repaint();
     2533            destroyRoot->repaintOverhangingFloats(true);
     2534        }
    25332535    }
    25342536
Note: See TracChangeset for help on using the changeset viewer.