Skip to content

[css-tables] column constrainedness and cell outer max-content width #3037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
davidsgrogan opened this issue Aug 21, 2018 · 0 comments
Open
Labels
css-tables-3 Current Work

Comments

@davidsgrogan
Copy link
Member

(Stems from #2802)

https://drafts.csswg.org/css-tables-3/#outer-max-content says

  • The outer max-content width of a table-cell in a non-constrained column is max(min-width, width, min-content width, min(max-width, max-content width)) adjusted by the cell intrinsic offsets.

https://drafts.csswg.org/css-tables-3/#constrainedness says

A column is constrained if its corresponding table-column-group (if any), its corresponding table-column (if any), or any of the cells spanning only that column has a computed width that is not "auto", and is not a percentage.

The constrained definition implies that if a table-cell is in a non-constrained column, it has width: auto. But then why does the outer max-content width definition pasted above include width if it's always auto? Just redundant or am I missing something, perhaps related to column spanning? In that vein, should

table-cell in a non-constrained column

be changed to

table-cell that originates in a non-constrained column

Otherwise, if the concept of in a has been defined, could that get a link to the definition?

@fantasai fantasai added the css-tables-3 Current Work label Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-tables-3 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants