summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform3d-preserve3d-012.html
blob: e0b6eeca6304cc589611ee0782d720a2a7036d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): 90-Degree Rotations Without Preserve-3D</title>
    <link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property">
    <meta name="assert" content="This tests that two 90-degree rotations with
    the default 'transform-style: flat' do not add together to form a
    180-degree rotation.  Instead, the first causes the contents to vanish and
    the second does not restore them.">
    <link rel="match" href="transform-blank-ref.html">
  </head>
  <body>
    <p>Nothing should appear except this sentence.</p>
    <div style="transform: rotatex(90deg);">
      <div style="transform: rotatex(90deg); width: 100px; height: 100px;">
        Test Text
      </div>
    </div>
  </body>
</html>