summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-transformed-td-contains-fixed-position-ref.html
blob: 27981a65410f2f8ea2bb1a0fdf61f9665b0d3985 (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Transformed td contains fixed position elements reference.</title>
    <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
    <style>
      body {
        overflow: hidden;
      }
      .pad {
        height: 50px;
      }
      .container {
        transform: translateX(20px) rotate(45deg);
        transform-origin: left;
      }
      .fixed {
        position: fixed;
        top: 15px;
        left: 10px;
        background-color: lightblue;
      }
    </style>
  </head>
  <body>
    <div class='pad'></div>
    <div class='container'>some text<div class='fixed'>fixed</div>
    </div>
  </body>
</html>