[Webkit-unassigned] [Bug 65898] DeleteWordForward deletes 2 words
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 29 00:38:56 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=65898
--- Comment #11 from Antaryami Pandia (apandia) <antaryami.pandia at motorola.com> 2012-05-29 00:38:55 PST ---
Some more analysis on the output of different ports:-
Windows port
============
1: foo bar -baz_ --> control+backspace --> position returned 9 --> output: foo bar -
2: foo bar @baz_ --> control+backspace --> position returned 9 --> output: foo bar @
3: foo bar _baz_ --> control+backspace --> position returned 8 --> output: foo
GTK port
=========
1: foo bar -baz_ --> control+backspace --> position returned 9 --> output: foo bar -
2: foo bar @baz_ --> control+backspace --> position returned 9 --> output: foo bar @
3: foo bar _baz_ --> control+backspace --> position returned 8 --> output: foo
mac port
========
1: foo bar -baz_ --> control+backspace --> position returned 9 --> output: foo bar -
2: foo bar @baz_ --> control+backspace --> position returned 9 --> output: foo bar @
3: foo bar _baz_ --> control+backspace --> position returned 8 --> output: foo bar
So it seems that all the ports (that I looked), returned same values.
But the mac port is dispalying correct result. (should the output be "foo bar" or "foo bar _" ?).
Also checked the mac port and found that there is no "isAlphanumeric" check for the characters on the position reurned.It simply returns the position.
File: platform/text/mac/TextBoundaries.mm
method: findNextWordFromIndex()
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list