5 testRunner
.dumpAsText();
8 var passed
= document
.getElementsByTagName('li')[2].offsetWidth
> document
.getElementsByTagName('li')[0].offsetWidth
;
9 document
.getElementsByTagName('div')[0].innerText
= passed
? "PASS" : "FAIL";
12 <style type=
"text/css">
13 ul
, li
{display: inline
;}
16 li:last-child:after
{content: "4";}
19 <body onload=
"test()">
20 You should see
1234 below (
4 won't be visible in the DRT text dump, but it should still say PASS below)
<br>