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

Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 20 Sep 2013 16:04:35 +1200
Message-ID: <CAOp6jLZqCxWjuNuVgqoEHcTOiWx8LM4=WzLmX22tF9RHhHoCzA@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Simon Pieters <simonp@opera.com>, Simon Fraser <smfr@me.com>, Andrew Dupont <w3@andrewdupont.net>, www-style <www-style@w3.org>
On Fri, Sep 20, 2013 at 3:50 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> On Thu, Sep 19, 2013 at 8:30 PM, Robert O'Callahan <robert@ocallahan.org>wrote:
>
>> One question about the DOMRect constructor: Should we allow negative
>> width/height? I think not. (And APIs should never create DOMRects with
>> negative width/height.)
>>
>
> Why should we not allow a negative height?
>

It doesn't make geometric sense. CSS and other APIs that support rectangles
typically don't support negative width/height.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*
Received on Friday, 20 September 2013 04:05:02 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC