Skip to content

[css-align-3] Do the CSS2.1 rules apply for determining the last-baseline of flex/grid/etc ? #7638

Open
@bfgeek

Description

@bfgeek

CSS2.1 has a "fun" rule:

https://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#q10.0
"The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge."

Does this rule impact "align-self: last baseline" ? And if so how?

For reference - Firefox appears to be setting to the block-end border-box edge when "overflow:hidden" is present.
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=10609

@fantasai @tabatkins

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