Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style> * { color: red } </style>
5 <style id="t"></style>
6 </head>
7 <body>
8 <span class="test">This text should be green</span>
9 <script>
10 document.getElementById("t").
11 appendChild(document.createTextNode("* { color: green }"));
12 document.getElementById("t").
13 appendChild(document.createTextNode("* { color: red }"));
14 // Flush reflow
15 document.body.offsetWidth;
16 document.getElementById("t").
17 removeChild(document.getElementById("t").lastChild);
18 </script>
19 </body>
20 </html>