summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-abspos-ref.html
blob: f4aa147c981cec6085231281bd2fa732c0b3a60c (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <style>
      body > div {
        width: 100px;
        height: 200px;
        position: relative;
        left: 50px;
        top: 50px;
        background: gold;
      }
      body > div > div {
        width: 200px;
        height: 100px;
        position: absolute;
        left: 50px;
        top: 100px;
        background: navy;
        color: gold;
      }
    </style>
  </head>
  <body>
    <div>
      A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
      <div>
        0 1 2 3 4 5 6 7 8 9
      </div>
    </div>
  </body>
</html>