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

Re: [cssom-view] Range.getClientRects() when the range contains part of a grapheme cluster

From: Simon Pieters <simonp@opera.com>
Date: Thu, 14 Apr 2016 15:21:33 +0200
To: "Brady Duga" <duga@google.com>, "Koji Ishii" <kojiishi@gmail.com>
Cc: "Xidorn Quan" <quanxunzhen@gmail.com>, "www-style@w3.org" <www-style@w3.org>, "Yoshifumi Inoue" <yosin@chromium.org>
Message-ID: <op.yfwvd7joidj3kv@simons-mbp>
On Mon, 11 Apr 2016 06:35:03 +0200, Koji Ishii <kojiishi@gmail.com> wrote:

> Great, thank you Brady for quick reply after your vacation, if it's not
> useful, let's not bother.
>
> So it looks like Xidorn, Brady, and I are in consensus with:
>
> * Range.getClientRects() extends the start/end of the range to include  
> full
> grapheme cluster before it computes.
> * The extended range is internal for computing the rects, not visible to  
> JS.
> * Range.getBoundingClientRect() invokes getClientRects(), so the same
> applies.
>
> Did I describe this correctly?

Fixed in  
https://github.com/w3c/csswg-drafts/commit/7dd11832ceed93cbd5ad1472d16ee24e496012f0

cheers
-- 
Simon Pieters
Opera Software
Received on Thursday, 14 April 2016 13:22:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC