<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/head-check.js"></script>
</head>
<body>
<p id="description">
This test checks whether one (and only one) HEAD element is created for various HTML documents.
See <a href="https://bugs.webkit.org/show_bug.cgi?id=7321">Bug 7321</a>
REGRESSION: style tag in body causes two head elements to appear in the DOM.
</p>
<div id="console"></div>
<iframe id="iframe" src="data:text/html," onload="testAndLoadNext()"></iframe>
</body>
</html>
