blob: cc59a586e4fdc9e4714ebbdc320904bf731ceab9 [file] [log] [blame]
<?xml-stylesheet href="css3-modsel-d2.css" type="text/css"?>
<test>
<div xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript">
<![CDATA[
function test() {
el = document.getElementById('test');
el.parentNode.parentNode.insertBefore(document.createElementNS('http://www.w3.org/1999/xhtml', 'div'), el.parentNode);
}
window.setTimeout("test()", 100);
]]>
</script>
<p> The following bar should be green. </p>
<div id="stub"></div>
<div></div>
<div><div><!-- <div/> --><div><div id="test"></div></div></div></div>
</div>
</test>