OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script> |
| 5 function testDone() { |
| 6 if (window.testRunner) { |
| 7 testRunner.dumpAsText(); |
| 8 testRunner.notifyDone(); |
| 9 } |
| 10 } |
| 11 |
| 12 function changeValues() { |
| 13 document.getElementById('color').setAttribute('type', 'matrix'); |
| 14 requestAnimationFrame(testDone); |
| 15 } |
| 16 |
| 17 function forcePaint() { |
| 18 requestAnimationFrame(changeValues); |
| 19 } |
| 20 |
| 21 onload = function() { |
| 22 if (window.testRunner) { |
| 23 testRunner.waitUntilDone(); |
| 24 } |
| 25 requestAnimationFrame(forcePaint); |
| 26 } |
| 27 </script> |
| 28 </head> |
| 29 <body> |
| 30 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="100" height="100" fil
ter="url(#MyFilter)" version="1.1"> |
| 31 <defs> |
| 32 <filter id="MyFilter"> |
| 33 <fecolormatrix id="color" type="hueRotate"></fecolormatrix> |
| 34 </filter> |
| 35 </defs> |
| 36 </svg> |
| 37 PASS |
| 38 </body> |
| 39 </html> |
OLD | NEW |