Skip to content

[css-anchor-position] anchor-size() should fallback to auto, not zero #10005

Closed
@fantasai

Description

@fantasai

I think by default the anchor-size() function in the sizing properties should

  • compute to auto on elements to which it doesn't apply (i.e. non-absolutely-positioned boxes)
  • fall back to auto otherwise

Falling back to zero is almost never what you want here.

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