W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [css-tables] Specify the containing block of a table cell

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Dec 2017 22:53:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-350119462-1512687207-sysbot+gh@w3.org>
> I think the spec would benefit from defining the cell's containing block because, for example, it's not obvious that the right answer is either the row, section, or table.

I'm not confident going in any direction here because I don't even understand what impact this would have on layout. 

That being said, it does not seem crazy to me to say the containing block of a table-cell is the table-cell itself, but I'm afraid it might depend on which layout pass we are talking about. In the first layout passes, the table-cell doesn't have any size yet and I guess if there are layout steps that need the containing block for fit-content sizing purposes, and maybe they would want to use the table one for these purposes, though maybe they don't care at all. 

It's difficult to make a normative statement on a claim I cannot back up with a test.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2004#issuecomment-350119462 using your GitHub account
Received on Thursday, 7 December 2017 22:53:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:41 UTC