summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-table-002.html
blob: e2a870f2e79e4a0e59c0f14ec61ac700260e720c (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Transform on Inline-Table</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 an appropriately-crafted
    transform applied to an inline-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-002-notref.html">
    <style>
      table {
        display: inline-table;
        transform: translate(200px) rotate(180deg);
        transform-origin: left;
      }
    </style>
  </head>
  <body>
    <table>
      <caption>Hello</caption>
      <tr><td>there!</td></tr>
    </table>
  </body>
</html>