https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 426d4707da2b60265fba7e5112ccbda72b113580 authored by Anne van Kesteren on 24 April 2018, 09:28:12 UTC
nit and use assert_equals
Tip revision: 426d470
transform-rotate-007.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Rotated Simple Box</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-rotate">
    <meta name="assert" content="This tests that rotating a simple rectangle by
    90 degrees produces another rectangle of the appropriate dimensions.">
    <link rel="match" href="transform-rotate-007-ref.html">
    <link rel="mismatch" href="transform-rotate-007-notref.html">
    <style>
      div {
        width: 100px;
        height: 200px;
        border: 1px solid black;
        transform: translate(50px, -50px) rotate(-90deg);
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>
back to top