Bug 249222 - visibility: hidden elements can be selected
Summary: visibility: hidden elements can be selected
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 16
Hardware: Unspecified iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-13 07:10 PST by Pierre Ossman
Modified: 2022-12-20 07:11 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Ossman 2022-12-13 07:10:33 PST
This bug is specific to Safari on iOS. It is not seen on Safari on macOS, or with other browsers.

If you click and drag, or do Cmd+A, elements that have the style "visibility: hidden" also get selected. This looks very odd as you get strange selection markers in odd places.

You can test it here:

https://novnc.com/noVNC/vnc.html

Start the selection on the "noVNC" text, and then drag the markers around to get free floating selection markers over empty areas.
Comment 1 Radar WebKit Bug Importer 2022-12-20 07:11:15 PST
<rdar://problem/103556339>