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