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

Re: [css21] Section 17.5.2.1 should be clarified

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 13 Oct 2011 23:04:26 -0400
Message-ID: <4E97A6BA.7050702@mit.edu>
To: www-style@gtalbot.org
CC: W3C www-style mailing list <www-style@w3.org>
On 10/13/11 10:26 PM, "Gérard Talbot" wrote:
> 2. Otherwise, a cell in the first row with a value other than 'auto' for
> the 'width' property (with its left and right padding, if any) determines
> the width for that column.

That's not correct.  The correct wording would be closer to:

   Otherwise a cell in the first row with a value other than 'auto' for
   the width property determines the width for that column as follows:

   * In the collapsed border model, the width is the width of the cell
     plus its left and right padding and half the left and right borders.
   * In the separated border model, the with is the width of the cell
     plus its left and right padding and left and right borders.

or something.  There are issues here with percentage paddings and with 
whether the borders used are before or after conflict resolution in the 
collapsed border model....

-Boris
Received on Friday, 14 October 2011 03:05:08 GMT

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