Summary: | Drag from a -webkit-user-select:none element should not start selection | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | benoit.rouleau, cdumez, esprehn+autocc, ews-watchlist, kangil.han, ntim, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 208677 | ||||||
Attachments: |
|
Description
Carlos Alberto Lopez Perez
2020-03-05 17:26:15 PST
(In reply to Carlos Alberto Lopez Perez from comment #0) > > So, as a fix to this consider merging chromium patch: > https://chromium.googlesource.com/chromium/src/+/ > f6dcdcf4917ba56f5576ef7d5d11d869630d2760 > This fix can't be merged as such. It causes issues on the web-inspector, the text on the console becomes non selectable. The same happened on chromium after merging it (it was reverted later). See: https://bugs.chromium.org/p/chromium/issues/detail?id=615227 Created attachment 457916 [details]
Patch
The Web inspector issue is still reproducible. STR for the WI issue: 1) Open DevTools, open Console 2) "window" and press enter 3) Try to select the logged text by clicking and dragging This was the Chromium change that ended up getting merged: https://chromium-review.googlesource.com/c/chromium/src/+/570246/16/third_party/WebKit/Source/core/dom/Node.cpp along with: https://chromium.googlesource.com/chromium/src.git/+/d541129f1b272eb3e611b59b5e12dd0be0a4ba58 |