[Webkit-unassigned] [Bug 58504] New: move caret by word in visual order returns wrong result when caret itself is at word boundary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 13 18:51:32 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58504

           Summary: move caret by word in visual order returns wrong
                    result when caret itself is at word boundary
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xji at chromium.org
            Blocks: 25298


positionBeforeNext() does not work for all cases.

Given "abc def hij" as an example:
if caret is between "b' and 'c', it returns position between ' ' and 'd'.
But if caret is between 'c' and ' ', it returns position between ' ' and 'h', which is wrong.

Same problem for positionAfterPreviousWord().

-- 
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