[Gtk] atk_text_get_text_at_offset() fails to provide the correct line for list items...
authormario@webkit.org <mario@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 15:38:19 +0000 (15:38 +0000)
committermario@webkit.org <mario@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 15:38:19 +0000 (15:38 +0000)
commit85aba971bbde7b9957b4b0a65fbd9d207fcbee68
tree9b2c5bac63100417f48f6f949ac48485e4f96a84
parente78b4302ff7424a1377dda19f4f9ee2fea6f285d
[Gtk] atk_text_get_text_at_offset() fails to provide the correct line for list items whose text wraps
https://bugs.webkit.org/show_bug.cgi?id=73431

Reviewed by Chris Fleizach.

Source/WebCore:

Don't replace item's markers with the objectReplacementCharacter
character, as they will be treated in an special way later on.

* accessibility/gtk/WebKitAccessibleInterfaceText.cpp:
(textForRenderer): Don't append the objectReplacementCharacter
character for list item's markers.

Source/WebKit/gtk:

Updated unit test to check text wrapping accross different lines
inside list items with bullet markers.

* tests/testatk.c:
(testWebkitAtkGetTextAtOffsetWithSpecialCharacters): Updated test.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/accessibility/gtk/WebKitAccessibleInterfaceText.cpp
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/tests/testatk.c