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

RE: min-width and max-width on <table>

From: Max Vujovic <mvujovic@adobe.com>
Date: Wed, 11 Jan 2012 14:20:34 -0800
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <63988BCF8D9BCE429F5C4406E8D4FC4C56F6801CBF@nambx05.corp.adobe.com>
Hi Boris,

Thanks for the feedback!

>> The CSS 2.1 spec states that min-width and max-width are undefined on
>> tables.

> Note that the same is true for 'width' except for fixed layout mode...

That's a good point to note. Looking at it again, the spec gives suggested methods to compute it but does not impose requirements.

>> What do you all think? Does implementing min-width and max-width on the
>> table tag in WebKit sound reasonable?

> It sounds reasonable; you just can't rely on the spec to define how it
> should behave, because no one really has that figured out yet.  It's
> _possible_ that Presto and Gecko are compatible here, of course.  I
> wouldn't bet on it.

That makes sense. From my preliminary tests, Presto and Gecko have been compatible, but I'll try some more complex cases to uncover any differences.

- Max
________________________________________
From: Boris Zbarsky [bzbarsky@MIT.EDU]
Sent: Monday, January 09, 2012 9:43 AM
To: www-style@w3.org
Subject: Re: min-width and max-width on <table>

On 1/6/12 6:44 PM, Max Vujovic wrote:
> The CSS 2.1 spec states that min-width and max-width are undefined on
> tables.

Note that the same is true for 'width' except for fixed layout mode...

> What do you all think? Does implementing min-width and max-width on the
> table tag in WebKit sound reasonable?

It sounds reasonable; you just can't rely on the spec to define how it
should behave, because no one really has that figured out yet.  It's
_possible_ that Presto and Gecko are compatible here, of course.  I
wouldn't bet on it.

-Boris
Received on Wednesday, 11 January 2012 22:21:17 GMT

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