https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 149c83d77d05dafea4a5a4dadf6670bfadc8e360 authored by moz-wptsync-bot on 16 March 2018, 13:38:52 UTC
Port XHR to WorkerRef,
Tip revision: 149c83d
transform-translatex-001.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): translatex(50px)</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-translatex">
    <meta name="assert" content='This tests that translatex(50px) is the same
    as relative positioning by 50px toward the right.'>
    <link rel="match" href="transform-translatex-ref.html">
    <style>
      div {
        transform: translatex(50px);
      }
    </style>
  </head>
  <body>
    <div>Test Text</div>
  </body>
</html>
back to top