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

Re: [csswg-drafts] [css-multicol] 'column-span' and tables

From: Morten Stenshorne via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Mar 2017 19:23:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-289877175-1490728986-sysbot+gh@w3.org>
Yeah, looks like they all agree, right? Having to set width:100% to make the table take up all available width  of the multicol content box is only sensible, since a table with auto width will "shrink to fit".

See https://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html#auto-table-layout

"If the 'table' or 'inline-table' element has 'width: auto', the used width is the greater of the table's containing block width, CAPMIN, and MIN. However, if either CAPMIN or the maximum width required by the columns plus cell spacing or borders (MAX) is less than that of the containing block, use max(MAX, CAPMIN)."

GitHub Notification of comment by mstensho
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1071#issuecomment-289877175 using your GitHub account
Received on Tuesday, 28 March 2017 19:23:14 UTC

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