| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <title>Simple composited reflections</title> | 5 <title>Simple composited reflections</title> |
| 6 <style type="text/css" media="screen"> | 6 <style type="text/css" media="screen"> |
| 7 | 7 |
| 8 img { | 8 img { |
| 9 margin: 20px; | 9 margin: 20px; |
| 10 } | 10 } |
| 11 | 11 |
| 12 .compositing { | 12 .compositing { |
| 13 -webkit-transform: translateZ(0); | 13 transform: translateZ(0); |
| 14 } | 14 } |
| 15 | 15 |
| 16 .reflected { | 16 .reflected { |
| 17 -webkit-box-reflect: below 10px; | 17 -webkit-box-reflect: below 10px; |
| 18 } | 18 } |
| 19 | 19 |
| 20 </style> | 20 </style> |
| 21 </head> | 21 </head> |
| 22 <body> | 22 <body> |
| 23 | 23 |
| 24 <p>Testing reflections on directly composited images. Left and right sides sho
uld look the same.</p> | 24 <p>Testing reflections on directly composited images. Left and right sides sho
uld look the same.</p> |
| 25 <img class="reflected" src="../resources/thiswayup.png" width="184" height="12
4"> | 25 <img class="reflected" src="../resources/thiswayup.png" width="184" height="12
4"> |
| 26 <img class="compositing reflected" src="../resources/thiswayup.png" width="184
" height="124"> | 26 <img class="compositing reflected" src="../resources/thiswayup.png" width="184
" height="124"> |
| 27 | 27 |
| 28 </body> | 28 </body> |
| 29 </html> | 29 </html> |
| OLD | NEW |