[Webkit-unassigned] [Bug 120121] New: Fix startOfWord method to not include white space between words.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 21 10:35:35 PDT 2013


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

           Summary: Fix startOfWord method to not include white space
                    between words.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: roger_fong at apple.com
                CC: webkit-bug-importer at group.apple.com
            Blocks: 119829


In VisibileUnits.cpp.
Consider startOfWord for the boundary argument LEFT_WORD_IF_ON_BOUNDARY.
If the current position of the caret is at the start of a word, that is considered on the boundary.
The method in this case returns the previous boundary hoping to get the start of the previous word.
However, instead it just returns the end of the previous word, as that is indeed the previous boundary.

Will fix this so that startOfWord does not treat the whitespace between words as boundaries.
I'm not sure yet whether it makes sense to ignore situations where there is more than one character being used as whitespace between words since that seems to be more deliberate.

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