Bug 1551812 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Patrick Brosset <:pbro> from comment #0)
> `vertical-align` only applies to inline and table-cell elements: you can't use it to vertically align block-level elements.

Not really!
`vertical-align` applies at least to display types like ` inline-block` `inline-table` 
and 
`table-row` `table-row-group` `table-header-group` `table-footer-group`
`<tr> <tbody> <thead> <tfoot>`  (cells default is `vertical-align:inherit`)
https://dxr.mozilla.org/mozilla-central/source/layout/style/res/html.css#471
(In reply to Patrick Brosset <:pbro> from comment #0)
> `vertical-align` only applies to inline and table-cell elements: you can't use it to vertically align block-level elements.

Not really!
`vertical-align` applies at least to display types like ` inline-block` `inline-table` 
and 
`table-row` `table-row-group` `table-header-group` `table-footer-group`
`<tr> <tbody> <thead> <tfoot>`  (cells default is `vertical-align:inherit`)
https://dxr.mozilla.org/mozilla-central/source/layout/style/res/html.css#438

Back to Bug 1551812 Comment 4