Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-invalid-html.xhtml
blob5c2fc5be2dacde6b71b14bdcc0a8258aaddb4ef0
1 <html>This test passes if a malformed html document triggers an error, not crash.
2 <svg xmlns="http://www.w3.org/2000/svg"
3 xmlns:xlink="http://www.w3.org/1999/xlink"
4 onload="restyle()">
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 function restyle() {
9 document.getElementById("b").style.position = "absolute";
11 </script>
12 <defs>
13 <g id="a" />
14 </defs>
15 <g id="b">
16 <use xlink:href="#a" />
17 </g>
18 </svg>