Skip to content

[css-align][css-grid] Do grid items that have "no baseline set" participate in baseline alignment? #4675

@MatsPalmgren

Description

@MatsPalmgren

Do grid items that have "no baseline set" participate in baseline alignment?

The css-align spec says about blocks:
"If there is no such line box or child, then the block container has no baseline set."
https://drafts.csswg.org/css-align/#baseline-export

So it's clear that grid items that are empty block containers have "no baseline set".

What is unclear is if we should synthesize a baseline and participate in the baseline alignment, or if such items don't participate in baseline alignment at all and instead use their fallback alignment?

(Filed from discussion in this bug.)

CC @javifernandez

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions