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

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

From: Henrik Andersson <henke@henke37.cjb.net>
Date: Thu, 26 Sep 2013 23:24:57 +0200
Message-ID: <5244A629.1040203@henke37.cjb.net>
To: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>
Dirk Schulze skriver:
> Hi,
> Would it be possible to add alias attributes 'x' and 'y' that point to 'left' and 'top'? That would make it more compatible with SVGRect and the SVG WG could start replacing SVGRect[1] with DOMRect as well for a unified platform.
> Greetings,
> Dirk
> [1] https://developer.mozilla.org/en-US/docs/Web/API/SVGRect

I brought it up less than a week ago. The thing is, the x and y
properties would work differently than the left and top properties. At
least when setting them. The rectangle has an invariant to enforce.
Received on Thursday, 26 September 2013 21:25:36 UTC

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