[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:35:16 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 5cccd10c4c1c472af2ff6d2969faff370301ce3b
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Aug 28 18:02:23 2002 +0000
- fixed 2977587 -- JavaScript code that reads the values of text areas
misses the last line if no trailing CR
* kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 0bae24c..f4e82b4 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,10 @@
+2002-08-28 Darin Adler <darin at apple.com>
+
+ - fixed 2977587 -- JavaScript code that reads the values of text areas
+ misses the last line if no trailing CR
+
+ * kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]):
+
2002-08-28 David Hyatt <hyatt at apple.com>
Putting design notes and API details for the layering system
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 0bae24c..f4e82b4 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,10 @@
+2002-08-28 Darin Adler <darin at apple.com>
+
+ - fixed 2977587 -- JavaScript code that reads the values of text areas
+ misses the last line if no trailing CR
+
+ * kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]):
+
2002-08-28 David Hyatt <hyatt at apple.com>
Putting design notes and API details for the layering system
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 0bae24c..f4e82b4 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,10 @@
+2002-08-28 Darin Adler <darin at apple.com>
+
+ - fixed 2977587 -- JavaScript code that reads the values of text areas
+ misses the last line if no trailing CR
+
+ * kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]):
+
2002-08-28 David Hyatt <hyatt at apple.com>
Putting design notes and API details for the layering system
diff --git a/WebCore/kwq/KWQTextArea.mm b/WebCore/kwq/KWQTextArea.mm
index 9048da8..e285685 100644
--- a/WebCore/kwq/KWQTextArea.mm
+++ b/WebCore/kwq/KWQTextArea.mm
@@ -261,7 +261,7 @@ const float LargeNumberForText = 1.0e7;
searchRange.location += advance;
}
- return paragraphSoFar;
+ return paragraphSoFar + searchRange.length == 0 ? 0 : 1;
}
static NSRange RangeOfParagraph(NSString *text, int paragraph)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list