Reviewed by Harrison
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2004 22:13:42 +0000 (22:13 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2004 22:13:42 +0000 (22:13 +0000)
commit68a062474a16a8728d2e4003c4a71600e1cb22bf
tree7ac7f8871f252754a342dc4fd4807a9fc838f8d0
parentae6eb0beca8c5b85bbda0c588f5ab6884f9d1d7f
    Reviewed by Harrison

        * khtml/xml/dom_position.cpp:
        (DOM::Position::downstream): Fix a bug in downstream that prevented a call with DoNotStayInBlock
        specified from obeying that directive. The old code would stop at an outer block boundary in
        the case where that block had a block as its first child. The correct behavior is to drill into
        that inner block (and continue on drilling down, if possible), to find the correct position.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/xml/dom_position.cpp