wpt / css / css-transforms / transform-transformable-inline-table.html

Status: PASS | Duration: 4ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-transforms/transform-transformable-inline-table.html

<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Transformability of 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 transforms specified on an
    inline-table work as expected.'>
    <link rel="match" href="transform-transformable-inline-table-ref.html">
    <style>
      body {
        overflow: hidden;
      }
      div {
        display: inline-table;
        transform: translate(50px, 50px);
      }
    </style>
  </head>
  <body>
    <div>Some text</div>
  </body>
</html>

/css/css-transforms/transform-transformable-inline-table-ref.html

<!DOCTYPE html>
<html>
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <style>
      body {
        overflow: hidden;
      }
      body > div {
        position: relative;
        top: 50px;
        left: 50px;
      }
      body > div > div {
        display: inline-table;
      }
    </style>
  </head>
  <body>
    <div>
      <div>Some text</div>
    </div>
  </body>
</html>