[csswg-drafts] [css-tables] It's unclear when "Track Merging" should occur (#6023)

MatsPalmgren has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-tables] It's unclear when "Track Merging" should occur ==
The [Track Merging](https://drafts.csswg.org/css-tables-3/#dimensioning-the-row-column-grid--step2) chapter is a bit vague and UAs have incompatible behavior in various edge cases so it's unclear to me what the spec's intent is. Firefox for example creates columns when a `<col>` has a definite non-zero inline size (unlike Chrome(Legacy) and Safari), e.g.:

```html
<table border="1" cellspacing="10">
  <colgroup>
    <col style="width:100px">
    <col style="width:100px">
    <col style="width:100px">
    <col style="width:100px">
  </colgroup>
  <thead>
    <tr>
      <td>1</td>
      <td>2</td>
    </tr>
  </thead>
</table>
```

Does the current spec text intend to say that there are two columns in the table above and that the table's content size ~230px?
If so, perhaps the spec could be formulated in a similar way that Grid `auto-fit` track removal is formulated, i.e. something like "columns should be removed/merged when there are no cells spanning into them".  Adding some examples might help with clarity too.

(Assume the above table is in auto mode. The spec is clear that fixed mode tables never remove/merge columns.)

CC @atotic 


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6023 using your GitHub account


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

Received on Friday, 19 February 2021 21:01:27 UTC