Re: [csswg-drafts] [css-tables-3] max-width on table cells (#2802)

Blink and FF do different things either for outer max-content width of a table-cell in a **constrained** column, or for max-content width of a column based on cells of span up to 1. In one of those places, FF lets a specified width on one cell override the max-content width of a different cell in the same column.

FF makes below table 75px wide. Chrome makes it 100px. (Akin to first blue table in https://jsfiddle.net/dgrogan/9uduq99L/19/)

```html
  <table>
    <tr><td style="width:75px;"></td></tr>
    <tr><td>
      <span style="display: inline-block; width: 50px;"></span><span style="display: inline-block; width: 50px;"></span>
    </td></tr>
  </table>
```

I think chrome's makes more sense in isolation, because it's easy to remember that `width` is just another `min-width` for tables. But combined with the width distribution algorithm, it makes http://jsfiddle.net/dgrogan/hbtm85uk/9/ act in a way I consider weird in chrome and more sensical in FF.

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

Received on Saturday, 20 July 2019 01:30:04 UTC