summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-descendant-ref.html
blob: ac60e7f52fd7477bfbe77bba38a568b1706c8ae9 (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <style>
      body > div {
        background: green;
        height: 100px;
        width: 100px;
      }
      span {
        background: yellow;
      }
      body > div > div {
        position: relative;
        top: 150px;
        left: 20px;
      }
    </style>
  </head>
  <body>
    <div>
      <div><span>span 1</span></div>
    </div>
    <span>span 2</span>
  </body>
</html>