blob: c3d7fd4984836040e8d4c6d227ae98d3c989a512 [file] [log] [blame]
Test that elements before inline stylesheets get their style updated properly
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.getComputedStyle(document.getElementById("testid")).backgroundColor is "rgb(0, 128, 0)"
PASS window.getComputedStyle(document.getElementsByClassName("testclass")[0]).backgroundColor is "rgb(0, 128, 0)"
PASS window.getComputedStyle(document.getElementById("testID2")).backgroundColor is "rgb(255, 0, 0)"
PASS window.getComputedStyle(document.getElementsByClassName("testClass2")[0]).backgroundColor is "rgb(255, 0, 0)"
PASS successfullyParsed is true
TEST COMPLETE
id test
class test
case insensitive id test
case insensitive class test