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

Re: [csswg-drafts] [css-tables-3] Apparent "min-content width" inconsistency

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Sat, 13 May 2017 05:53:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-301227597-1494654810-sysbot+gh@w3.org>
The ```outer min-content width``` of a cell doesn't depend on the column. It's its own (inner) min-content width (the size needed for its content) plus its padding and border contribution (intrinsic cell offsets).

So, yes, to compute the ```min-content width``` of a column, you need the ```outer min-content width``` of each of its cells, but computing those shouldn't involve the column size anyhow. 

You also need the ```outer min-content width``` of the column itself which is just the width specified on the table-column element (or its min-width if bigger). Maybe that name isn't very clear, it just mirrors the one used for cells due to the similarity of the formula. These names are from an older spec, but I am not sure what other name use if we find them confusing. Any proposal?

Another option is to remove the name and just inline the formulas in the next section in the case of column and column groups; they are used exactly once each so that would be possible.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1366#issuecomment-301227597 using your GitHub account
Received on Saturday, 13 May 2017 05:53:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:12 UTC