HomeSort by relevance Sort by last modified time
    Searched full:documentelement (Results 1 - 25 of 372) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/LayoutTests/fast/xpath/py-dom-xpath/
data.html 22 var nsResolver = doc.createNSResolver(doc.documentElement);
24 test(doc, doc.documentElement, 'normalize-space(/)', "<text> followed by more text", nsResolver);
25 test(doc, doc.documentElement, 'name(/)', "", nsResolver);
26 test(doc, doc.documentElement, 'local-name(/)', "", nsResolver);
27 test(doc, doc.documentElement, 'namespace-uri(/)', "", nsResolver);
29 test(doc, doc.documentElement, 'normalize-space(/doc)', "<text> followed by more text", nsResolver);
31 test(doc, doc.documentElement, 'string(//a:item)', "", nsResolver);
32 test(doc, doc.documentElement, 'name(//a:item)', "a:item", nsResolver);
33 test(doc, doc.documentElement, 'local-name(//a:item)', "item", nsResolver);
34 test(doc, doc.documentElement, 'namespace-uri(//a:item)', "http://www.example.com/a", nsResolver)
    [all...]
expressions.html 21 var ROOT = doc.documentElement;
27 test(doc, doc.documentElement, '//item[@id >= 2 and @id <= "4"]', [ITEM2, ITEM3, ITEM4]);
28 test(doc, doc.documentElement, '//item[@id >= 2 and @id <= 3]', [ITEM2, ITEM3]);
29 shouldThrow('doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE, null)');
30 shouldThrow('doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null)');
32 shouldThrow('doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null)');
33 shouldThrow('doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE, null)');
49 var ROOT = doc.documentElement;
60 test(doc, doc.documentElement, '//item[@id mod 2 = 0] | //item[@id mod 3 = 0]', [ITEM2, ITEM3, ITEM4, ITEM6, ITEM8, ITEM9]);
61 shouldThrow('doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE, null)')
    [all...]
predicates.html 27 var ROOT = doc.documentElement;
37 test(doc, doc.documentElement, '//item[@id >= 2 and @id <= 4]', [I2, I3, I4]);
38 test(doc, doc.documentElement, '/doc/child::item[1]', [I1]);
39 test(doc, doc.documentElement, '//group[@id="g2"]/ancestor::*[1]', [G1]);
40 test(doc, doc.documentElement, '//item[@id="2"]/following-sibling::item[1]', [I4]);
41 test(doc, doc.documentElement, '//item[@id="5"]/preceding-sibling::item[1]', [I4]);
42 test(doc, doc.documentElement, '//group[@id="g2"]/following::item[1]', [I4]);
43 test(doc, doc.documentElement, '//group[@id="g2"]/preceding::item[1]', [I2]);
44 test(doc, doc.documentElement, '//group[@id="g1"]/descendant-or-self::item[1]', [I2]);
45 test(doc, doc.documentElement, '//group[@id="g2"]/ancestor-or-self::*[1]', [G2])
    [all...]
paths.html 18 test(doc, doc.documentElement, 'child::para', [doc.getElementsByTagName("para")[0], doc.getElementsByTagName("para")[1]]);
19 test(doc, doc.documentElement, 'child::*', [doc.documentElement.firstChild, doc.documentElement.firstChild.nextSibling, doc.documentElement.lastChild]);
24 test(doc, doc.documentElement, 'child::text()', [doc.documentElement.firstChild, doc.documentElement.lastChild]);
25 test(doc, doc.documentElement, 'child::node()', [doc.documentElement.firstChild, doc.documentElement.firstChild.nextSibling, doc.documentElement.lastChild])
    [all...]
abbreviations.html 18 test(doc, doc.documentElement, "para", [doc.getElementsByTagName("para")[0], doc.getElementsByTagName("para")[1]]);
19 test(doc, doc.documentElement, "*", [doc.getElementsByTagName("para")[0], doc.getElementsByTagName("div")[0], doc.getElementsByTagName("para")[1]]);
22 test(doc, doc.documentElement, "text()", [doc.documentElement.firstChild, doc.documentElement.lastChild]);
25 test(doc, doc.documentElement, "@name", [doc.documentElement.getAttributeNode("name")]);
26 test(doc, doc.documentElement, "@*", [doc.documentElement.getAttributeNode("name"), doc.documentElement.getAttributeNode("value")])
    [all...]
expressions-expected.txt 3 PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
6 PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
9 PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
axes.html 68 var ROOT = doc.documentElement;
85 test(doc, doc.documentElement, '//*[@id="2"]/child::*', [SECTION21, SECTION22, SECTION23]);
86 test(doc, doc.documentElement, '//*[@id="2.2"]/parent::*', [CHAPTER2]);
87 test(doc, doc.documentElement, '//*[@id="2.2"]/ancestor::*', [ROOT, CHAPTER2]);
88 test(doc, doc.documentElement, '//*[@id="2.2"]/following-sibling::*', [SECTION23]);
89 test(doc, doc.documentElement, '//*[@id="2.2"]/preceding-sibling::*', [SECTION21]);
90 test(doc, doc.documentElement, '//*[@id="2.2"]/following::*', [SECTION23, ITEM231, CHAPTER3, SECTION31, ITEM311]);
91 test(doc, doc.documentElement, '//*[@id="2.2"]/preceding::*', [CHAPTER1, SECTION11, ITEM111, SECTION21, ITEM211]);
92 test(doc, doc.documentElement, '//*[@id="2.2"]/attribute::*', [SECTION22.getAttributeNode("id")]);
93 test(doc, doc.documentElement, '//*[@id="2.2"]/self::*', [SECTION22])
    [all...]
  /external/webkit/LayoutTests/fast/encoding/
