Re: propose an API to return Range in <textarea> etc. form control nodes (similar functionality as document.caretRangeFromPoint)

On Mon, 12 Oct 2009 22:50:11 +0200, Maciej Stachowiak <mjs@apple.com>  
wrote:
> [...]
>
> interface CaretPosition {
>      readonly attribute Node containingNode;
>      readonly attribute int offset;
>      readonly attribute DOMString offsetKind; // "document" or "control"
> }

I have now specified something similar in the CSSOM View draft:

   http://dev.w3.org/csswg/cssom-view/

The appropriate discussion list for that draft is www-style@w3.org by the  
way. I don't care strongly, but I suspect some people might only follow  
things there.

Cheers,


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Tuesday, 17 November 2009 13:47:41 UTC