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

SizeGroup

From: Markus Jonsson <carnaby@passagen.se>
Date: Wed, 19 Oct 2005 14:37:37 +0200 (MEST)
Message-ID: <26163007.1129725457004.JavaMail.root@eni-cpps02.sth.basefarm.net>
To: www-style@w3.org

A month ago I requested a SizeGroup feature that would ensure that all elements that were assigned to the same group would have an equal 
width and/or height.
But then it was said it wasn't a job for CSS since that was behavioural. Could someone tell me what that means? I 
think maybe my request was misunderstood to be about scripting.
Consider the following to be a box of 3 floating elements.

|  A...  |  
B...  |  C...  |

A has a fluid width that depends on its contents.
B is whatever, both in terms of contents and width.
C should be just as 
wide as A, no more no less. However it doesn't have the same contents as A. Remember that the width of A isn't set explicitly. 

Is this at 
all possible to do with today's standards, scripting excluded? If not, wouldn't it be a valid request to have SizeGroup, so one could use 
CSS like this:
#a { size-group-width: 'thisGroup'; }
#b { width: auto; }
#c { width: auto; size-group-width: 'thisGroup'; }

Markus
Received on Wednesday, 19 October 2005 12:37:45 GMT

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