4 <style> * { color: red }
</style>
8 <span class=
"test">This text should be green
</span>
10 document
.getElementById("t").
11 appendChild(document
.createTextNode("* { color: green }"));
12 document
.getElementById("t").
13 appendChild(document
.createTextNode("* { color: red }"));
15 document
.body
.offsetWidth
;
16 document
.getElementById("t").
17 removeChild(document
.getElementById("t").lastChild
);