W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [cssom-view] Proposal to add getClientRect method to CaretPosition

From: Simon Pieters <simonp@opera.com>
Date: Mon, 22 Apr 2013 16:18:18 +0200
To: "Scott Johnson" <sjohnson@mozilla.com>, "Robert O'Callahan" <robert@ocallahan.org>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.wvx4ose3idj3kv@simons-macbook-pro.local>
On Tue, 12 Feb 2013 23:48:26 +0100, Robert O'Callahan  
<robert@ocallahan.org> wrote:

> Can you use Range.getClientRects() to do what you need?
> http://dev.w3.org/csswg/cssom-view/#widl-Range-getClientRects-ClientRectList

The CaretPosition interface currently does not expose the corresponding  
Range object. Also, for e.g. <input>, there is no corresponding Range  
object.

-- 
Simon Pieters
Opera Software
Received on Monday, 22 April 2013 14:19:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 April 2013 14:19:03 UTC