Bug 135573

Summary: AX: isWordEndMatch should allow for multiple word selections
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Severity: Normal CC: mario, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
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
Comment 2 chris fleizach 2014-08-04 14:37:29 PDT
Created attachment 235985 [details]
Comment 3 chris fleizach 2014-08-04 14:56:36 PDT