blob: d855f734e469d16509d59f71861d356c876fd43e [file] [log] [blame]
Test the basic matching of the :any-link selector.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.querySelectorAll(":any-link").length is 25
PASS document.querySelectorAll(":any-link")[0] is document.getElementById("target-tag-2")
PASS document.querySelectorAll(":any-link")[1] is document.getElementById("target-tag-3")
PASS document.querySelectorAll(":any-link")[2] is document.getElementById("target-tag-4")
PASS document.querySelectorAll(":any-link")[3] is document.getElementById("target-tag-5")
PASS document.querySelectorAll(":any-link")[4] is document.getElementById("target-tag-6")
PASS document.querySelectorAll(":any-link")[5] is document.getElementById("target-tag-7")
PASS document.querySelectorAll(":any-link")[6] is document.getElementById("target-tag-8")
PASS document.querySelectorAll(":any-link")[7] is document.getElementById("target-tag-9")
PASS document.querySelectorAll(":any-link")[8] is document.getElementById("target-tag-14")
PASS document.querySelectorAll(":any-link")[9] is document.getElementById("target-tag-17")
PASS document.querySelectorAll(":any-link")[10] is document.getElementById("target-tag-18")
PASS document.querySelectorAll(":any-link")[11] is document.getElementById("target-tag-19")
PASS document.querySelectorAll(":any-link")[12] is document.getElementById("target-tag-20")
PASS document.querySelectorAll(":any-link")[13] is document.getElementById("target-tag-22")
PASS document.querySelectorAll(":any-link")[14] is document.getElementById("target-tag-23")
PASS document.querySelectorAll(":any-link")[15] is document.getElementById("target-tag-24")
PASS document.querySelectorAll(":any-link")[16] is document.getElementById("target-tag-25")
PASS document.querySelectorAll(":any-link")[17] is document.getElementById("target-tag-27")
PASS document.querySelectorAll(":any-link")[18] is document.getElementById("target-tag-28")
PASS document.querySelectorAll(":any-link")[19] is document.getElementById("target-tag-29")
PASS document.querySelectorAll(":any-link")[20] is document.getElementById("target-tag-30")
PASS document.querySelectorAll(":any-link")[21] is document.getElementById("target-tag-31")
PASS document.querySelectorAll(":any-link")[22] is document.getElementById("target-tag-32")
PASS document.querySelectorAll(":any-link")[23] is document.getElementById("target-tag-33")
PASS document.querySelectorAll(":any-link")[24] is document.getElementById("target-tag-34")
PASS getComputedStyle(document.getElementById("target-tag-1")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-2")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-3")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-4")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-5")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-6")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-7")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-8")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-9")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-10")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-11")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-12")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-13")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-14")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-15")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-16")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-17")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-18")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-19")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-20")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-21")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-22")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-23")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-24")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-25")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-26")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("target-tag-27")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-28")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-29")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-30")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-31")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-32")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-33")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("target-tag-34")).backgroundColor is "rgb(1, 2, 3)"
PASS successfullyParsed is true
TEST COMPLETE