Open Bug 1770591 Opened 3 years ago Updated 4 months ago

Support all pseudo-elements in web animations. (was: Element.animate: '::backdrop' is an unsupported pseudo-element.)

Categories

(Core :: CSS Transitions and Animations, defect)

Firefox 100
Desktop
macOS
defect

Tracking

()

People

(Reporter: tylergross28, Unassigned)

References

Details

Attachments

(1 file)

Attached image Firefox Bug.gif

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Tried to animate the ::backdrop element of an HTML dialog.

Stackblitz showing this in action:
https://stackblitz.com/edit/typescript-rdpwyk?file=index.html,index.ts,style.css

Actual results:

Uncaught (in promise) DOMException: Element.animate: '::backdrop' is an unsupported pseudo-element.

Expected results:

The backdrop element should have been animated in. Works in Safari and Chrome.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
OS: Unspecified → macOS
Hardware: Unspecified → Desktop

Looks like this might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1615469

Component: DOM: Core & HTML → CSS Transitions and Animations

IIRC, Firefox doesn't support backdrop pseudo-element for animations. Only ::before, ::after, and ::marker now.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1615469
Summary: Element.animate: '::backdrop' is an unsupported pseudo-element. → Support all pseudo-elements in web animations. (was: Element.animate: '::backdrop' is an unsupported pseudo-element.)
See Also: → 1919341
Duplicate of this bug: 1917877

Should this bug also be linked as a duplicate? https://bugzilla.mozilla.org/show_bug.cgi?id=1725177

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: