W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css4-images] specifying intrinsic size for images that haven't loaded yet

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 28 Jul 2012 22:51:07 -0700
Message-ID: <CAAWBYDD7t+MDgcqCt1p7W_fgR=--eCMM73PNXskwVGSfj5PYEg@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org
On Sat, Jul 28, 2012 at 9:22 PM, L. David Baron <dbaron@dbaron.org> wrote:
> http://www.jwz.org/blog/2012/07/non-bouncy-layouts/ describes a use
> case that we should try to address; specifying an *intrinsic size*
> for images that aren't loaded yet so that pages don't bounce around
> when images load.  This is doable today if you want the images to be
> sized to their intrinsic size, but it's not doable today if you want
> to scale the images but preserve the intrinsic ratio (for example,
> by making them the width of their container).
[snip]
> Would it make sense to have an 'intrinsic-size' property?  (If we
> do, would we want it to override data from the image, or vice
> versa?)

Is there any use-case for providing just an intrinsic width or
intrinsic height, rather than providing the pair?

It seems like my proposal for an aspect-ratio property
<http://www.xanthir.com/blog/b4810> would also solve this use-case,
but more generally, right?

~TJ
Received on Sunday, 29 July 2012 05:51:55 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:57 GMT