OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <svg id="svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.or
g/2000/svg"> | |
3 <defs id="defs"> | |
4 <filter id="f1"> | |
5 <feDiffuseLighting> | |
6 <feDistantLight azimuth="45" id="light"/> | |
7 </feDiffuseLighting> | |
8 </filter> | |
9 <filter id="f2"/> | |
10 </defs> | |
11 <image id="img" filter="url(#f1)" xlink:href="data:image/png;base64,iVBORw0KGg
oAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAADUlEQVQY02NgGAWkAwABNgABGtWNFwAAAABJRU5Erk
Jggg=="/> | |
12 | |
13 <text>PASS: did not crash.</text> | |
14 | |
15 <script> | |
16 f2 = document.getElementById('f2'); | |
17 docElement = document.getElementById('svg'); | |
18 light = document.getElementById('light'); | |
19 newDefs = document.getElementById('defs').cloneNode(true); | |
20 | |
21 if (window.testRunner) { | |
22 testRunner.dumpAsText(); | |
23 // Force a paint at this point to generate cached filter results. | |
24 testRunner.display(); | |
25 } | |
26 | |
27 docElement.appendChild(newDefs); | |
28 docElement.appendChild(f2); | |
29 docElement.offsetTop; | |
30 light.removeAttribute('azimuth'); | |
31 </script> | |
32 </svg> | |
OLD | NEW |