OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 #wrap { | 5 #wrap { |
6 position: absolute; | 6 position: absolute; |
7 width: 400px; | 7 width: 400px; |
8 height: 200px; | 8 height: 200px; |
9 border: 2px solid black; | 9 border: 2px solid black; |
10 left:0; | 10 left:0; |
11 top:0; | 11 top:0; |
12 -webkit-transform: rotate(0); | 12 transform: rotate(0); |
13 } | 13 } |
14 | 14 |
15 #outer { | 15 #outer { |
16 position: absolute; | 16 position: absolute; |
17 width:200px; | 17 width:200px; |
18 height:200px; | 18 height:200px; |
19 background-color:grey; left:0; top:0; | 19 background-color:grey; left:0; top:0; |
20 } | 20 } |
21 | 21 |
22 #inner { | 22 #inner { |
(...skipping 27 matching lines...) Expand all Loading... |
50 output.innerHTML = "Success" | 50 output.innerHTML = "Success" |
51 } | 51 } |
52 testRunner.notifyDone(); | 52 testRunner.notifyDone(); |
53 } | 53 } |
54 | 54 |
55 document.getElementById('outer').style.left = '200px'; | 55 document.getElementById('outer').style.left = '200px'; |
56 measure(); | 56 measure(); |
57 </script> | 57 </script> |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |