[csswg-drafts] [css-tables-3] Question about column measure computation (#9837)

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

== [css-tables-3] Question about column measure computation ==
In the section [Computing Column Measures](https://drafts.csswg.org/css-tables-3/#computing-column-measures) Under the heading **[min-content width of a column based on cells of span up to N (N > 1)](https://drafts.csswg.org/css-tables-3/#min-content-width-of-a-column-based-on-cells-of-span-up-to-n-n--1)** step 1 is:

> 1. Define the baseline min-content width as the sum of the max-content widths based on cells of span up to N-1 of all columns that the cell spans. 

Note that this is the same definition of *baseline max-content width* under the heading **[max-content width of a column based on cells of span up to N (N > 1)](https://drafts.csswg.org/css-tables-3/#max-content-width-of-a-column-based-on-cells-of-span-up-to-n-n--1)**:

> 1. Define the baseline max-content width as the sum of the max-content widths based on cells of span up to N-1 of all columns that the cell spans. 

In addition, in step 3 of **[min-content width of a column based on cells of span up to N (N > 1)](https://drafts.csswg.org/css-tables-3/#min-content-width-of-a-column-based-on-cells-of-span-up-to-n-n--1)** the specification reads:

> 3. The contribution of the cell is the sum of:
>    - the min-content width of the column based on cells of span up to N-1
>    - the product of:
>         - the ratio of:
>             - the max-content width of the column based on cells of span up to N-1 of the column minus the min-content width of the column based on cells of span up to N-1 of the column, to
>           - the baseline max-content width minus the baseline min-content width <br>
>    or zero if this ratio is undefined, and 
>     - the outer min-content width of the cell minus the baseline min-content width and the baseline border spacing, clamped to be at least 0 and at most the difference between the baseline max-content width and the baseline min-content width 

Yet, if the second term in the product is a ratio with a denominator that is *baseline max-content width* minus *baseline min-content width* and both of those have the same definition, the ratio will always be undefined. Could it be that the true definition of *baseline min-content width* should be as follows?

> 1. Define the baseline min-content width as the sum of the min-content widths based on cells of span up to N-1 of all columns that the cell spans. 

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


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

Received on Tuesday, 23 January 2024 11:33:19 UTC