Skip to content

[css-grid][css-align] Baseline alignment axis #161

@MatsPalmgren

Description

@MatsPalmgren

There are a number of places that says that a box participates in
baseline alignment in its inline axis. This seems too restrictive
for boxes that have baselines in both axis, like Grid and Table.

For example, a vertical writing-mode grid container that has a baseline
sharing group in its last column, should use that baseline when its
placed on horizontal block line.

Here are a few places that needs to be fixed:
https://drafts.csswg.org/css-align-3/#baseline-align-self
"whichever matches its inline axis"

https://drafts.csswg.org/css-align-3/#baseline-align-content
"whichever matches its inline axis"

https://drafts.csswg.org/css-grid/#grid-baselines
"and its inline axis is parallel to that dimension"

https://drafts.csswg.org/css-align-3/#baseline-terms
"share an alignment context whose axis is parallel to their inline axis"

These places should instead say that an alignment subject participates
in baseline alignment in an alignment context axis if it has a baseline
parallel to that axis. (IOW, the text should be neutral on which
alignment subject axis is being aligned)

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions