Re: [cssom-view] getBoundingClientRect() when the first rectangle is empty

[please don't top-post https://wiki.csswg.org/tools/www-style]

On Thu, May 5, 2016 at 10:28 AM, Myles C. Maxfield <mmaxfield@apple.com> wrote:
> The spec has rather peculiar wording around this, as if it is making special
> affordances to make sure the first rectangle is always in the return value.
>
> Do we know why the current version is written this way?

It's probably an attempt to be clever/compact and ensure that you
don't hit a degenerate case (no rectangles left).

~TJ

Received on Friday, 6 May 2016 06:13:11 UTC