W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: suggestion: fixed-aspect-ratio CSS rule for block elements

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Thu, 06 May 2010 23:49:33 +0200
Message-ID: <4BE3396D.3030107@disruptive-innovations.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: julien.cayzac@gmail.com, www-style@w3.org
Le 06/05/10 19:23, Tab Atkins Jr. a écrit :

> Is there any reason for this?  I'd think it would just use the normal
> rules for resolving width/height.  Whichever one normally takes
> precedence does so, and then aspect-ratio is consulted to constrain
> the other one.  If we wanted to change which dimension was used as the
> "primary" input for the sizing algo, we should do that separately
> rather than shoving it into a nominally unrelated property.

Televisions preserving the aspect-ratio of the image on a screen of
another aspect-ratio (4/3 on a 16/9 tv for instance) often offer
the two modes (black strips around height preservation or clipping of
width preservation.

Received on Thursday, 6 May 2010 21:50:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:34 UTC