[w3c/editing] Safari Desktop: Adding an empty span to an otherwise empty element, makes the element unselectable (Issue #516)

michael created an issue (w3c/editing#516)

CONTEXT: As an editor developer I need a way to position popovers relative to a collapsed cursor. That's why I'm rendering an additional span at the cursor position with an anchor-name, so I can use CSS anchor positioning to position a popover/prompt (e.g. for adding a new link).

BUG: With the extra span in place, in Safari the field(s) are no longer selectable.
In Chrome and Firefox it works just fine.

See Repro: https://w3c.github.io/editing/repros/516.html

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/516
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/516@github.com>

Received on Wednesday, 10 December 2025 18:14:22 UTC