зеркало из https://github.com/mozilla/pjs.git
15 строки
482 B
HTML
15 строки
482 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>parserspace.html</title></head>
|
|
|
|
<body>
|
|
The head and body tags appear side by side in this test: <br></HEAD><BODY><br> so you <b>should not</b> see an [object Text] between the ending head and beginning body tags.
|
|
<br><br>
|
|
<script type="text/javascript">
|
|
|
|
for(i=0; i<3; i++){
|
|
var oWhat=document.documentElement.childNodes[i];
|
|
document.write(oWhat +"<BR>");
|
|
}
|
|
|
|
</script>
|
|
</body></html>
|