[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 14:50:11 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b6c513dab40875a11718c44f4ac2d3dd2ae18a62
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Oct 21 18:13:34 2010 +0000
2010-10-21 Carlos Garcia Campos <cgarcia at igalia.com>
Reviewed by Martin Robinson.
[GTK] TextBreakIteratorGtk should initialize its internal index to 0
https://bugs.webkit.org/show_bug.cgi?id=48065
It fixes the following tests when using glib unicode:
fast/forms/ValidityState-tooLong-input.html
fast/forms/ValidityState-tooLong-textarea.html
fast/forms/input-appearance-maxlength.html
fast/forms/input-implicit-length-limit.html
fast/forms/input-maxlength.html
fast/forms/textarea-live-pseudo-selectors.html
fast/forms/mailto/advanced-get.html
fast/forms/mailto/advanced-put.html
* platform/text/gtk/TextBreakIteratorGtk.cpp:
(WebCore::setUpIterator):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 9f7716c..33a74d8 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,23 @@
+2010-10-21 Carlos Garcia Campos <cgarcia at igalia.com>
+
+ Reviewed by Martin Robinson.
+
+ [GTK] TextBreakIteratorGtk should initialize its internal index to 0
+ https://bugs.webkit.org/show_bug.cgi?id=48065
+
+ It fixes the following tests when using glib unicode:
+ fast/forms/ValidityState-tooLong-input.html
+ fast/forms/ValidityState-tooLong-textarea.html
+ fast/forms/input-appearance-maxlength.html
+ fast/forms/input-implicit-length-limit.html
+ fast/forms/input-maxlength.html
+ fast/forms/textarea-live-pseudo-selectors.html
+ fast/forms/mailto/advanced-get.html
+ fast/forms/mailto/advanced-put.html
+
+ * platform/text/gtk/TextBreakIteratorGtk.cpp:
+ (WebCore::setUpIterator):
+
2010-10-21 takano takumi <takano1 at asia.apple.com>
Reviewed by Dan Bernstein.
diff --git a/WebCore/platform/text/gtk/TextBreakIteratorGtk.cpp b/WebCore/platform/text/gtk/TextBreakIteratorGtk.cpp
index 3be0c70..d8abf0d 100644
--- a/WebCore/platform/text/gtk/TextBreakIteratorGtk.cpp
+++ b/WebCore/platform/text/gtk/TextBreakIteratorGtk.cpp
@@ -68,7 +68,7 @@ static TextBreakIterator* setUpIterator(bool& createdIterator, TextBreakIterator
if (createdIterator)
g_free(iterator->m_logAttrs);
iterator->m_logAttrs = g_new0(PangoLogAttr, length + 1);
- iterator->m_index = -1;
+ iterator->m_index = 0;
pango_get_log_attrs(utf8.get(), utf8len, -1, 0, iterator->m_logAttrs, length + 1);
return iterator;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list