Re: [csswg-drafts] [css-tables-3] max-width on table cells

Yes, I don't disagree that this is what is meant, but I think @fantasai is right, and currently the spec doesn't cap the max width by 'max-width' correctly, not sure where that math got inherited from but it doesn't appear to be accurate.

https://jsfiddle.net/9uduq99L/15/ shows that the math should have the `min-content-width` be in the `clamp` with `max-width` as a cap, and `width` should be clamped too instead of `min`-ed because `max-width` isn't used as a minimum value, just as a maximum for the other values.

I think the statements were orginating from the time where `max-width` didn't exist because `width` isn't allowed to make the cell smaller than its minimum width, it looks like the `max-width` thing is very likely to be a bug that stuck. I'll update the spec accordingly.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2802#issuecomment-400481537 using your GitHub account

Received on Tuesday, 26 June 2018 22:20:22 UTC