Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / embedded-svg-allowed-in-dashboard.xml
blob3c97e73a311917caa1784851b02f34fb118c5c45
1 <html xmlns="http://www.w3.org/1999/xhtml">
2     <head>
3         <title>Make sure embedded SVG is turned on in dashboard</title>
4     </head>
5     <script>
6          if (window.testRunner) {
7              testRunner.setUseDashboardCompatibilityMode(true);
8              testRunner.dumpAsText();
9          }
11          function debug(str) {
12              var c = document.getElementById('console')
13              c.appendChild(document.createTextNode(str + '\n'));
14          }
15     </script>
16     <body>
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"/>
21         </svg>
22         <script>
23            if(document.getElementById('svgCircleNode') instanceof SVGElement)
24                debug("PASS: Successfully embedded SVG in document");
25            else
26                debug("FAIL: SVG Elements could not be created");
27         </script>
28     </body>
29 </html>