-
mario@webkit.org authored
Reviewed by Martin Robinson. [GTK] Space characters in source document interfere with reported caret offset https://bugs.webkit.org/show_bug.cgi?id=53033 Calculate caret offset from rendered text instead of from node contents. * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (objectAndOffsetUnignored): Calculate the caret offset based only on positions and ranges, instead of using the computed offset in the container node. 2011-01-27 Mario Sanchez Prada <msanchez@igalia.com> Reviewed by Martin Robinson. [GTK] Space characters in source document interfere with reported caret offset https://bugs.webkit.org/show_bug.cgi?id=53033 New unit test to check the fix for this bug. * tests/testatk.c: (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces): New. (main): Add new unit test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ff7fd429