Skip to content

[css-easing] Should we include the infinity for output progress value? #8344

Closed
@BorisChiou

Description

@BorisChiou

The definition of output progress value in [css-easing] includes the infinity:

The output progress value is a real number in the range [-∞, ∞].

However, there are some mismatched places in other specs:

  1. the definition of iteration progress of ComputedEffectTiming in [web-animations-1] uses double instead of unrestricted double. That means the progress doesn't include infinity or NaN.
  2. the interpolation section in [css-values-4] says the range of progress from easing functions doesn't include infinity.

Do I misread something? Or should we update the definition of output progress value and let it exclude infinity in [css-easing]? Or do we have to update other specs to match [css-easing]?

IMO, I prefer letting [css-easing] restrict the range of output progress value from easing functions because it makes more sense to me, i.e. use (-∞, ∞), instead of [-∞, ∞].

cc @birtles

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