| 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 11 matching lines...) Expand all Loading... |
| 30 function changeColorProfile() { | 29 function changeColorProfile() { |
| 31 testRunner.setColorProfile('colorSpin', done); | 30 testRunner.setColorProfile('colorSpin', done); |
| 32 } | 31 } |
| 33 | 32 |
| 34 function done() { | 33 function done() { |
| 35 runAfterLayoutAndPaint(function() { testRunner.notifyDone() }); | 34 runAfterLayoutAndPaint(function() { testRunner.notifyDone() }); |
| 36 } | 35 } |
| 37 | 36 |
| 38 </script> | 37 </script> |
| 39 </html> | 38 </html> |
| OLD | NEW |