20 if (ul
.className
!== 'closed') {
21 ul
.className
= 'closed';
25 document
.body
.offsetLeft
;
29 var button
= document
.getElementById("toggle");
30 var ul
= document
.querySelectorAll('ul')[0];
42 <body onload=
"runTest()">
43 <!-- [bug 93170] http://bugs.webkit.org/show_bug.cgi?id=91370 -->
44 <!-- Dynamically apply / not apply :after to inline elements. -->
45 <!-- If test passes, only 1 'before' and 1 'after' are shown. -->
46 <ul><li>1</li><li>2</li><li>3</li></ul>