blob: 9a95e7da83378cd750c94d82e83bc71876ba2076 [file] [log] [blame]
Some attribute needs case insensitive value matching with HTML. This test we do not incorrectly match SVG.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.querySelectorAll("[lang=foobar]").length is 3
PASS document.querySelectorAll("[lang=foobar]")[0].id is "div1"
PASS document.querySelectorAll("[lang=foobar]")[1].id is "div3"
PASS document.querySelectorAll("[lang=foobar]")[2].id is "rect3"
PASS document.querySelectorAll("[link=foobar]").length is 3
PASS document.querySelectorAll("[link=foobar]")[0].id is "div2"
PASS document.querySelectorAll("[link=foobar]")[1].id is "div4"
PASS document.querySelectorAll("[link=foobar]")[2].id is "rect4"
PASS successfullyParsed is true
TEST COMPLETE