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

Re: Aspect ratios in SVG: Numbers or integers?

From: David Singer <singer@apple.com>
Date: Fri, 7 May 2010 13:29:10 -0700
Cc: Simon Fraser <simon.fraser@apple.com>, Chris Lilley <chris@w3.org>, public-fx@w3.org
Message-Id: <E60C750A-8DE0-4732-93F4-B628C8E30B59@apple.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On May 7, 2010, at 12:43 , Tab Atkins Jr. wrote:

> On Fri, May 7, 2010 at 11:52 AM, Simon Fraser <simon.fraser@apple.com> wrote:
>> We have aspect-ratio in media queries:
>> <http://dev.w3.org/csswg/css3-mediaqueries/#aspect-ratio>
>> It would be nice if there were some consistency.
> Right, I definitely support allowing a single number defining the
> ratio, just as MQ does, precisely for consistency on that front.  But
> it's not very easy to use - I don't think most authors will
> intuitively recognize that 1.77 corresponds to 16:9 - so I'd also like
> a two-number version.  

I'm lost.  aspect-ratio is documented in CSS3 as a ratio, which is a two-integer rational number (for an integer, you even have to say /1):

The <ratio> value is a positive (not zero or negative) <integer> followed by optional whitespace, followed by a solidus (/), followed by optional whitespace, followed by a positive <integer>.

> The question is just if we only need integers,
> or if we need numbers for intellectual-compat.
> ~TJ

David Singer
Multimedia and Software Standards, Apple Inc.
Received on Friday, 7 May 2010 20:29:43 UTC

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