haikuwebkit/LayoutTests/fast/css/style-attribute-invalidatio...

20 lines
1.1 KiB
Plaintext

Test that style invalidation through inline-style propagates correctly to siblings when a combinator requires it.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
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 getComputedStyle(document.querySelectorAll("target")[0]).color is "rgb(255, 192, 203)"
PASS getComputedStyle(document.querySelectorAll("target")[1]).color is "rgb(255, 192, 203)"
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 getComputedStyle(document.querySelectorAll("target")[0]).color is "rgb(255, 192, 203)"
PASS getComputedStyle(document.querySelectorAll("target")[1]).color is "rgb(255, 192, 203)"
PASS getComputedStyle(document.querySelectorAll("target")[0]).color is "rgb(255, 192, 203)"
PASS getComputedStyle(document.querySelectorAll("target")[1]).color is "rgb(255, 192, 203)"
PASS successfullyParsed is true
TEST COMPLETE