Skip to content

[css-align] The 'alignment baseline' is undefined for Grid/Flexbox #798

Description

@MatsPalmgren

https://drafts.csswg.org/css-align-3/#baseline-export says

The alignment baseline is one of these, usually the dominant baseline associated with the shared alignment context. (See the dominant-baseline and alignment-baseline properties in [CSS-INLINE-3].)

https://drafts.csswg.org/css-inline/#dominant-baseline-property says

Applies to: block containers and inline boxes

So, it's undefined which 'alignment baseline' to use for grid/flex items since dominant-baseline doesn't apply to grid/flexbox containers. (I'm assuming for now that it is the dominant-baseline:auto behavior that applies by default. Please correct me if I'm wrong.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions