OLD | NEW |
(Empty) | |
| 1 <script> |
| 2 if (window.testRunner) { |
| 3 testRunner.waitUntilDone(); |
| 4 testRunner.setBackingScaleFactor(2, function() { testRunner.notifyDone()
; }); |
| 5 } |
| 6 </script> |
| 7 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1"> |
| 8 <defs> |
| 9 <filter id="colormatrix" color-interpolation-filters="sRGB"> |
| 10 <feColorMatrix x="10" y="20" width="80" height="60"/> |
| 11 </filter> |
| 12 </defs> |
| 13 </svg> |
| 14 <style> |
| 15 .filtered { |
| 16 -webkit-filter: url(#colormatrix); |
| 17 filter: url(#colormatrix); |
| 18 background-color: green; |
| 19 width: 100px; |
| 20 height: 100px; |
| 21 } |
| 22 body { |
| 23 margin: 0px; |
| 24 } |
| 25 </style> |
| 26 <div class="filtered"> |
| 27 </div> |
OLD | NEW |