Bug 135573

Summary: AX: isWordEndMatch should allow for multiple word selections
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: mario, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch mario: review+

Description chris fleizach 2014-08-04 13:50:47 PDT
The recently added isWordEndMatch method only works when the checked match has one word in it.

But if you have a multiple word match, it will find the first word break and then return that.

So the fix should be to search from the end of the string to find if we're at the end. We already matched everything up to the end as part of the finding process before that.
Comment 1 Radar WebKit Bug Importer 2014-08-04 13:51:02 PDT
<rdar://problem/17906689>
Comment 2 chris fleizach 2014-08-04 14:37:29 PDT
Created attachment 235985 [details]
patch
Comment 3 chris fleizach 2014-08-04 14:56:36 PDT
http://trac.webkit.org/changeset/172005