Skip to content
  • hyatt@apple.com's avatar
    WebCore: · 49d70337
    hyatt@apple.com authored
    2009-05-13  David Hyatt  <hyatt@apple.com>
    
            Reviewed by Beth Dakin and Darin Adler.
    
            Fix for <rdar://problem/6869687> REGRESSION (r41203): Facebook friend suggestions disappear on update.
            
            Make sure that renderers are marked for layout if a style change causes them to switch from having a self-painting layer
            to a non-self-painting layer (and vice versa).
            
            Move misplaced layer repainting code that was in RenderBox up into RenderBoxModelObject so that inlines with layers
            repaint properly on opacity changes, etc.
    
            Added fast/repaint/opacity-change-on-overflow-float.html.
    
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::styleWillChange):
            * rendering/RenderBoxModelObject.cpp:
            (WebCore::RenderBoxModelObject::styleWillChange):
            (WebCore::RenderBoxModelObject::styleDidChange):
            * rendering/RenderBoxModelObject.h:
    
    LayoutTests:
    
    2009-05-13  David Hyatt  <hyatt@apple.com>
    
            Reviewed by Beth Dakin and Darin Adler.
    
            Add a repaint test for <rdar://problem/6869687> REGRESSION (r41203): Facebook friend suggestions disappear on update.
    
            * fast/repaint/opacity-change-on-overflow-float.html: Added.
            * platform/mac/fast/repaint/opacity-change-on-overflow-float-expected.checksum: Added.
            * platform/mac/fast/repaint/opacity-change-on-overflow-float-expected.png: Added.
            * platform/mac/fast/repaint/opacity-change-on-overflow-float-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    49d70337