aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-table-010.xht
blob: c9a4ce87063d92d76bd721ba0d5c317893c81f2e (plain) (blame)
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
44
45
46
47
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <title>CSS Test (Transforms): Table With Preserve-3D 2</title>
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
    <link href="http://www.w3.org/TR/css-transforms-1/#transform-style-property" rel="help" />
    <meta content="This is the same as transform-table-007.html,
    except that now divs are used instead of actual table elements.  This means
    that the parser doesn't create an implicit intervening &lt;tbody>, so
    preserve-3d is applied to all intervening elements, and the text should
    display (mirrored)." name="assert" />
    <link href="reference/transform-table-009-ref.xht" rel="match" />
    <link href="reference/transform-table-010-notref.xht" rel="mismatch" />
    <style>
      body &gt; div {
        transform: rotateX(90deg);
        transform-style: preserve-3d;
      }
      body &gt; div &gt; div {
        display: table;
        transform-style: preserve-3d;
      }
      body &gt; div &gt; div &gt; div {
        display: table-row;
        transform-style: preserve-3d;
      }
      body &gt; div &gt; div &gt; div &gt; div {
        display: table-cell;
        transform-style: preserve-3d;
      }
      body &gt; div &gt; div &gt; div &gt; div &gt; div {
        transform: rotateX(90deg);
      }
    </style>
  </head>
  <body>
    <div>
      <div>
        <div>
          <div>
            <div>Some text</div>
          </div>
        </div>
      </div>
    </div>
  

</body></html>