Bug 171062

Summary: Inline anchor elements cannot be dragged when starting the drag from a block descendant
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebCore Misc.Assignee: Wenson Hsieh <wenson_hsieh>
Severity: Normal CC: bdakin, commit-queue, megan_gardner, thorton, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
thorton: review+
Patch for landing none

Description Wenson Hsieh 2017-04-20 10:34:37 PDT
1. Go to data:text/html,<a href="https://www.w3.org"><div style="display: inline">I am inline</div><div style="display: block">I am block</div></a>
2. Try to drag the link starting from the part that says 'I am block'
3. Observe that the link is not draggable

However, dragging from the part that says 'I am inline' works.

Note: also reproduces on Chrome Canary (60.0.3076.0)
Comment 1 Wenson Hsieh 2017-04-20 10:35:20 PDT
Comment 2 Wenson Hsieh 2017-04-20 12:31:37 PDT
Created attachment 307614 [details]
Comment 3 Wenson Hsieh 2017-04-20 14:13:40 PDT
Created attachment 307635 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2017-04-20 15:05:55 PDT
The commit-queue encountered the following flaky tests while processing attachment 307635 [details]:

imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.worker.html bug 171080 (author: jiewen_tan@apple.com)
The commit-queue is continuing to process your patch.
Comment 5 WebKit Commit Bot 2017-04-20 15:06:28 PDT
Comment on attachment 307635 [details]
Patch for landing

Clearing flags on attachment: 307635

Committed r215581: <http://trac.webkit.org/changeset/215581>