Reviewed by mjs
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Aug 2005 03:20:49 +0000 (03:20 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Aug 2005 03:20:49 +0000 (03:20 +0000)
commitb9e651cc09170e872a17344016c71a0978fc694d
tree224ae0cd93b023f4430edab6aa758c83e005c4c2
parent29220c62ba1ab3e00f8343a9b6a947a4465b4a14
    Reviewed by mjs

        Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3359> Crash on hover with certain styles on the text applied

        If a zero length render object (such as a text node that has been set to "") occured at the
        end of a line, it was previously given a non-zero sized run.  Iteration over such a node would cause
        a crash.

        Test cases added:
        * layout-tests/traversal/size-zero-run-expected.txt: Added.
        * layout-tests/traversal/size-zero-run.html: Added.

        * khtml/rendering/bidi.cpp:
        (khtml::appendRun):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/traversal/size-zero-run-expected.txt [new file with mode: 0644]
LayoutTests/traversal/size-zero-run.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/bidi.cpp