Reviewed by Maciej.
[WebKit-https.git] / WebCore / ChangeLog
index 238338218782216c9b8356495bcdfcd816015820..69d5503eacd1ac9b1e7501ce3951c5eb005872f7 100644 (file)
@@ -1,3 +1,17 @@
+2005-12-28  Alexey Proskuryakov  <ap@nypop.com>
+
+        Reviewed by Maciej.
+
+        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6246
+          TextIterator::rangeFromLocationAndLength() returns nil range for an 
+          empty document
+
+        Test: editing/input/range-for-empty-document.html
+
+        * khtml/editing/visible_text.cpp:
+        (khtml::TextIterator::rangeFromLocationAndLength):
+        Handle the case of an empty document and (0, 0) requested range.
+
 2005-12-28  Anders Carlsson  <andersca@mac.com>
 
         Reviewed and landed by Geoff.