Bug 228580

Summary: Uncanny selection when right-clicking on https://www.heise.de/
Product: WebKit Reporter: Kai Dederichs <webkit_bugzilla>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, gsnedders, mmaxfield, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Intel)   
OS: Unspecified   
Attachments:
Description Flags
Example of selected link element
none
Example of selected link text none

Description Kai Dederichs 2021-07-29 03:22:42 PDT
Created attachment 434511 [details]
Example of selected link element

If you right click any link it will highlight/select the link element/text.
It's rather uncanny especially for large elements.
Comment 1 Kai Dederichs 2021-07-29 03:23:24 PDT
Created attachment 434512 [details]
Example of selected link text
Comment 2 Sam Sneddon [:gsnedders] 2021-07-29 06:55:39 PDT
Note that this is consistent with what happens elsewhere on macOS, though I'm unaware of any large hit-boxes like the large element screenshot above.
Comment 3 Kai Dederichs 2021-07-29 06:58:14 PDT
The large one is coming from here: https://www.heise.de/ (german IT news website)
Comment 4 Kai Dederichs 2021-07-29 10:34:08 PDT
Also where in macOS does it actually do that? I've never seen it anywhere.(other browsers don't do it as well)
Comment 5 Alexey Proskuryakov 2021-07-31 17:57:19 PDT
Sam is correct, selecting the text (or link) that corresponds to the context menu is expected behavior. WebKit supports other behaviors for other platforms (see bug 23351 and related).

Now whether the selection at this particular website has to be expanded all the way out may be worth a deeper look.
Comment 6 Radar WebKit Bug Importer 2021-08-05 03:23:22 PDT
<rdar://problem/81559006>