Reviewed by Chris and Darin.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Nov 2004 01:34:11 +0000 (01:34 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Nov 2004 01:34:11 +0000 (01:34 +0000)
commit6b5368f492e28aed9a8917a9cf3814eb808f9501
tree7ae1b5b22c9e965ca81733b051a3067df292b9df
parentc3aeda570d5f7d1f9a221b4351303242b1c45058
    Reviewed by Chris and Darin.

        <rdar://problem/3880304> Non-linear performance hit for style changes

        * khtml/xml/dom_nodeimpl.cpp:
        (NodeImpl::traverseNextNode):
        (NodeImpl::traverseNextSibling):
        (NodeImpl::traversePreviousNodePostOrder):
        Return 0 rather than traversing beyond stayWithin when this == stayWithin.
        Add asserts that stayWithin is an ancestor of the returned node.

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