Skip to content

[web-animations-1] Animation::CurrentTime/ID WebIDL #5429

@verbessern

Description

@verbessern

I think, that because the current time is actually a value that is calculated in "4.4.3. The current time of an animation", then in the WebIDL the current time should not be defined as an attribute, but as two functions: get/set. That will also remove the first step of the "silently set the current time" algorithm because the seek time can be defined to be a finite double in the "set" function. The "get" will remain to be unrestricted double as it is now.

The id attribute of an Animation, that is only used for debug purposes, and by my opinion its not a task of a specification to define how the objects are going to debugged, neither to how they will be distinguished between each other, if that is nowhere used in the specification itself. If other specifications are using that field, then maybe that should be defined in the relevant specifications and their WebIDL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions