• bdakin@apple.com's avatar
    WebCore: · e4a25731
    bdakin@apple.com authored
    2009-03-18  Beth Dakin  <bdakin@apple.com>
    
            Reviewed by Dave Hyatt.
    
            Fix for <rdar://problem/6636747> REGRESSION (Safari 4 PB-r41326): 
            Popup menu appears at the wrong location on page at http://
            www.signonsandiego.com/
    
            This was a regression from http://trac.webkit.org/changeset/40769, 
            which changed the base class of RenderInline to 
            RenderBoxModelObject rather than RenderBox.
    
            * rendering/RenderObject.cpp:
            (WebCore::RenderObject::offsetParent): offsetParent should return a 
            RenderBoxModelObject rather than just a RenderBox, which is more 
            restrictive. 
    
    LayoutTests:
    
    2009-03-18  Beth Dakin  <bdakin@apple.com>
    
            Reviewed by Dave Hyatt.
    
            Test for <rdar://problem/6636747> REGRESSION (Safari 4 PB-r41326): 
            Popup menu appears at the wrong location on page at http://
            www.signonsandiego.com/
    
            * fast/dom/offset-parent-positioned-and-inline-expected.txt: Added.
            * fast/dom/offset-parent-positioned-and-inline.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e4a25731