The height of a table is the largest of:
- The specified height of the table (percentages are resolved against ancestors as usual)
- The height required for the rows and the vertical border-spacings. For each row, the largest of:
- The row’s specified height if it is defined in non-percentages units (0 otherwise)
- Also the eventual rowgroup specified size, using the usual splitting among tracks
- The height deemed necessary to render all its cells when running the same algorithm that is being used to compute a column min-width, where the min-height of a cell is the largest of:
- The cell’s specified height if it is defined in non-percentages units (0 otherwise)
- The height of the cell border and padding plus the scrollHeight of its content layouted as if:
- the cell height was set to 0px and overflow was set to hidden,