Skip to content
  • mitz@apple.com's avatar
    WebCore: · 6d92520b
    mitz@apple.com authored
            Reviewed by Dave Hyatt.
    
            - fix https://bugs.webkit.org/show_bug.cgi?id=15384
              Div does not notice when grandparent changes height
    
            Test: fast/block/basic/quirk-percent-height-grandchild.html
    
            - fix https://bugs.webkit.org/show_bug.cgi?id=20714
              Resizing Gmail inbox vertically results in whitespace at the bottom of the window
    
            Test: fast/replaced/percent-height-in-anonymous-block.html
    
            Added a two-way mapping between boxes with percentage heights and
            their non-parent ancestors up to the one the height is computed relative
            to. In quirks mode (the first bug), this can be any number of containing
            block with auto height. In strict mode (the second bug) this can be
            the containing block of an anonymous block containing a replaced
            element.
    
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::~RenderBlock): Added code to remove the all the
            mapping to/from this block to percenta...
    6d92520b