Skip to content

[css-inline-3] baseline-source:first and overflow:hidden inline-boxes. #8214

Closed
@bfgeek

Description

@bfgeek

https://drafts.csswg.org/css-inline-3/#baseline-source

The definition of this property doesn't mention the overflow:hidden behaviour explicitly - that is we'll force baselines on scrollers (overflow:hidden and friends) to the block-end margin edge by default.

For the non-auto cases (baseline-source:first and baseline-source:last) we can likely allow people to have the same behaviour as baselines within scrollers for flex/grid, that is clamp the baselines to the border-box rect if present.

For example:

baseline <div style="display: inline-block; overflow: hidden; baseline-source: first;">I am aligned</div>

Ian

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