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

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 30 Sep 2013 17:02:32 +0200
To: "Dirk Schulze" <dschulze@adobe.com>, "Robert O'Callahan" <robert@ocallahan.org>
Cc: "James Ross" <w3c-20040125@james-ross.co.uk>, "www-style list" <www-style@w3.org>
Message-ID: <op.w38b2iguidj3kv@simons-macbook-pro.local>
On Fri, 27 Sep 2013 13:56:00 +0200, Robert O'Callahan  
<robert@ocallahan.org> wrote:

> I like the idea of making x/y/width/height mutable and making
> left/top/right/bottom immutable and always min/maxX/Y, so "left" is  
> always
> actually the left edge.

OK, done.

https://dvcs.w3.org/hg/csswg/rev/0c57eb7a950e

With this change, what do we want to happen when a DOMQuad is constructed  
 from a DOMRect with negative width/height? Should the points be based on  
the top/right/bottom/left attributes, or x/y/width/height?

-- 
Simon Pieters
Opera Software
Received on Monday, 30 September 2013 15:03:08 UTC

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