1 Test for bug 15380: XPath: id('foo') doesn't resolve correctly. 2 3 4 id('nested1') PASSED: [object HTMLDivElement] 5 id('nested1')/div[1] PASSED: [object HTMLDivElement] 6 id('nested1')//div[1] PASSED: [object HTMLDivElement] 7 id('nested1')/div[1]/input[2] PASSED: [object HTMLInputElement] 8 id('nested1')/div[1]//input[2] PASSED: [object HTMLInputElement] 9 id('nested1')//div[1]/input[2] PASSED: [object HTMLInputElement] 10 id('nested1')//div[1]//input[2] PASSED: [object HTMLInputElement] 11 12