Re: [csswg-drafts] [css-inline-3] Shift top | bottom | center values from alignment-baseline to baseline-shift (#5180)

>  E.g., the syntax for vertical-align would be [<'baseline-source'> || <'baseline-shift'> || <'alignment-baseline'>] | <line-box-alignment>, where a line-box alignment keyword makes the others irrelevant.

Happy to make that change, too. :) But regardless, it has to be stored in a longhand. I'd rather just add it to `baseline-shift` than create another longhand.

>  But what would vertical-align: text-bottom top mean?

It asks for top alignment within the container (line box in the case of an inline-level element, table row in the case of table cells) and sets the alignment baseline to the text-bottom baseline. If the row has no 'baseline'-aligned cells, then this is the alignment baseline that will get exported as the table row’s baseline. It's a weird thing to ask, but it has a meaning.

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

Received on Monday, 8 June 2020 01:12:22 UTC