Skip to content

Event names too restrictive #36

Open

Description

@erikdahlstrom

https://github.com/ericwilligers/svg-animation/blob/master/smil-in-javascript.js#L59 lists a bunch of event names. For all intents the SMIL syntax is meant to support any and all event types that a UA supports, so the restricted set here doesn't make sense (ideally it should match against supported event types in the UA, but failing that it's still better to just register event listeners for all found event names).

Also, note that some of the event names have been changed in svg2, dropping the "SVG" prefix on a few of these events, e.g it's 'load' instead of 'SVGLoad'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions