summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/rtl-with-scrollbar-ref.html
blob: dc9d6ae245c61d82f8515a94da8b60df9bc80b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html dir="rtl">
<head>
  <title>Transition is correctly positioned on RTL page (ref)</title>
  <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
  <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>