- From: Daniel Beardsmore <public@telcontar.net>
- Date: Mon, 26 Feb 2007 14:01:01 +0000
- To: www-style@w3.org
Mikko Rantalainen wrote:
>> This will trigger a visual user agent to calculate the width and height needed
>> to show each <li>, and choose the largest size found.
>
> As David Woolley already told you, this is not how the CSS works. Here's
> how a CSS implementation could work (IMHO):
>
> .thumbs li { height: auto; width: auto; sizing-group: "thumbnails"; }
>
> That is, redefine "auto" for height or width to check if the element
> belongs in an "sizing-group" and if it does, compute the height or width
> to be the maximum of all elements in that group when contents of those
> elements are shrink-wrapped (and define further what "shrink-wrapping"
> means). If height or width is set to some other value but auto, then the
> sizing-group magic wouldn't apply.
Well, that sounds fine with me.
Received on Monday, 26 February 2007 14:02:06 UTC