Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xpath / complex-id.html
blob482d06ec4c95d0e1250d22274c1267bc6992b0b8
1 <body>
2 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=12452">bug 12452</a>:
3 XPath id() function is not supported.</p>
5 <div id=test1 style="display:none">
7 </div>
8 <div id=test2 style="display:none">
9 b c
11 </div>
13 <div id="a"></div>
14 <div id="b"></div>
15 <div id="c"></div>
16 <div id="d"></div>
18 <script>
19 if (window.testRunner)
20 testRunner.dumpAsText();
22 var UNORDERED_NODE_SNAPSHOT_TYPE = 6;
24 result = document.evaluate("id(id(' test1 test2 '))", document.body, null, UNORDERED_NODE_SNAPSHOT_TYPE, null);
26 if (4 == result.snapshotLength)
27 document.write("SUCCESS");
28 else
29 document.write("FAILURE: " + result.snapshotLength + " result nodes (should be 4)");
30 </script>
31 </body>