blob: 8193849308ddbf767dbfd03545448c7f0b77d39f [file] [log] [blame]
Test style update caused by id changes on a sibling.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Initial state does not match, there is no id defined.
PASS getComputedStyle(document.getElementById("bar-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).minWidth is "0px"
Adding the id, we should have a match.
PASS getComputedStyle(document.getElementById("bar-with-renderer")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).backgroundColor is "rgb(1, 2, 3)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).fillOpacity is "0.5"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).fillOpacity is "0.5"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).minWidth is "1px"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).minWidth is "1px"
Removing the id, we should not longer match.
PASS getComputedStyle(document.getElementById("bar-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).minWidth is "0px"
Setting the id to a different value, we should not match.
PASS getComputedStyle(document.getElementById("bar-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).backgroundColor is "rgb(255, 255, 255)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).fillOpacity is "1"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("bar-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-with-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("bar-without-renderer")).minWidth is "0px"
PASS getComputedStyle(document.getElementById("baz-without-renderer")).minWidth is "0px"
PASS successfullyParsed is true
TEST COMPLETE