Skip to content

<marquee> only fires start event when it's displayed #2957

@ayg

Description

@ayg

When a marquee element is created, the user agent must queue a task to fire an event named start at the element.
https://html.spec.whatwg.org/#the-marquee-element

This doesn't match browser behavior (I intend to post tests today). Neither Edge nor Firefox fire the event until the element is added to a document. Edge also doesn't fire it for a marquee that's display: none, although Firefox does. I would say the spec should follow Edge, all else being equal, because they made up the feature.

(Chrome and WebKit do not implement marquee events AFAICT.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    interopImplementations are not interoperable with each otherremoval/deprecationRemoving or deprecating a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions