1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>Make sure embedded SVG is turned on in dashboard</title>
6 if (window.testRunner) {
7 testRunner.setUseDashboardCompatibilityMode(true);
8 testRunner.dumpAsText();
12 var c = document.getElementById('console')
13 c.appendChild(document.createTextNode(str + '\n'));
17 <p>This test is to ensure SVG elements can be created by being embedded in xml documents. It can not be tested manually.</p>
18 <pre id="console"></pre>
19 <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
20 <circle id="svgCircleNode" cx="100" cy="100" r="50" fill="red"/>
23 if(document.getElementById('svgCircleNode') instanceof SVGElement)
24 debug("PASS: Successfully embedded SVG in document");
26 debug("FAIL: SVG Elements could not be created");