Skip to content

[css-anchor-position] Should anchor() be validated at parse time when it is known invalid? #10955

Closed
@weinig

Description

@weinig

There are some uses of anchor() that can be determined invalid() at parse time. For instance,

left: 10px;
left: anchor(--x top);

Should left resolve to 10px here, or the default value?

The spec is a little unclear on when this "valid anchor function" concept is evaluated and/or if it is something that gets evaluated at each stage.

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