W3C home > Mailing lists > Public > www-style@w3.org > November 2009

[cssom-view] caretPositionFromPoint() and views

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 17 Nov 2009 14:44:50 +0100
To: "CSS WG" <www-style@w3.org>
Message-ID: <op.u3jkg0n964w2qv@annevk-t60>
(The WebApps WG is bcc'ed since the changes were inspired by "them".)

Based on input from the WebApps WG and discussion at TPAC I made the  
following changes to the CSSOM View draft:

A) caretRangeFromPoint() has been replaced with caretPositionFromPoint().  
The latter also works for text input controls. I'm not a 100% sure whether  
<textarea> should be included there or not given that it does have a child  
text node. Any thoughts?

It's also a rough draft still. Suggestions for improvements are welcome.  
See also this thread:

   http://lists.w3.org/Archives/Public/public-webapps/2009OctDec/thread.html#msg124


B) The concept of views has been removed as has been discussed at TPAC.  
We'll add a note to DOM Level 2 Views soon to make it clear it should not  
be implemented in that way. See also this thread:

   http://lists.w3.org/Archives/Public/public-webapps/2009OctDec/thread.html#msg451


The latest draft can be found here:

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

Addressing the other outstanding issues might take a little longer.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 17 November 2009 13:45:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT