blob: 3bade09076b88fd7eaeb5f331c777f82f1ef8554 [file] [log] [blame]
dino@apple.com7c479582008-07-10 19:05:10 +00001<html>
2<head>
3 <style type="text/css" media="screen">
4 body {
5 margin: 0;
6 }
7
8 #one {
9 position:absolute;
10 left: 50px;
11 top:50px;
12 width:100px;
13 height:100px;
14 background-color:red;
15 z-index:0;
16 }
17
18 #two {
19 width:200px;
20 height:200px;
21 overflow: auto;
22 -webkit-transform: scale(0.5);
23 background-color:green;
24 z-index:0;
25 }
26 </style>
27</head>
28<body>
29 <div id="one"></div>
30 <div id="two"></div>
31 <p>You should see one green square above</p>
32</body>
33</html>