Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-href-attr-removal-crash.html
blob8004f499f80eabb5bfbed23d7f3cf237cd9cb8e6
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();
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");
19 </script>