| 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 body { | 6 body { |
| 7 position: relative; | 7 position: relative; |
| 8 } | 8 } |
| 9 #parent { | 9 #parent { |
| 10 position: relative; | 10 position: relative; |
| 11 width: 300px; | 11 width: 300px; |
| 12 height: 250px; | 12 height: 250px; |
| 13 padding: 20px; | 13 padding: 20px; |
| 14 border: 1px solid black; | 14 border: 1px solid black; |
| 15 -webkit-transform: translate(0px, 0px); | 15 transform: translate(0px, 0px); |
| 16 } | 16 } |
| 17 | 17 |
| 18 #child { | 18 #child { |
| 19 position: relative; | 19 position: relative; |
| 20 left: 10px; | 20 left: 10px; |
| 21 width: 250px; | 21 width: 250px; |
| 22 height: 220px; | 22 height: 220px; |
| 23 background-color: blue; | 23 background-color: blue; |
| 24 -webkit-transform: translate(0px, 0px); | 24 transform: translate(0px, 0px); |
| 25 } | 25 } |
| 26 | 26 |
| 27 #grandchild { | 27 #grandchild { |
| 28 position: relative; | 28 position: relative; |
| 29 top: 10px; | 29 top: 10px; |
| 30 left: 10px; | 30 left: 10px; |
| 31 width: 200px; | 31 width: 200px; |
| 32 height: 200px; | 32 height: 200px; |
| 33 background-color: yellow; | 33 background-color: yellow; |
| 34 -webkit-transform: rotate(30deg); | 34 transform: rotate(30deg); |
| 35 } | 35 } |
| 36 | 36 |
| 37 #greatgrandchild { | 37 #greatgrandchild { |
| 38 position: relative; | 38 position: relative; |
| 39 left: 100px; | 39 left: 100px; |
| 40 width: 250px; | 40 width: 250px; |
| 41 height: 100px; | 41 height: 100px; |
| 42 background-color: green; | 42 background-color: green; |
| 43 } | 43 } |
| 44 | 44 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 Box should switch between perspective and flat | 101 Box should switch between perspective and flat |
| 102 </div> | 102 </div> |
| 103 </div> | 103 </div> |
| 104 </div> | 104 </div> |
| 105 </div> | 105 </div> |
| 106 | 106 |
| 107 <pre id="layers">Layer tree goes here in DRT</pre> | 107 <pre id="layers">Layer tree goes here in DRT</pre> |
| 108 </body> | 108 </body> |
| 109 </html> | 109 </html> |
| 110 | 110 |
| OLD | NEW |