- Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6289
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Dec 2005 21:23:32 +0000 (21:23 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Dec 2005 21:23:32 +0000 (21:23 +0000)
commit275127fbd6e0304f249b31f17818d820f0c46523
tree09220d29252bffcc794c485ed1532748f89b9446
parent21f4adc8a1f811554ad3393be990b5fd9aeacf57
    - Fix bugzilla.opendarwin.org/show_bug.cgi?id=6289
        REGRESSION: firstCharacterForRange(0, 0) returns a 0x0 rect

        * khtml/editing/visible_text.cpp:
        (khtml::TextIterator::rangeFromLocationAndLength):
        Only special-case (0, 0) ranges for empty documents.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/khtml/editing/visible_text.cpp