OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 #container { | 6 #container { |
7 position: relative; | 7 position: relative; |
8 height: 50px; | 8 height: 50px; |
9 width: 100px; | 9 width: 100px; |
10 outline: 2px solid black; | 10 outline: 2px solid black; |
11 overflow: hidden; | 11 overflow: hidden; |
12 } | 12 } |
13 | 13 |
14 #container.changed { | 14 #container.changed { |
15 overflow: visible; | 15 overflow: visible; |
16 height: 100px; | 16 height: 100px; |
17 } | 17 } |
18 | 18 |
19 .box { | 19 .box { |
20 width: 100px; | 20 width: 100px; |
21 height: 100px; | 21 height: 100px; |
22 background-color: green; | 22 background-color: green; |
23 -webkit-transform: translateZ(1px); | 23 transform: translateZ(1px); |
24 } | 24 } |
25 | 25 |
26 #indicator { | 26 #indicator { |
27 position: absolute; | 27 position: absolute; |
28 width: 100px; | 28 width: 100px; |
29 height: 100px; | 29 height: 100px; |
30 background-color: red; | 30 background-color: red; |
31 } | 31 } |
32 | 32 |
33 #layers { | 33 #layers { |
(...skipping 25 matching lines...) Expand all Loading... |
59 <body> | 59 <body> |
60 | 60 |
61 <div id="indicator"></div> | 61 <div id="indicator"></div> |
62 <div id="container"> | 62 <div id="container"> |
63 <div class="box"></div> | 63 <div class="box"></div> |
64 </div> | 64 </div> |
65 | 65 |
66 <pre id="layers">Layer tree goes here in DRT</pre> | 66 <pre id="layers">Layer tree goes here in DRT</pre> |
67 </body> | 67 </body> |
68 </html> | 68 </html> |
OLD | NEW |