OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 div { | 4 div { |
5 position: absolute; | 5 position: absolute; |
6 width: 50px; | 6 width: 50px; |
7 height: 50px; | 7 height: 50px; |
8 -webkit-transform: rotate3d(0, 0, 1, 10deg) scale(5, 5); | 8 transform: rotate3d(0, 0, 1, 10deg) scale(5, 5); |
9 } | 9 } |
10 #red { | 10 #red { |
11 top: 200px; | 11 top: 200px; |
12 left: 200px; | 12 left: 200px; |
13 background-color: red; | 13 background-color: red; |
14 } | 14 } |
15 #green { | 15 #green { |
16 top: 200px; | 16 top: 200px; |
17 left: 200px; | 17 left: 200px; |
18 background-color: green; | 18 background-color: green; |
19 | 19 |
20 } | 20 } |
21 </style> | 21 </style> |
22 </head> | 22 </head> |
23 <body> | 23 <body> |
24 <p>This test ensures that the sub-pixel offset is properly carried into a compos
ited transform origin.</p> | 24 <p>This test ensures that the sub-pixel offset is properly carried into a compos
ited transform origin.</p> |
25 <div id="red"></div> | 25 <div id="red"></div> |
26 <div id="green"></div> | 26 <div id="green"></div> |
OLD | NEW |