summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform3d-sorting-003.html
blob: e3900be63ef0439e6a43e915e9beb1868d701f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Simple Sorting With No Preserve-3D</title>
    <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">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#3d-transform-rendering">
    <meta name="assert" content="The red box here is translated to above the
    lime box, but they aren't in the same 3D rendering context, so they should
    be drawn in DOM order regardless: lime box on top.">
    <link rel="match" href="transform-lime-square-ref.html">
  </head>
  <body>
    <div style="width: 100px; height: 100px; background: red;
      transform: translatez(10px)"></div>
    <div style="width: 100px; height: 100px; background: lime;
      transform: translatez(-10px) translatey(-100px)"></div>
  </body>
</html>