Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xpath / null-namespace-in-html.html
blob3e9cf5f27e778b355b7bc88e6de25af636cb5b7a
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script src="xpath-test-pre.js"></script>
5 </head>
6 <body>
7 <p>This tests that XPath expressions with prefixes work correctly.</p>
8 <div id="console"></div>
9 <script>
10 var xmlString = '<div/>';
11 var doc = (new DOMParser()).parseFromString(xmlString, "text/xml");
12 document.body.insertBefore(document.importNode(doc.documentElement, null), document.body.firstChild);
14 var expr = document.createExpression("//div", null);
15 var result = expr.evaluate(document.documentElement, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
16 checkSnapshot("//div", result, [document.getElementById("console")]);
18 </script>
19 </body>
20 </html>