2 <script src=
"../../resources/js-test.js"></script>
7 #a, #b, #container { position:absolute; }
14 <div id=b
class=
"test">Text
</div>
22 var link
= document
.createElement("link");
23 link
.setAttribute("href", "resources/ahem.css");
24 link
.setAttribute("rel", "stylesheet");
25 link
.setAttribute("type", "text/css");
26 document
.head
.appendChild(link
);
29 var a
= document
.getElementById('a');
30 var b
= document
.getElementById('b');
31 shouldBeFalse('window.getComputedStyle(a).width == window.getComputedStyle(b).width');