- From: François REMY via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Jun 2019 08:16:32 +0000
- To: public-css-archive@w3.org
I should test in browsers just to be sure, but as far as I know, `vertical-align` works on the cells at the table row level, as in: cells get aligned in the first row layout based on that, so `vertical-align` does not apply in the table cell block axis but the table row block axis, just like it does for inlines in a block. My understanding is that the thing that is special about tables is not how vertical-align works, it is that after the alignment, all cells are stretched to the full line height, where in a block>inline situation, there is empty space above/below the aligned inlines. > At this point, cell boxes that are smaller than the height of the rows they span receive extra top and/or bottom padding such that their content does not move vertically but their top and bottom edges meet the ones of the rows they span. I guess I should clarify that `vertically` in the above spec text refers to the verticality of the table row, but there is a figure just above that kinda does clarify it a bit. -- GitHub Notification of comment by FremyCompany Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4033#issuecomment-502581810 using your GitHub account
Received on Monday, 17 June 2019 08:16:34 UTC