aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform-table-003.htm
blob: 7512b938e3657de7a94d07de40488f9eb5ca877b (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
<!DOCTYPE html>
<html><head>
    <title>CSS Test (Transforms): Transform on Table 2</title>
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
    <link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
    <meta content="This tests that another appropriately-crafted
    transform applied to a table works the same as if was applied to a wrapper
    div." name="assert">
    <link href="reference/transform-table-001-ref.htm" rel="match">
    <link href="reference/transform-table-001-notref.htm" rel="mismatch">
    <style>
      div {
        transform: translateX(200px) rotate(180deg) translateY(-100%);
        transform-origin: left;
      }
      table {
        transform: translateY(100%);
      }
    </style>
  </head>
  <body>
    <div>
      <table>
        <caption>Hello</caption>
        <tbody><tr><td>there!</td></tr>
      </tbody></table>
    </div>
  

</body></html>