Bug 1535077 - Switch to using Ref and PureComponent in the SearchBox component. r...
[gecko.git] / layout / reftests / bugs / 367612-1f.html
blobc8b88c87f1cb63e7d58f0daf13936702c094c294
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>