1 SimpleTest.waitForExplicitFinish();
3 window.addEventListener("load", runTests);
5 function runTests(event) {
6 if (event.target != document) {
10 var elt = document.getElementById("content");
12 elt.setAttribute("style", "color: blue; background-color: fuchsia");
13 is(elt.style.color, "blue", "setting correct style attribute (color)");
15 elt.style.backgroundColor,
17 "setting correct style attribute (color)"
20 elt.setAttribute("style", "{color: blue; background-color: fuchsia}");
21 is(elt.style.color, "", "setting braced style attribute (color)");
22 is(elt.style.backgroundColor, "", "setting braced style attribute (color)");