Re: [editing] What browser internals can be exposed to help us move the caret in (and against) the block direction? (#56)

> In that case getClientRects() returns two places: one at the start of the line and one at the end, so we would want an inditation of which of the two corresponds to the actual visual drawing of the caret, right?

Exactly.

> For setting the caret as near as possible to point(X, Y) what could we get?

What about Document.caretPositionFromPoint()? [1]

> Things like this make me think that probably the default caret movement browsers include will be overwritten entirely by libraries anyway.

Maybe. Unless there is a way to configure the default behavior.

[1] http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface



---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/56#issuecomment-107036757

Received on Saturday, 30 May 2015 12:50:53 UTC