mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
40 lines
723 B
HTML
40 lines
723 B
HTML
<!DOCTYPE html>
|
|
<html dir="rtl">
|
|
<head>
|
|
<title>Transition is correctly positioned on RTL page (ref)</title>
|
|
<link rel="help" href="https://github.com/WICG/view-transitions">
|
|
<link rel="author" href="mailto:bokan@chromium.org">
|
|
|
|
<style>
|
|
#target {
|
|
position: absolute;
|
|
top: 100px;
|
|
left: 100px;
|
|
width: 100px;
|
|
height: 200px;
|
|
background: dodgerblue;
|
|
}
|
|
|
|
#inroot {
|
|
position: absolute;
|
|
top: 300px;
|
|
left: 200px;
|
|
width: 100px;
|
|
height: 200px;
|
|
background: rebeccapurple;
|
|
}
|
|
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
/* add overflow for scrollbar */
|
|
height: 200vh;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
</body>
|
|
<div id=target></div>
|
|
<div id="inroot"></div>
|
|
</body>
|
|
</html>
|