W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [css-tables][css2.1] What should the measurement of the table be?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 24 Mar 2015 13:09:11 -0400
Message-ID: <55119A37.50809@mit.edu>
To: Greg Whitworth <gwhit@microsoft.com>, Robert Hogan <robhogan@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On 3/24/15 1:01 PM, Greg Whitworth wrote:
> instead of 100vh (which is actually what the td is). I gave the cell a yellow background

Sadly, that won't tell you what the cell height is.  From CSS 2.1:

   Cell boxes that are smaller than the height of the row receive extra
   top or bottom padding.

and backgrounds paint under padding.  You need "background-clip: 
content-box" too.

That said, you're correct about what Gecko actually does right now: Once 
layout on the row is complete (the timing here is important to 
understand what's going in in the testcases) it goes and stretches the 
content box of the cells instead of adding padding to them.

Interop, what interop?  :(

Received on Tuesday, 24 March 2015 17:10:31 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:49 UTC