Support all pseudo-elements in web animations. (was: Element.animate: '::backdrop' is an unsupported pseudo-element.)
Categories
(Core :: CSS Transitions and Animations, defect)
Tracking
()
People
(Reporter: tylergross28, Unassigned)
References
Details
Attachments
(1 file)
775.65 KB,
image/gif
|
Details |
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.
Comment 1•3 years ago
|
||
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.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 2•3 years ago
|
||
Looks like this might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1615469
Updated•3 years ago
|
Comment 3•3 years ago
|
||
IIRC, Firefox doesn't support backdrop pseudo-element for animations. Only ::before, ::after, and ::marker now.
Updated•11 months ago
|
Comment hidden (metoo) |
Comment 6•4 months ago
|
||
Should this bug also be linked as a duplicate? https://bugzilla.mozilla.org/show_bug.cgi?id=1725177
Description
•