Skip to content
  • vicki's avatar
    Reviewed by Justin. · a286d2f5
    vicki authored
            - fix <rdar://problem/4246096> REGRESSION links to named anchors don't scroll to the right place (4825)
    
            This is really just a better fix for 4233844. Also consolidated manual-tests/scrollToAnchorWithNewline.html
    	and the test case from Bugzilla bug 4825 into manual-tests/scrollToAnchor.html.
    
            Test cases added:
            * manual-tests/scrollToAnchor.html: Added.
    
            * khtml/xml/dom_nodeimpl.cpp:
            (DOM::ContainerNodeImpl::getUpperLeftCorner): when calculating scroll position, skip child nodes of the anchor
            if they do not have text boxes.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a286d2f5