summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/sorting-2b.html
blob: bb553dd862ca664edce41e2298ad5d25f4f28599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
    <head>
        <style type="text/css">
        #parent {
            transform-style: preserve-3d;
            transform: rotatex(180deg);
        }

        #one {
          width: 100px;
          height: 100px;
          background-color: red;
          transform: translatez(10px) translatey(50px);
        }

        #two {
          width: 100px;
          height: 100px;
          background-color: #00FF00;
          transform: translatez(10px);
        }
        </style>
    </head>
    <body>
        <div id="parent">
                <div id="one"></div>
                <div id="two"></div>
        </div>
    </body>
</html>