NEW 122149
transform on first-of-type pseudo element animates when transition is specified
https://bugs.webkit.org/show_bug.cgi?id=122149
Summary transform on first-of-type pseudo element animates when transition is specified
Ryosuke Niwa
Reported 2013-10-01 02:20:36 PDT
Reported on Twitter: https://twitter.com/bdc/status/383584822754807808 The first box doesn't animate. <!DOCTYPE html> <html> <body> <style> div { width: 100px; height: 100px; background: black; -webkit-transition: 1s; } div:first-of-type { -webkit-transform: translateX(100px); } div:last-of-type { -webkit-transform: translateX(100px); } </style> <div></div> <div></div> </body> </html>
Attachments
Note You need to log in before you can comment on or make changes to this bug.