invalid-xml-expected.txt 2 PASS iframe.contentDocument.documentElement.tagName is "root"
3 PASS iframe.contentDocument.documentElement.getElementsByTagName('test').length < 1 is true
5 PASS iframe.contentDocument.documentElement.tagName is "root"
6 PASS iframe.contentDocument.documentElement.getElementsByTagName('test').length < 1 is true
8 PASS iframe.contentDocument.documentElement.tagName is "root"
9 PASS iframe.contentDocument.documentElement.getElementsByTagName('test').length < 1 is true
11 FAIL iframe.contentDocument.documentElement.tagName should be root. Was html.
12 PASS iframe.contentDocument.documentElement.getElementsByTagName('test').length < 1 is true
  /external/webkit/LayoutTests/fast/xpath/
evaluate-twice-expected.txt 1 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue is '1'
2 PASS expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue is '1'
3 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue is '1'
4 PASS expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue is '2'
5 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue is '1'
6 PASS expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue is '2'
7 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.NUMBER_TYPE, null).numberValue is 2
8 PASS expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.NUMBER_TYPE, null).numberValue is 3
evaluate-twice.html 15 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue", "'1'");
16 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue", "'1'");
20 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue", "'1'");
21 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue", "'2'");
25 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue", "'1'");
26 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue", "'2'");
30 shouldBe("expr.evaluate(doc.documentElement.firstChild, XPathResult.NUMBER_TYPE, null).numberValue", "2");
31 shouldBe("expr.evaluate(doc.documentElement.firstChild.nextSibling, XPathResult.NUMBER_TYPE, null).numberValue", "3");
xpath-namespaces.html 14 var contextNode = doc.documentElement;
19 checkSnapshot("/ns:foo", result, [doc.documentElement]);
23 checkSnapshot("/ns:*", result, [doc.documentElement]);
35 checkSnapshot("/xmpl:*", result, [doc.documentElement]);
39 checkSnapshot("/xmpl:*", result, [doc.documentElement]);
  /external/webkit/LayoutTests/fast/dom/TreeWalker/
TreeWalker-currentNode-expected.txt 15 PASS w.currentNode is document.documentElement
16 PASS w.nextNode() is document.documentElement.firstChild
17 PASS w.currentNode is document.documentElement.firstChild
19 PASS w.currentNode is document.documentElement
20 PASS w.firstChild() is document.documentElement.firstChild
21 PASS w.currentNode is document.documentElement.firstChild
22 PASS w.lastChild() is document.documentElement.lastChild
23 PASS w.currentNode is document.documentElement.lastChild
25 PASS w.currentNode is document.documentElement
27 PASS w.currentNode is document.documentElement
    [all...]
  /external/webkit/LayoutTests/fast/dom/TreeWalker/resources/
TreeWalker-currentNode.js 21 w.currentNode = document.documentElement;
23 shouldBe("w.currentNode", "document.documentElement");
24 w.currentNode = document.documentElement;
25 shouldBe("w.nextNode()", "document.documentElement.firstChild");
26 shouldBe("w.currentNode", "document.documentElement.firstChild");
27 w.currentNode = document.documentElement;
29 shouldBe("w.currentNode", "document.documentElement");
30 w.currentNode = document.documentElement;
31 shouldBe("w.firstChild()", "document.documentElement.firstChild");
32 shouldBe("w.currentNode", "document.documentElement.firstChild")
    [all...]
  /external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/
css-style-item.js 5 document.documentElement.appendChild(element);
13 document.documentElement.removeChild(element);
css-computed-style-item.js 5 document.documentElement.appendChild(element);
12 document.documentElement.removeChild(element);
  /external/webkit/LayoutTests/fast/dom/getElementsByClassName/
014.html 10 // t(document.getElementsByClassName("A a"), [document.documentElement])
11 t(document.getElementsByClassName("A a"), [document.documentElement, document.body])
001.html 9 <script> t(document.getElementsByClassName("\ta\n"), [document.documentElement, document.body]) </script>
002.html 11 <script> t(document.getElementsByClassName("a\n"), [document.documentElement, document.body]) </script>
003.html 12 t(collection, [document.documentElement])
005.html 12 t(collection, [document.documentElement])
009.html 9 <script> t(document.getElementsByClassName("A a"), [document.documentElement]) </script>
015.html 11 t(elms, [document.documentElement]);
  /external/webkit/LayoutTests/fast/dom/Node/script-tests/
normalize-with-cdata.js 16 shouldBe('xmlChunk.documentElement.childNodes.length', '3');
17 xmlChunk.documentElement.normalize();
20 shouldBe('xmlChunk.documentElement.childNodes.length', '3');
  /external/webkit/LayoutTests/fast/dom/getElementsByClassName/array/
001.html 11 <script> t(document.getElementsByClassName(["a\n"]), [document.documentElement, document.body]) </script>
  /external/webkit/LayoutTests/fast/dom/Node/
normalize-with-cdata-expected.txt 8 PASS xmlChunk.documentElement.childNodes.length is 3
11 PASS xmlChunk.documentElement.childNodes.length is 3

Completed in 255 milliseconds

1 2 3 4 5 6 7 8 91011>>