Re: [csswg-drafts] [css-align-3][css-tables] vertical-align in orthogonal table cells (#4033)

> On an orthogonal cell, it means the cell doesn't participate in baseline alignment across cells in the same row, but it could participate in alignment across cells in the same column.

I think that column baseline alignment for tables should not be supported unless someone demonstrates clear need for it. Implementing it is non-trivial, and has a corner case that cannot be implemented: descendants with percentage block sizes.

Baseline computation for rows algorithm:
1) in measuring phase, each row computes an intrinsic baseline. This baseline is used to compute row's height. Block percentages resolution size is 0.
2) Layout phase requires up to 2 passes. 
3) Layout pass 1 is optional. If baseline aligned TDs have a descendant with percentage block size, an optional baseline resolution layout is needed to compute new baseline. Baseline is recomputed by doing layout where block percentage resolution size is row height.
4) Layout pass 2 is required. TDs are laid out, and their content vertically positioned based on vertical alignment.




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

Received on Monday, 9 March 2020 19:31:18 UTC