blob: 48271b6ee840d011ec9188b83ec82fb46b194c77 [file] [log] [blame]
This test makes sure WebKit element.querySelector("#foo") returns a descendent node of the element even when there are multiple elements with the id foo.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS container.querySelectorAll("#foo").length is 1
PASS container.querySelectorAll("#foo")[0] is container.firstChild
PASS successfullyParsed is true
TEST COMPLETE