Fixed <rdar://problem/3781561> REGRESSION (Mail): typing in Mail became suddenly...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Sep 2004 00:52:49 +0000 (00:52 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Sep 2004 00:52:49 +0000 (00:52 +0000)
commitdf1c28328f96977dddd48f99da91cf33289e9fc9
treeac5133a1398eb3b76468b9a03b9c576a8df6795a
parentca4811ed917f3e1c447cf031349eedfe9dfcf4d2
Fixed <rdar://problem/3781561> REGRESSION (Mail): typing in Mail became suddenly really sluggish (substitute font code)

A DocumentMarker may begin before the InLineBox that includes
it.  Ensure that we correctly handle that case.  The paintMarker()
method and code that calls it could do with some cleanup to
make it clearer how all the cases are handled, i.e. marker
within box, or intersecting beginning or end of box.

        Reviewed by Darin.

        * khtml/rendering/render_text.cpp:
        (InlineTextBox::paintMarker):  Minimal change to ensure that we
handle the case of marker starting before box.

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