Skip to content
  • hyatt@apple.com's avatar
    <rdar://problem/8479998> REGRESSION (r67660): broken button layout at devforums.apple.com · 6f7d9fb7
    hyatt@apple.com authored
            
    Reviewed by Dan Bernstein.
    
    Exclude floating objects from shrinking to avoid floats.  They should never do this.  Timing-related bugs could
    occur as a result of this mistake, and the change to rewrite pagination to defer layout of floats until they
    got encountered on the correct line exposed this issue.
    
    Source/WebCore: 
    
    Added /fast/block/float/float-overflow-hidden-containing-block-width.html.
    
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::shrinkToAvoidFloats):
    
    LayoutTests: 
    
    Added /fast/block/float/float-overflow-hidden-containing-block-width.html.
    * fast/block/float/float-overflow-hidden-containing-block-width.html: Added.
    * platform/mac/fast/block/float/float-overflow-hidden-containing-block-width-expected.checksum: Added.
    * platform/mac/fast/block/float/float-overflow-hidden-containing-block-width-expected.png: Added.
    * platform/mac/fast/block/float/float-overflow-hidden-containing-block-width-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6f7d9fb7