Re: [w3c/selection-api] setPosition/collapse should taken an optional argument for whether the caret is before or after a line break (#51)

I think a solution for this should definitely take #57 into account. It may be worthwhile to systematically look at all pieces of (currently) hidden state that exist in a selection, and define some kind of options object that allows user code to set them. Or go with writable attributes—that's crude, but seems to work for `caretBidiLevel` in Gecko.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/51#issuecomment-577744352

Received on Thursday, 23 January 2020 15:56:30 UTC