- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Thu, 18 Jun 2020 00:23:23 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-inline-3] 'vertical-align: middle' on table cells == So... `vertical-align: middle` has special behavior on table cells: it causes `align-content: normal` to be treated as `center` (similar to how the `top` and `bottom` values trigger `start` and `end`, respectively). Splitting 'vertical-align' into longhands means we have to map the behavior over from the longhands instead. Unfortunately since `middle` is an actual baseline (halfway between the alphabetic baseline and the ex-height) it's in `alignment-baseline` whereas `top` and `bottom` are line-relative values that shift content but don't represent an actual baseline, and are therefore in `baseline-shift`. Which means it's possible to specify `alignment-baseline: middle; baseline-shift: top`. Need to define whether that's treated as `vertical-align: top` or `vertical-align: middle`. My suggestion is that `top` and `bottom` take precedence, because that's what happens in inline layout as well. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5234 using your GitHub account
Received on Thursday, 18 June 2020 00:23:25 UTC