W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2010

Aspect ratios in SVG: Numbers or integers?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 7 May 2010 09:22:03 -0700
Message-ID: <x2gdd0fbad1005070922vdef1c267i38c0409f14acd4b2@mail.gmail.com>
To: public-fx@w3.org
In the CSS list we're discussing an aspect-ratio property which would
hold a box to a particular width/height ratio.  Currently the proposed
syntax is for the property to take a single <number> or two

Someone on the list pointed out that he thought SVG allowed aspect
ratios to be specified with two numbers (that is, something like "8 by
4.5" rather than "16 by 9").  He couldn't find a reference when I
asked for it, though.

So, in similar situations where you specify an aspect ratio as two
numbers, does SVG have any prior art on whether the two should be
integers or numbers?  I'd like it to match if so.

Received on Friday, 7 May 2010 16:29:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:36 UTC