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

Re: [css3-flexbox] intuitivity and width computation rules

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 13 Jan 2011 13:16:04 -0500
Message-ID: <4D2F4164.3040501@mit.edu>
To: Rob Crowther <robertc@boogdesign.com>
CC: www-style list <www-style@w3.org>
On 1/13/11 1:06 PM, Rob Crowther wrote:
> I was determining the width of the element by setting a background
> colour

Ah.  Row backgrounds aren't painted on the row itself, just on the cells 
originating in that row, if any.  This part _is_ specified in CSS 2.1. 
;)  See section 17.5.1.

You want to use collapsed borders and set a border on the row to see the 
size of the row box.

Received on Thursday, 13 January 2011 18:16:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:54 UTC