summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-table-008.html
blob: 24a96d44bd8d9b98b686f5d8273fd3bedb399fc9 (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
41
42
43
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Table Without Preserve-3D 3</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property">
    <meta name="assert" content="This is essentially the same as
    transform-table-006.html, except using divs with 'display' specified
    instead of actual table elements.">
    <link rel="match" href="transform-blank-ref.html">
    <style>
      body > div {
        transform: rotateX(90deg);
        transform-style: preserve-3d;
      }
      body > div > div {
        display: table;
      }
      body > div > div > div {
        display: table-row;
      }
      body > div > div > div > div {
        display: table-cell;
        transform-style: preserve-3d;
      }
      body > div > div > div > div > div {
        transform: rotateX(90deg);
      }
    </style>
  </head>
  <body>
    <p>Nothing should appear except this sentence.</p>
    <div>
      <div>
        <div>
          <div>
            <div>Some text</div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>