Bug 135789

Summary: Yelp phone number highlights often disappear
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, enrica
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
repro
none
patch beidson: review+

Description Tim Horton 2014-08-10 03:57:26 PDT
<rdar://problem/17971057>

1. Go to http://www.yelp.com/biz/back-a-yard-san-jose
2. Select part of the phone number right under the map.
3. Highlight it, unhighlight it, repeat.
4. Goto 1 and do it faster if you can't reproduce.

Expected:

The semi-highlighted phone number should always result in a full-phone number highlight, not a selection overlay.

Actual:

It often shows up as a selection overlay instead, and you can't get back to the phone number highlight.
Comment 1 Tim Horton 2014-08-10 03:58:15 PDT
Created attachment 236346 [details]
repro
Comment 2 Tim Horton 2014-08-10 04:10:33 PDT
I built this on top of https://bugs.webkit.org/show_bug.cgi?id=135787 because why not, but that means it won't apply yet. If we decide not to do that I'm sure we can rebase this on ToT but it will be a bit of work.
Comment 3 Tim Horton 2014-08-10 04:13:59 PDT
Created attachment 236347 [details]
patch
Comment 4 Tim Horton 2014-08-10 18:27:43 PDT
http://trac.webkit.org/changeset/172383