W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css21][css-grid][css-flexbox][css-align] Baselines of empty boxes (#439)

From: Sam Sneddon via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jun 2020 02:19:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-637228097-1591064365-sysbot+gh@w3.org>
Also, to note:

> Afaict, the CSS2.1 spec does not say what to do with the baseline alignment of empty inline tables. IE and Chrome use the bottom margin edge. Firefox uses the bottom border edge.

Chrome's behaviour at least is more complicated than that, c.f.:

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/8159

Chrome clearly computes a baseline for the row, and then sets the baseline of the table based on that. (Note additionally that AFAICT CSS2 doesn't say what the baseline of an empty table-row is.)

-- 
GitHub Notification of comment by gsnedders
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/439#issuecomment-637228097 using your GitHub account
Received on Tuesday, 2 June 2020 02:19:28 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:11 UTC