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

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?  :(

-Boris

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