Open Bug 2017448 Opened 2 months ago Updated 2 months ago

Use CSSNumberish for Animation.startTime

Categories

(Core :: DOM: Animation, enhancement)

enhancement
Points:
2

Tracking

()

People

(Reporter: boris, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [scrollanimation:mvp] )

The interface of Animation now uses CSSNumberish:

[Exposed=Window]
partial interface Animation {
    attribute CSSNumberish?       startTime;
    ...
};

Here is the webidl code. We will update other attributes in separate bugs.

Also, we have to use the algorithm provided by the spec to validate a CSSNumberish time when setting the start time.

Summary: Use CSSNumberish for AnimationTimeline.startTime → Use CSSNumberish for Animation.startTime
Whiteboard: [scrollanimation:mvp]
Points: --- → 2
You need to log in before you can comment on or make changes to this bug.