Re: [csswg-drafts] [css-tables][css-sizing] What sizing keywords allow fixed table mode? (#10937)

The CSS Working Group just discussed `[css-tables][css-sizing] What sizing keywords allow fixed table mode?`, and agreed to the following:

* `RESOLVED: width:max-content prevents table-layout:fixed from working`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> iank_: we had a resolution to just have width:auto trigger fixed table layout<br>
&lt;TabAtkins> iank_: this isn't web-compat, there's a library that sets width:max-content on tables and assumes they'll go into fixed mode<br>
&lt;TabAtkins> iank_: so my proposal is we have width:auto *or* max-content, we trigger fixed layout.<br>
&lt;TabAtkins> iank_: not including a calc-size(), it's those keywords literally<br>
&lt;TabAtkins> astearns: so just adding one more condition to the list?<br>
&lt;TabAtkins> iank_: yes<br>
&lt;TabAtkins> oriol: correction, auto/max-content *prevent* fixed layout.<br>
&lt;TabAtkins> fantasai: so you can set table-layout to fixed or auto. if you set 'fixed', but width is 'auto' (or, proposed, max-content), you'll instead get auto layout.<br>
&lt;TabAtkins> fantasai: can we instead just say that only extrinsic sizes allow fixed?<br>
&lt;TabAtkins> iank_: no, doesn't work<br>
&lt;TabAtkins> oriol: also if we add more conditions it's harder to opt into this behavior<br>
&lt;emilio> So we're resolving on Gecko's behavior right?<br>
&lt;TabAtkins> astearns: so proposed resolution: add max-content to the list of exceptions that prevent table-layout:fixed<br>
&lt;TabAtkins> iank_: I believe yes, gecko's behavior<br>
&lt;TabAtkins> RESOLVED: width:max-content prevents table-layout:fixed from working<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10937#issuecomment-3329781661 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 September 2025 16:29:37 UTC