Bug 195512

Summary: [iOS] Canceled drag bubble rendered in hover state even though original text not in hover state
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar, PlatformOnly
Version: Safari 12   
Hardware: iPhone / iPad   
OS: iOS 12   
URL: http://www.photohype.com/TheCrazyOnes.htm
Attachments:
Description Flags
Screen capture none

Description Daniel Bates 2019-03-08 21:37:57 PST
Created attachment 364116 [details]
Screen capture

Seen on iPad running iOS 12.1.4 (16D57).

1. Visit <http://www.photohype.com/TheCrazyOnes.htm>.
2. (Must do this semi quickly) click and drag "The misfits" then release.

The drag bubble's text is rendered in the links hover style (red, italic, no-underline), but the original text reverts to its non hover style (dark red, underlined). Canceling the drag the drag bubble returns to the position of the original text, but it looks weird since the bubble's text is in the hover state and when the bubble disappears the text is in the non-hover state.

I think there are two UI parts to fixing the weirdness of this animation. First, when the drag bubble is created. It's okay that it renders the hover styled text, but the original text must also stay rendered in the hover style so long as the drag hasn't been canceled.

Second part, when the drag is cancelled then the drag bubble must return to the position of the original text BEFORE we re-render the original text in to non-hover style.
Comment 1 Radar WebKit Bug Importer 2019-03-08 21:38:15 PST
<rdar://problem/48736007>