<!doctype html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (document.getElementsByTagName("script")[0].parentNode.tagName.toUpperCase() == "HEAD")
document.write("PASS")
else
document.write("FAIL")
</script>
<!doctype html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (document.getElementsByTagName("script")[0].parentNode.tagName.toUpperCase() == "HEAD")
document.write("PASS")
else
document.write("FAIL")
</script>