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

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