Skip to content

[css-typed-om] How is state change in CSSURLImageValue handled? #741

Open
@gagyibenedek

Description

@gagyibenedek

Based on this example the state change doesn't trigger any callback, it just has a new value at the next repaint. Is this correct? This seems strange, since the example from above needs some kind of continuous repaint (e.g. an infinite animation) for it to make sense, otherwise the actual image will never be shown, only the sad face.

Also, the code from above doesn't work on the latest Chrome, it stays in the 'unloaded' state indefinitely. Not sure if this is a Chrome bug or the code from the draft is outdated.

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