W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Re: aspect ratio of box

From: Barry <barry@polisource.com>
Date: Sun, 17 Apr 2005 18:30:31 -0400
Message-ID: <001b01c5439d$108fc070$2f01a8c0@Seka>
To: "Boris Zbarsky" <bzbarsky@mit.edu>, <www-style@w3.org>

Boris Zbarsky wrote:
> So is the real problem we're trying to solve the fact that the UA can't 
> preserve the aspect ratio before the image data has started coming in, 
> since it doesn't know what to preserve?

Yes, and I'm proposing that the intrinsic height and width be specified for
such a case, so we don't have to manually calculate the aspect ratio.

Simon Siemens wrote:
> The HTML specification explicitly encourages the use of the width and
> height attribute to enable a stable layout while loading the whole page.
> However in the latest XHTML2 specification I can't find these two
> attributes anymore."

So I assume you can't specify the height and width in XHTML2. Even if you
could, it would have to work differently than in HTML (according to
fantasi), so that CSS would see the XHTML2 image's height and width, as
specified in the XHTML, as the intrinsic image size and use it to calculate
the aspect ratio.



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 266.9.5 - Release Date: 4/7/2005
Received on Sunday, 17 April 2005 22:30:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT