Skip to content

[css-easing] Resolving curves not available at parse time #11211

Open
@sesse

Description

@sesse

https://drafts.csswg.org/css-easing/#funcdef-linear specifies:

“If an argument lacks a <percentage>, its input progress value is initially empty, but that is immediately corrected by linear() canonicalization after parsing.”

However, it is not always possible to canonicalize at parse time. For instance, if any of the stops' x values is calc(0.5 + 0.2 * sign(1em - 1px)), we may need to wait until the style is computed before we know if it needs to be clamped to the previous point or not. How do we handle this? What if some of the stops may be resolvable but not all of them?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Regular agenda items

    Status

    Regular agenda

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions