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

Re: [cssom-view] DOMRect with aliases x, y to left, top?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 27 Sep 2013 10:37:32 +1200
Message-ID: <CAOp6jLYRyk1XXMcpBBB94Kni6GTP87bH5vy8-BywjUXjY=8aDw@mail.gmail.com>
To: Henrik Andersson <henke@henke37.cjb.net>
Cc: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>
On Fri, Sep 27, 2013 at 9:44 AM, Henrik Andersson <henke@henke37.cjb.net>wrote:

> My point is how the width and right properties change when left and x
> are set. X changes right, left changes width.
>
> One models the moveable rectangle and the other models the stretchy
> rectangle.
>

I think making setting of x/y behave differently from top/left is just
super confusing. Imagine trying to explain to authors with a straight face
why "x" is different from "left". It would be simpler to make them pure
aliases and pick a consistent mutation behavior.

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 Thursday, 26 September 2013 22:37:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC