Re: [selection-api] Need an API to get the current caret rects (#58)

Isn't CaretPosition.getClientRect() in [1] enough?

BTW, Is bounding box enough for application? It is better to return DOMQuad[2] in CSSOM View API, then we author use DOMQuad.bounds if they want to use bounding rectangle.

[1] https://drafts.csswg.org/cssom-view/
[2] https://www.w3.org/TR/geometry-1/#DOMQuad

---
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/58#issuecomment-197141923

Received on Wednesday, 16 March 2016 03:59:22 UTC