<html> | |
<body onload="runTest();"> | |
You should see a PASS with a solid outline around it. | |
<script> | |
function runTest() | |
{ | |
table = document.createElement('table'); | |
document.body.appendChild(table); | |
span1 = document.createElement('span'); | |
span1.style.outlineStyle = 'solid'; | |
span1.appendChild(document.createTextNode('PASS')); | |
span2 = document.createElement('span'); | |
span1.appendChild(span2); | |
table.appendChild(span1); | |
span4 = document.createElement('span'); | |
span4.style.display = 'list-item'; | |
span2.appendChild(span4); | |
document.body.offsetTop; | |
span1.removeChild(span2); | |
span3 = document.createElement('span'); | |
span3.insertBefore(span2, null); | |
} | |
</script> | |
</body> | |
</html> | |
</html> |