OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .container { | 6 .container { |
7 height: 240px; | 7 height: 240px; |
8 width: 300px; | 8 width: 300px; |
9 border: 1px solid black; | 9 border: 1px solid black; |
10 -webkit-box-reflect: below 10px; | 10 -webkit-box-reflect: below 10px; |
11 } | 11 } |
12 .box { | 12 .box { |
13 margin: 10px; | 13 margin: 10px; |
14 height: 100px; | 14 height: 100px; |
15 width: 200px; | 15 width: 200px; |
16 -webkit-filter: sepia(1); | 16 -webkit-filter: sepia(1); |
17 -webkit-transform: translateZ(1px); /* Use composited filters */ | 17 -webkit-transform: translateZ(1px); /* Use composited filters */ |
18 -webkit-box-reflect: below 10px; | 18 -webkit-box-reflect: below 10px; |
19 } | 19 } |
20 | 20 |
21 </style> | 21 </style> |
22 <script type="text/javascript"> | 22 <script type="text/javascript"> |
23 if (window.testRunner) { | 23 if (window.testRunner) { |
24 testRunner.dumpAsText(true); | 24 testRunner.dumpAsTextWithPixelResults(); |
25 } | 25 } |
26 </script> | 26 </script> |
27 </head> | 27 </head> |
28 <body> | 28 <body> |
29 | 29 |
30 <div class="container"> | 30 <div class="container"> |
31 <div class="sepia box"> | 31 <div class="sepia box"> |
32 <img src="resources/reference.png"> | 32 <img src="resources/reference.png"> |
33 </div> | 33 </div> |
34 </div> | 34 </div> |
35 | 35 |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |