Skip to content

[css-anchor-position] Is it intended that (justify|align)-items: anchor-center doesn't apply to anchored abspos boxes with (justify|align)-items: auto? #13514

@dshin-moz

Description

@dshin-moz

anchor-center was explicitly added to (justify|align)-items.
But these will never apply to abspos boxes, because (justify|align)-self: auto for abspos boxes do not refer to (justify|align)-items at all:

Behaves as normal if the box has no parent, or when determining the actual position of an absolutely positioned box.

So it seems only relevant when we compute the hypothetical box, where it ends up becoming center (Since we're pretending to be static-positioned).

Wanted to confirm if this is the intended behaviour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Thursday Afternoon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions