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: Koji Ishii <kojiishi@gmail.com>
Date: Fri, 15 Apr 2016 01:47:23 +0900
Message-ID: <CAN9ydbWfbvQLvKP4m0ko+4UX+Js9Bsc5DhTxhotyMaUF8FUEpA@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: Brady Duga <duga@google.com>, Xidorn Quan <quanxunzhen@gmail.com>, "www-style@w3.org" <www-style@w3.org>, Yoshifumi Inoue <yosin@chromium.org>
Thank you, the text looks great to me.

/koji

On Thu, Apr 14, 2016 at 10:21 PM, Simon Pieters <simonp@opera.com> wrote:

> 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 16:48:10 UTC

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