I'd like to add that transitions/animations on `auto` valued properties should also be triggered when content changes: <hr/> ```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Replaced content transition</title> <style type="text/css"> div { border: 2px solid #caa; background-color: antiquewhite; padding: 1em; margin: 2em auto; width: 80%; transition: height 1s; } </style> </head> <body onload="setTimeout(() => document.getElementById('replaceMe').src='b.png', 2000)"> <div><img id="replaceMe" alt="" src="a.png" /></div> </body> </html> ``` -- GitHub Notification of comment by SetTrend Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/626#issuecomment-630484457 using your GitHub accountReceived on Monday, 18 May 2020 23:19:49 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC