Home
last modified time | relevance | path

Searched refs:testElement (Results 1 – 9 of 9) sorted by relevance

/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/
Dtraversal-reject.js4 var testElement = document.createElement("div"); variable
5 testElement.innerHTML='<div id="A1"> <div id="B1"> <div id="C1"></div> </div> <div id="B2"></di…
26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false);
32 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false);
37 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB2Filter, false);
43 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false);
44 walker.currentNode = testElement.querySelectorAll('#C1')[0];
48 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB2Filter, false);
49 walker.currentNode = testElement.querySelectorAll('#B3')[0];
53 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false);
[all …]
Dtraversal-skip.js4 var testElement = document.createElement("div"); variable
5 testElement.innerHTML='<div id="A1"> <div id="B1"> <div id="C1"></div> </div> <div id="B2"></di…
26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false);
33 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false);
38 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB2Filter, false);
44 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false);
45 walker.currentNode = testElement.querySelectorAll('#C1')[0];
49 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB2Filter, false);
50 walker.currentNode = testElement.querySelectorAll('#B3')[0];
54 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false);
[all …]
DacceptNode-filter.js4 var testElement = document.createElement("div"); variable
5 testElement.id = 'root';
6 testElement.innerHTML='<div id="A1"><div id="B1"></div><div id="B2"></div></div>';
17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {
35 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, null, false);
41 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, undefined, false);
47 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {}, false);
55 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { acceptNode: "foo" }, fal…
65 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
[all …]
Dfilter-throw.js4 var testElement = document.createElement("div"); variable
5 testElement.id = 'root';
6 testElement.innerHTML='<div id="A1"><div id="B1"></div><div id="B2"></div></div>';
8 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, function(node) {
19 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {
Dtraversal-skip-most.js4 var testElement = document.createElement("div"); variable
5 testElement.innerHTML='<div id="A1"><div id="B1" class="keep"></div><div id="B2">this text matters<…
17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
23 walker.currentNode = testElement.querySelectorAll('#B3')[0];
DpreviousNodeLastChildReject.js3 var testElement = document.createElement("div"); variable
4 testElement.innerHTML='<div id="A1"><div id="B1"><div id="C1"></div><div id="C2"><div id="D1"></div…
13 var walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
DpreviousSiblingLastChildSkip.js3 var testElement = document.createElement("div"); variable
4 testElement.innerHTML='<div id="A1"><div id="B1"><div id="C1"></div><div id="C2"><div id="D1"></div…
13 var walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
/external/webkit/LayoutTests/fast/dom/NodeList/
Dinvalidate-node-lists-when-parsing-expected.txt5 If the cache is not invalidated when the testElement is parsed, both before and after will be "not …
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingQueueTest.java170 public void testElement() { in testElement() method in ForwardingQueueTest