new-element-on-start-ref.html (430B)
1 <!DOCTYPE html> 2 <title>View transitions: one element captured for two tags (ref)</title> 3 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> 4 <link rel="author" href="mailto:vmpstr@chromium.org"> 5 <style> 6 div { 7 width: 100px; 8 height: 100px; 9 contain: paint; 10 position: absolute; 11 top: 50px; 12 background: black; 13 left: 200px; 14 filter: invert(1); 15 } 16 body { background: lightpink; } 17 </style> 18 <div></div>