What is Nostr?
Baldur Bjarnason /
npub1hr7…jxyc
2024-04-08 09:25:08

Baldur Bjarnason on Nostr: This is absolutely a spec issue. As in there is none. Programmatic discovery and ...

This is absolutely a spec issue. As in there is none. Programmatic discovery and manipulation of selection ranges inside shadow roots is simply undefined, which is why we now have three different behaviours

Until there’s a genuine consensus on what is supposed to happen, the only sensible thing is to avoid shipping anything that requires text selection (i.e. any form of text editing or highlighting) in a shadow root.
https://mastodon.social/@marijn/112234316153174392
Author Public Key
npub1hr7087sk4yxl25nmx9c42p0zgk5kyfyvar5xeklezs23hjuenr7qr3jxyc