OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script> | |
5 function changeValues() { | |
6 document.getElementById('color').setAttribute('values', '1'); | |
7 if (window.testRunner) { | |
8 testRunner.notifyDone(); | |
9 } | |
10 } | |
11 | |
12 onload = function() { | |
13 if (window.testRunner) { | |
14 testRunner.waitUntilDone(); | |
15 } | |
16 setTimeout(changeValues, 100); | |
pdr.
2015/04/15 18:34:22
What's this timer waiting on?
fs
2015/04/15 22:07:27
For SVGFEColorMatrixElement::build to be called I
Stephen Chennney
2015/04/16 18:12:19
Yes, a paint is needed. In fact, 2 paints are need
Stephen Chennney
2015/04/16 18:12:19
Yes. But I found the way to make it happen.
| |
17 } | |
18 </script> | |
19 </head> | |
20 <body> | |
21 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="100" height="100" fil ter="url(#MyFilter)" version="1.1"> | |
22 <defs> | |
23 <filter id="MyFilter"> | |
24 <fecolormatrix id="color" type="matrix"></fecolormatrix> | |
25 </filter> | |
26 </defs> | |
27 </svg> | |
28 </body> | |
29 </html> | |
OLD | NEW |