Bug 171062 - Inline anchor elements cannot be dragged when starting the drag from a block descendant
Summary: Inline anchor elements cannot be dragged when starting the drag from a block ...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
Keywords: InRadar
Depends on:
Reported: 2017-04-20 10:34 PDT by Wenson Hsieh
Modified: 2017-04-21 17:40 PDT (History)
6 users (show)

See Also:

Patch (7.06 KB, patch)
2017-04-20 12:31 PDT, Wenson Hsieh
thorton: review+
Details | Formatted Diff | Diff
Patch for landing (7.02 KB, patch)
2017-04-20 14:13 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>