mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +01:00
27 lines
531 B
HTML
27 lines
531 B
HTML
<!DOCTYPE html>
|
|
<title>View transitions: hit test shared element at the real dom location (ref)</title>
|
|
<link rel="help" href="https://github.com/WICG/view-transitions">
|
|
<link rel="author" href="mailto:vmpstr@chromium.org">
|
|
|
|
<style>
|
|
#target {
|
|
width: 100px;
|
|
height: 100px;
|
|
contain: paint;
|
|
background: blue;
|
|
position: relative;
|
|
left: 200px;
|
|
}
|
|
#unrelated {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: green;
|
|
position: relative;
|
|
top: 200px;
|
|
left: 200px;
|
|
}
|
|
|
|
</style>
|
|
|
|
<div id=target></div>
|
|
<div id=unrelated></div>
|