Style attribute !important wins over stylesheet !important On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS getComputedStyle(p).color is "rgb(0, 128, 0)" PASS successfullyParsed is true TEST COMPLETE This text should be green.