W3C home > Mailing lists > Public > www-svg@w3.org > June 2018

Re: Fwd: Re: Rectangle height and width

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 12 Jun 2018 10:46:18 -0700
Message-ID: <CAAWBYDBf-KQ+LNAUjJyYFijnmOCVQTpKjdxt9J2TwhBRtPh0SQ@mail.gmail.com>
To: dalboris@gmail.com
Cc: Fuzzy Ma <ulima.ums@gmail.com>, www-svg <www-svg@w3.org>
On Tue, Jun 12, 2018 at 4:33 AM Boris Dalstein <dalboris@gmail.com> wrote:
> Just adding my vote here: I'm 200รท with Steven here: it makes no sense to me to restrict width and height to be positive. I have both a degree in pure math and a PhD in Computer Science. APIs are not theoretical math: they are useful tools to create content. Allowing sizes to be negative has many use cases for artists without always an easy workaround (due to interpolation, timing, etc.). Many (most?) 2D API framworks allow rectangle sizes to be negative. There are no downsides that I know of not allowing it, and it's generally trivial to implement.

There are fatal problems which Amelia and I have pointed out which
make this currently impossible without changing other aspects of how
we're designing the platform.  "Just make it to go the other way" is
the obvious interpretation of a negative width, yes, but *specifying*
a negative width has severe issues in current SVG.

Received on Tuesday, 12 June 2018 17:46:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:14 UTC