| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <script src="../resources/run-after-layout-and-paint.js"></script> | 3 <script src="../resources/run-after-layout-and-paint.js"></script> |
| 4 | 4 |
| 5 <style> | 5 <style> |
| 6 .reflection { | 6 .reflection { |
| 7 -webkit-box-reflect: below 5px -webkit-gradient(linear, left top, left botto
m, | 7 -webkit-box-reflect: below 5px linear-gradient(transparent, white); |
| 8 from(transparent), color-stop(0, transparent), to(white)); | |
| 9 background: url("resources/red-at-12-oclock-with-color-profile.jpg"); | 8 background: url("resources/red-at-12-oclock-with-color-profile.jpg"); |
| 10 height: 260px; | 9 height: 260px; |
| 11 } | 10 } |
| 12 </style> | 11 </style> |
| 13 | 12 |
| 14 <!-- The blue sector of the image should be at 12 o'clock and reflected below. -
-> | 13 <!-- The blue sector of the image should be at 12 o'clock and reflected below. -
-> |
| 15 <div></div> | 14 <div></div> |
| 16 | 15 |
| 17 <script> | 16 <script> |
| 18 window.onload = function() { | 17 window.onload = function() { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 29 function done() { | 28 function done() { |
| 30 setTimeout(function() { testRunner.notifyDone() }, 0); | 29 setTimeout(function() { testRunner.notifyDone() }, 0); |
| 31 } | 30 } |
| 32 | 31 |
| 33 if (window.testRunner) { | 32 if (window.testRunner) { |
| 34 testRunner.dumpAsTextWithPixelResults(); | 33 testRunner.dumpAsTextWithPixelResults(); |
| 35 testRunner.waitUntilDone(); | 34 testRunner.waitUntilDone(); |
| 36 } | 35 } |
| 37 </script> | 36 </script> |
| 38 </html> | 37 </html> |
| OLD | NEW |