summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-transformed-thead-contains-fixed-position-ref.html
blob: e5e4217c82053c4e88aee9eaec52a24527dbff57 (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 thead 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>