Skip to content

[css-align-3][css-position-3] align-items and justify-items for out of flow items #12121

Open
@alisonmaher

Description

@alisonmaher

When an out of flow item is positioned statically in a block/inline formatting context, the spec says to take align-self and justify-self into account.

However, what is expected of align-items and justify-items when set on the originating inline/block parent of the abspos? Normally, align-items and justify-items are the defaults for align-self and justify-self, but in inline layout, align-items and justify-items don't apply in general, and in block layout, align-items doesn't apply to its children. Should abspos elements follow suite and ignore align-items and justify-items if it would have ignored it if it weren't abspos?

I'd assume that we should ignore align-items and justify-items in the same cases for abspos elements such that their static position is as close to what it would have been if not taken out of flow. However, the spec isn't clear on what should happen in this case.

CC @bfgeek

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