Re: [whatwg/dom] Atomic move operation for element reparenting & reordering (Issue #1255)

> What does it mean, for example, for focus to be preserved. Would it mean that the focused element will continue to retain the focus regardless of whether it's moved to? 

I personally expect that to happen even if I find it a really edge case to consider (but it's a valid point)

> Since Blink & WebKit don't support discontiguous selection so we can probably only able to preserve the end points of selection.

Again, extremely edge case ... I wouldn't expect any input to *move* elsewhere while typing (focus) or selecting things and, to be honest, I would be perfectly fine if these cases would throw an error, as moving form fields while typing feels like a scam paradise to dive into, not a feature of the Web ... and accessibility concerns should be taken into account.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1255#issuecomment-2311122516
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1255/2311122516@github.com>

Received on Monday, 26 August 2024 21:23:10 UTC