OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <p>PASS if no crash.</p> |
| 3 <svg> |
| 4 <symbol id="a"><rect width="100" height="100" fill="blue"/></symbol> |
| 5 <use id="b" xlink:href="#a"></use> |
| 6 <rect id="c" width="100" height="100" fill="red"/> |
| 7 </svg> |
| 8 <script> |
| 9 if (window.testRunner) |
| 10 testRunner.dumpAsText(); |
| 11 |
| 12 onload = function() { |
| 13 var use = document.getElementById('b'); |
| 14 use.removeAttribute("xlink:href"); |
| 15 var symbol = document.getElementById("a"); |
| 16 symbol.appendChild(document.getElementById("c")); |
| 17 use.setAttribute("height", "100"); |
| 18 } |
| 19 </script> |
OLD | NEW |