animating-new-content-subset-ref.html (562B)
1 <!DOCTYPE html> 2 <html> 3 <title>View transitions: animations in the new element show up in the images if it partially changes (ref)</title> 4 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> 5 <link rel="author" href="mailto:khushalsagar@chromium.org"> 6 7 <style> 8 #target { 9 width:100px; 10 height:100px; 11 background: blue; 12 will-change: transform; 13 } 14 15 .child { 16 width: 50px; 17 height: 50px; 18 will-change: transform; 19 background: grey; 20 } 21 </style> 22 23 <div id="target"> 24 <div class="child"> 25 I'm the inner composited child. 26 </div> 27 </div>