2 <script src=
"../../resources/js-test.js"></script>
5 script { display: block; }
9 description("Test that script can access its own renderer when executing");
11 document
.documentElement
.offsetTop
;
12 script
= document
.createElement('script');
13 script
.textContent
= 'shouldBeTrue("script.offsetWidth > 0")';
14 document
.documentElement
.appendChild(script
);
15 shouldBeTrue('script.offsetWidth > 0');