blob: fc93d8b147900754f03f366963055a30cf853c05 [file] [log] [blame]
Test the style invalidation of elements affected by an indirect adjacent.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[1]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[1]) is false
PASS getComputedStyle(document.querySelectorAll("target")[0]).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.querySelectorAll("target")[1]).color is "rgb(0, 0, 0)"
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[0]) is true
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[1]) is true
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[1]) is false
PASS getComputedStyle(document.querySelectorAll("target")[0]).color is "rgb(0, 1, 2)"
PASS getComputedStyle(document.querySelectorAll("target")[1]).color is "rgb(0, 1, 2)"
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[1]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[1]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[0]) is true
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[1]) is true
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[1]) is false
PASS getComputedStyle(document.querySelectorAll("target")[0]).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.querySelectorAll("target")[1]).color is "rgb(0, 0, 0)"
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll(".activator")[1]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[0]) is false
PASS window.internals.nodeNeedsStyleRecalc(document.querySelectorAll("target")[1]) is false
PASS successfullyParsed is true
TEST COMPLETE