OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
5 <style> | 5 <style> |
6 .outer { | 6 .outer { |
7 width: 120px; | 7 width: 120px; |
8 height: 230px; | 8 height: 230px; |
9 margin: 20px 60px; | 9 margin: 20px 60px; |
10 border: 1px solid black; | 10 border: 1px solid black; |
11 -webkit-box-reflect: right 10px; | 11 -webkit-box-reflect: right 10px; |
12 } | 12 } |
13 | 13 |
14 .inner { | 14 .inner { |
15 margin: 10px; | 15 margin: 10px; |
16 width: 100px; | 16 width: 100px; |
17 height: 100px; | 17 height: 100px; |
18 background-color: green; | 18 background-color: green; |
19 text-align: center; | 19 text-align: center; |
20 font-size: 50pt; | 20 font-size: 50pt; |
21 -webkit-box-reflect: below 10px; | 21 -webkit-box-reflect: below 10px; |
22 -webkit-transform: rotate3d(0, 0, 1, 20deg); | 22 transform: rotate3d(0, 0, 1, 20deg); |
23 } | 23 } |
24 | 24 |
25 .changed { | 25 .changed { |
26 -webkit-transform-origin: top left; | 26 -webkit-transform-origin: top left; |
27 } | 27 } |
28 </style> | 28 </style> |
29 <script type="text/javascript" charset="utf-8"> | 29 <script type="text/javascript" charset="utf-8"> |
30 if (window.testRunner) | 30 if (window.testRunner) |
31 testRunner.waitUntilDone(); | 31 testRunner.waitUntilDone(); |
32 | 32 |
(...skipping 10 matching lines...) Expand all Loading... |
43 </head> | 43 </head> |
44 <body> | 44 <body> |
45 <p>Left and right sides should look symmetrical.</p> | 45 <p>Left and right sides should look symmetrical.</p> |
46 <div class="outer composited"> | 46 <div class="outer composited"> |
47 <div id="inner" class="inner composited"> | 47 <div id="inner" class="inner composited"> |
48 1 | 48 1 |
49 </div> | 49 </div> |
50 </div> | 50 </div> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |