Skip to content

[css21][css-grid][css-flexbox][css-align] Baselines of empty boxes #439

@fantasai

Description

@fantasai

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.
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%3ETest%20%3Cdiv%20style%3D%22display%3A%20inline-table%3B%20background%3A%20blue%3B%20width%3A%2010px%3B%20height%3A%2010px%3B%20margin%3A%2010px%3B%20border%3A%20solid%20orange%22%3E%3C%2Fdiv%3E

The Grid and Flexbox specs currently say to use the bottom content edge for empty grid/flex containers.

We should spec something consistent for all three.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions