hit-test-unrelated-element-ref.html (539B)
1 <!DOCTYPE html> 2 <title>View transitions: hit test shared element at the real dom location (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 6 <style> 7 #target { 8 width: 100px; 9 height: 100px; 10 contain: paint; 11 background: blue; 12 position: relative; 13 left: 200px; 14 } 15 #unrelated { 16 width: 100px; 17 height: 100px; 18 background: green; 19 position: relative; 20 top: 200px; 21 left: 200px; 22 } 23 24 </style> 25 26 <div id=target></div> 27 <div id=unrelated></div>