Chromium Code Reviews| 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('values', '1'); | |
| 14 if (window.testRunner) { | |
| 15 testRunner.displayAsyncThen(testDone); | |
| 16 } | |
| 17 } | |
| 18 | |
| 19 onload = function() { | |
| 20 if (window.testRunner) { | |
| 21 testRunner.waitUntilDone(); | |
| 22 testRunner.displayAsyncThen(changeValues); | |
| 23 } else { | |
| 24 setTimeout(changeValues, 200); | |
|
pdr.
2015/04/16 18:54:53
setTimeout 200ms? Can this be requestAnimationFram
Stephen Chennney
2015/04/16 19:14:13
Done.
| |
| 25 } | |
| 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="matrix"></fecolormatrix> | |
| 34 </filter> | |
| 35 </defs> | |
| 36 </svg> | |
| 37 PASS | |
| 38 </body> | |
| 39 </html> | |
| OLD | NEW |